1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
502 B

Scriptname _00E_SmokingPipeScript extends ObjectReference
_00E_PeaceweedControlScript Property PeaceweedControl Auto
Actor Property PlayerRef Auto
Event OnEquipped(Actor akActor)
If akActor == PlayerRef
; The check of base object is needed because this script somehow gets attached to the quest ref of _00E_FS_NQ07_Rezept (and to various containers)
Form baseObj = GetBaseObject()
If baseObj == None || (baseObj as MiscObject) != None
PeaceweedControl.StartSmoking()
EndIf
EndIf
EndEvent