Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

19
_module/nss/sucked2.nss Normal file
View File

@@ -0,0 +1,19 @@
void main()
{
object oPC = GetEnteringObject();
int hd = GetHitDice(oPC);
location loc = GetLocation(oPC);
location sucked = GetLocation(GetWaypointByTag("sucked2"));
if (GetIsPC(oPC) && !GetIsDM(oPC) && hd >= 14){
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_IMPLOSION), loc, 3.0);
DelayCommand(1.0, AssignCommand(oPC, JumpToLocation(sucked)));
DelayCommand(2.0, AssignCommand(oPC, TakeGoldFromCreature(30000, oPC, TRUE)));
DelayCommand(3.0, SendMessageToPC(oPC, "A strange portal has opened, and you have been sucked into it!"));
DelayCommand(4.0, SendMessageToPC(oPC, "Some of your gold has been turned to lead!"));
}
}