Aschbourne_PRC8/_module/use_catapult.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

22 lines
510 B
Plaintext

/**
use_catapult
OnUsed: Fire a catapult burst
J.D. Robertson, 2002
*/
#include "i_battle"
void main()
{
if (!GetLocalInt(OBJECT_SELF, "Loading"))
{
FireCatapult();
// Delay the next firing. Rapid fire catapults are a lot of fun (an
// insane amount of fun actually, take these lines out and try it)
// but not too realistic
SetLocalInt(OBJECT_SELF, "Loading", TRUE);
DelayCommand(5.0, SetLocalInt(OBJECT_SELF, "Loading", FALSE));
}
}