Prevent grave digging in werewolf form
This commit is contained in:
parent
ead0fa21b8
commit
f8ec1c0874
Binary file not shown.
@ -6,14 +6,26 @@ Import Utility
|
|||||||
; EVENTS
|
; EVENTS
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
|
|
||||||
Auto State Waiting
|
Event OnInit()
|
||||||
|
|
||||||
Event OnLoad()
|
|
||||||
Self.BlockActivation()
|
Self.BlockActivation()
|
||||||
endEvent
|
endEvent
|
||||||
|
|
||||||
|
Auto State Waiting
|
||||||
|
|
||||||
Event OnActivate (ObjectReference akActionRef)
|
Event OnActivate (ObjectReference akActionRef)
|
||||||
|
|
||||||
|
if akActionRef != PlayerREF
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
if PlayerREF.GetRace() == Game.GetFormFromFile(0x2EE47, "Enderal - Forgotten Stories.esm") as Race
|
||||||
|
Message werewolfMessage = Game.GetFormFromFile(0x2F032, "Enderal - Forgotten Stories.esm") as Message
|
||||||
|
if werewolfMessage
|
||||||
|
werewolfMessage.Show()
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
If akActionRef.GetItemCount(ShovelKeyword) > 0
|
If akActionRef.GetItemCount(ShovelKeyword) > 0
|
||||||
TreasureDigger = akActionRef as Actor
|
TreasureDigger = akActionRef as Actor
|
||||||
if TreasureDigger.IsInCombat()
|
if TreasureDigger.IsInCombat()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user