Initial upload
Initial upload
This commit is contained in:
13
_module/nss/give_under_token.nss
Normal file
13
_module/nss/give_under_token.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
object oToken = GetItemPossessedBy(oPC, "underworld");
|
||||
if(GetIsDM(oPC)||GetIsDMPossessed(oPC) || !GetIsPC(oPC))
|
||||
{ return; }
|
||||
|
||||
if(oToken == OBJECT_INVALID)
|
||||
{
|
||||
CreateItemOnObject("underworld", oPC, 1);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user