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:
24
_module/nss/jw_catgetammo.nss
Normal file
24
_module/nss/jw_catgetammo.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
void main()
|
||||
{
|
||||
object oObject=OBJECT_SELF;
|
||||
object oPC=GetPCSpeaker();
|
||||
object oAmmo=GetItemPossessedBy(oPC,"jw_ammo_stone");
|
||||
|
||||
if (GetIsObjectValid(oAmmo))
|
||||
|
||||
{
|
||||
ActionTakeItem(oAmmo,oPC);
|
||||
SpeakString("Catapult loaded and ready to go");
|
||||
PlaySound("as_cv_woodframe1");
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
SpeakString("You don't have any ammo to place");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user