HiddenTradition_PRC8/_module/nss/gz_woodc_treedth.nss
2024-06-20 15:47:42 -04:00

12 lines
332 B
Plaintext

void RegrowTree(location lLoc)
{
CreateObject(OBJECT_TYPE_PLACEABLE,"gz_obj_tree_mark",lLoc,TRUE);
}
void main()
{
location lLoc = GetLocation(OBJECT_SELF);
AssignCommand(GetNearestObjectByTag(GetTag(OBJECT_SELF)),DelayCommand(150.0f,RegrowTree(lLoc)));
SetLocalInt(GetLastKiller(),"T1_NPC_KILLEDLASTREE",TRUE);
}