Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
16
_module/nss/px_mushrooms.nss
Normal file
16
_module/nss/px_mushrooms.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if(GetLocalInt(OBJECT_SELF,"Harvest") == 0)
|
||||
{
|
||||
CreateItemOnObject("px_mushroom",oPC,1);
|
||||
FloatingTextStringOnCreature("You harvest some of the mushroom spores...",oPC);
|
||||
SetLocalInt(OBJECT_SELF,"Harvest",1);
|
||||
DelayCommand(900.0,SetLocalInt(OBJECT_SELF,"Harvest",0));
|
||||
}
|
||||
else
|
||||
{
|
||||
FloatingTextStringOnCreature("The mushroom has recently been harvested. You can gather no more mushrooms.",oPC);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user