Merged in the QuickLoot patch
This commit is contained in:
parent
8d3814f752
commit
7a116414bb
Binary file not shown.
@ -19,6 +19,7 @@ Beware, spoilers ahead!
|
|||||||
- Restored Tharael's forehead tattoo lost during the initial facegen conversion.
|
- Restored Tharael's forehead tattoo lost during the initial facegen conversion.
|
||||||
- Fixed Battle of Treomar opponents permanently disappearing after a game if no dice were cast.
|
- Fixed Battle of Treomar opponents permanently disappearing after a game if no dice were cast.
|
||||||
- Entropic Blood: fixed inability to select a strong enemy as an attack target, fixed not working in god mode.
|
- Entropic Blood: fixed inability to select a strong enemy as an attack target, fixed not working in god mode.
|
||||||
|
- With installed QuickLoot RE/EE/IE, contents of hidden slots and additional gold appear in the container and the loot menu after a short delay with a sound notification (merged in the QuickLoot patch).
|
||||||
- Added arrow crafting recipes.
|
- Added arrow crafting recipes.
|
||||||
|
|
||||||
- Revised alchemy. Consistency and distribution changes across the board due to lack of a coherent alchemy system prior to this patch, such as:
|
- Revised alchemy. Consistency and distribution changes across the board due to lack of a coherent alchemy system prior to this patch, such as:
|
||||||
|
|||||||
BIN
scripts/_00e_quicklootpatch.pex
Normal file
BIN
scripts/_00e_quicklootpatch.pex
Normal file
Binary file not shown.
@ -4806,3 +4806,4 @@ scripts\ccbgs_arpressureplatescript.pex
|
|||||||
scripts\ccbgs_arspiketrapscript.pex
|
scripts\ccbgs_arspiketrapscript.pex
|
||||||
scripts\ccbgs_arswitchscript.pex
|
scripts\ccbgs_arswitchscript.pex
|
||||||
scripts\_00e_blockrefactivationforothers.pex
|
scripts\_00e_blockrefactivationforothers.pex
|
||||||
|
scripts\_00e_quicklootpatch.pex
|
||||||
|
|||||||
57
source/scripts/_00e_quicklootpatch.psc
Normal file
57
source/scripts/_00e_quicklootpatch.psc
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
ScriptName _00E_QuickLootPatch Extends ReferenceAlias
|
||||||
|
|
||||||
|
; 2.1.4 Eddoursul: QuickLoot RE, EE, and IE compatibility
|
||||||
|
|
||||||
|
Event OnInit()
|
||||||
|
If SKSE.GetVersion() <= 0
|
||||||
|
return
|
||||||
|
EndIf
|
||||||
|
If Game.GetLightModByName("Enderal QuickLoot Patch.esp") < 65535
|
||||||
|
UnregisterForMenu("LootMenu")
|
||||||
|
return
|
||||||
|
EndIf
|
||||||
|
RegisterForMenu("LootMenu")
|
||||||
|
EndEvent
|
||||||
|
|
||||||
|
Event OnPlayerLoadGame()
|
||||||
|
OnInit()
|
||||||
|
EndEvent
|
||||||
|
|
||||||
|
Function OnMenuOpen(String MenuName)
|
||||||
|
|
||||||
|
ObjectReference lootMenuRef = Game.GetCurrentCrosshairRef()
|
||||||
|
|
||||||
|
If ! lootMenuRef
|
||||||
|
Return
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Container baseContainer = lootMenuRef.GetBaseObject() as Container
|
||||||
|
|
||||||
|
If ! baseContainer || lootMenuRef.GetActorOwner() == Player
|
||||||
|
Return
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Bool bHasSlot = _00E_ChestsWithHiddenSlots.ToArray().Find(baseContainer) >= 0
|
||||||
|
|
||||||
|
If bHasSlot || lootMenuRef.GetItemCount(Gold001) >= 5
|
||||||
|
If lootMenuRef == Game.GetCurrentCrosshairRef() && ! lootMenuRef.GetItemCount(_00E_HiddenSlotChecked) && UI.IsMenuOpen("LootMenu")
|
||||||
|
lootMenuRef.AddItem(_00E_HiddenSlotChecked, 1, True)
|
||||||
|
|
||||||
|
If bHasSlot
|
||||||
|
ContainerBonusControl.OpenHiddenSlot(lootMenuRef, True)
|
||||||
|
Else
|
||||||
|
ContainerBonusControl.IncrementGold(lootMenuRef)
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndFunction
|
||||||
|
|
||||||
|
ActorBase Property Player Auto
|
||||||
|
|
||||||
|
FormList Property _00E_ChestsWithHiddenSlots Auto
|
||||||
|
|
||||||
|
MiscObject Property _00E_HiddenSlotChecked Auto
|
||||||
|
MiscObject Property Gold001 Auto
|
||||||
|
|
||||||
|
_00E_ContainerBonusControl Property ContainerBonusControl Auto
|
||||||
Loading…
x
Reference in New Issue
Block a user