summaryrefslogtreecommitdiff
path: root/world/map/npc/commands/pullrabbit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/commands/pullrabbit.txt')
-rw-r--r--world/map/npc/commands/pullrabbit.txt26
1 files changed, 0 insertions, 26 deletions
diff --git a/world/map/npc/commands/pullrabbit.txt b/world/map/npc/commands/pullrabbit.txt
deleted file mode 100644
index 9c3634a4..00000000
--- a/world/map/npc/commands/pullrabbit.txt
+++ /dev/null
@@ -1,26 +0,0 @@
--|script|@pullrabbit|32767
-{
- if (GM < EVT_KILLTHEGM && GM < G_SYSOP) end;
- if (getequipid(equip_head) != 888) end;
- getinventorylist;
- if ((checkweight("MurdererCrown", 1) == 0) || (@inventorylist_count == 100))
- goto L_Inventory;
- // Get the current reward of the event. This may be changed later
- getitem "MurdererCrown", 1;
- // Set HP and SP to max
- heal MaxHp, MaxSp;
- // Display an effect
- misceffect FX_CHANNELLING_CAST, strcharinfo(0);
- // Log the usage of this spell
- gmlog strcharinfo(0)+" used the Magic GM Top Hat.";
- end;
-
-L_Inventory:
- message strcharinfo(0), "You cannot create this item. You're too heavy or you don't have a free slot.";
- end;
-
-OnInit:
- registercmd chr(ATCMD_SYMBOL) + "pullrabbit", strnpcinfo(0);
- registercmd chr(MAGIC_SYMBOL) + "pullrabbit", strnpcinfo(0); // former pullrabbit invocation
- end;
-}