Initial commit

Initial commit.
This commit is contained in:
Jaysyn904
2024-08-02 23:18:00 -04:00
parent 779bee26ec
commit adeff59f82
3413 changed files with 2837434 additions and 0 deletions

20
_module/nss/use_gong.nss Normal file
View File

@@ -0,0 +1,20 @@
void main()
{
int iBang = GetLocalInt(OBJECT_SELF,"hasbanged");
object oPC = GetLastUsedBy();
PlaySound("as_cv_bell2");
if (iBang != 1)
{
string sLevel = IntToString(GetHitDice(oPC));
string sResref = "wm_" + sLevel;
object oWP = GetNearestObjectByTag("wmwp");
location lWP = GetLocation(oWP);
FloatingTextStringOnCreature("BOOOOOONG!",oPC);
object oSpawn = CreateObject(OBJECT_TYPE_CREATURE,sResref,lWP);
AssignCommand(oSpawn,ActionAttack(oPC));
SetLocalInt(OBJECT_SELF,"hasbanged",1);
}
}