17 lines
360 B
Plaintext
17 lines
360 B
Plaintext
|
ScriptName _00E_DefaultAddMiscItemOnActivate Extends ObjectReference
|
||
|
|
||
|
MiscObject Property item Auto
|
||
|
{the misc item to place}
|
||
|
|
||
|
int Property count Auto
|
||
|
{how many of the above item the char should have}
|
||
|
|
||
|
ObjectReference Property character Auto
|
||
|
|
||
|
event OnActivate( ObjectReference ref )
|
||
|
|
||
|
If ( ref == character )
|
||
|
ref.addItem( item, count, False )
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|