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:
19
_module/nss/gzi_pkeg_onunaq.nss
Normal file
19
_module/nss/gzi_pkeg_onunaq.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
// Dom Queron's powderkeg: Call in Module OnUnaquireItem. Will return TRUE
|
||||
// if a powderkeg was unaquired
|
||||
int CheckPKegUnaquire();
|
||||
|
||||
int CheckPKegUnaquire()
|
||||
{
|
||||
object oKeg = GetModuleItemLost();
|
||||
|
||||
if (GetTag(oKeg) == "gz_it_pkeg")
|
||||
{
|
||||
location lLoc = GetLocation(oKeg);
|
||||
DestroyObject(oKeg);
|
||||
CreateObject(OBJECT_TYPE_PLACEABLE,"gz_obj_pkeg",lLoc);
|
||||
return TRUE;
|
||||
} else
|
||||
return FALSE;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user