Enderal SE https://mod.pub/enderal-se/38-enderal-se
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
441 B
14 lines
441 B
Scriptname _00E_PlayerhousingKoppophonMessage extends ObjectReference
|
|
|
|
Book Property noteToGive auto
|
|
Message Property messageToShow auto
|
|
GlobalVariable Property giveOnce auto
|
|
|
|
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
|
|
if akNewContainer == Game.getPlayer() && giveOnce.getValue() == 0
|
|
messageToShow.show()
|
|
Game.getPlayer().additem(noteToGive, 1)
|
|
giveOnce.setValue(1)
|
|
Endif
|
|
Endevent
|
|
|
|
|