1
Fork 0

Merged reworked lockpicking and pickpocketing bonuses

development
Eddoursul 4 months ago
parent 4805a55db5
commit df2832f5d7
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      SleightOfHand quest.esp
  4. BIN
      scripts/_00E_ScrollUnlockAlias.pex
  5. 30
      source/scripts/_00E_ScrollUnlockAlias.psc
  6. BIN
      strings/enderal - forgotten stories_english.strings

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -22,13 +22,13 @@ bool function UnlockScrollEquipped()
endfunction endfunction
Event OnUpdate() Event OnUpdate()
if UnlockScrollController.IsStopped() if UnlockScrollAliases.IsStopped()
if ! UnlockScrollController.Start() if ! UnlockScrollAliases.Start()
RegisterForSingleUpdate(0.1) RegisterForSingleUpdate(0.1)
endif endif
elseif UnlockScrollController.IsStopping() elseif UnlockScrollAliases.IsStopping()
RegisterForSingleUpdate(0.01) RegisterForSingleUpdate(0.01)
elseif UnlockScrollController.IsStarting() elseif UnlockScrollAliases.IsStarting()
RegisterForSingleUpdate(0.01) RegisterForSingleUpdate(0.01)
endif endif
EndEvent EndEvent
@ -42,24 +42,24 @@ state Equipped
event OnBeginState() event OnBeginState()
ObjectReference actorRef = GetReference() ObjectReference actorRef = GetReference()
RegisterForAnimationEvent(actorRef, "MRh_SpellFire_Event") RegisterForAnimationEvent(actorRef, "BeginCastRight")
RegisterForAnimationEvent(actorRef, "MLh_SpellFire_Event") RegisterForAnimationEvent(actorRef, "BeginCastLeft")
endevent endevent
event OnEndState() event OnEndState()
ObjectReference actorRef = GetReference() ObjectReference actorRef = GetReference()
UnregisterForAnimationEvent(actorRef, "MRh_SpellFire_Event") UnregisterForAnimationEvent(actorRef, "BeginCastRight")
UnregisterForAnimationEvent(actorRef, "MLh_SpellFire_Event") UnregisterForAnimationEvent(actorRef, "BeginCastLeft")
endevent endevent
Event OnUpdate() Event OnUpdate()
if UnlockScrollController.IsStopped() if UnlockScrollAliases.IsStopped()
if ! UnlockScrollController.Start() if ! UnlockScrollAliases.Start()
RegisterForSingleUpdate(0.1) RegisterForSingleUpdate(0.1)
endif endif
elseif UnlockScrollController.IsStopping() elseif UnlockScrollAliases.IsStopping()
RegisterForSingleUpdate(0.01) RegisterForSingleUpdate(0.01)
elseif UnlockScrollController.IsStarting() elseif UnlockScrollAliases.IsStarting()
RegisterForSingleUpdate(0.01) RegisterForSingleUpdate(0.01)
endif endif
EndEvent EndEvent
@ -81,17 +81,17 @@ state Equipped
Form baseObject = crosshairRef.GetBaseObject() Form baseObject = crosshairRef.GetBaseObject()
if baseObject as Container || baseObject as Door if baseObject as Container || baseObject as Door
ScrollTarget.ForceRefTo(crosshairRef) ScrollTarget.ForceRefTo(crosshairRef)
UnlockScrollController.Stop() UnlockScrollAliases.Stop()
return return
endif endif
endif endif
UnlockScrollController.Stop() UnlockScrollAliases.Stop()
RegisterForSingleUpdate(0.01) RegisterForSingleUpdate(0.01)
ScrollTarget.Clear() ScrollTarget.Clear()
endEvent endEvent
endstate endstate
Quest Property UnlockScrollController Auto Quest Property UnlockScrollAliases Auto
FormList Property _00E_UnlockScrolls Auto FormList Property _00E_UnlockScrolls Auto
ReferenceAlias Property ScrollTarget Auto ReferenceAlias Property ScrollTarget Auto

Loading…
Cancel
Save