Merged reworked lockpicking and pickpocketing bonuses
This commit is contained in:
parent
4805a55db5
commit
df2832f5d7
Binary file not shown.
BIN
Skyrim.esm
BIN
Skyrim.esm
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
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user