summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/npc/commands/_import.txt1
-rw-r--r--world/map/npc/commands/hug.txt (renamed from world/map/npc/functions/hug.txt)3
-rw-r--r--world/map/npc/commands/pullrabbit.txt1
-rw-r--r--world/map/npc/scripts.conf1
4 files changed, 4 insertions, 2 deletions
diff --git a/world/map/npc/commands/_import.txt b/world/map/npc/commands/_import.txt
index 3cabe0b7..b2fe92a1 100644
--- a/world/map/npc/commands/_import.txt
+++ b/world/map/npc/commands/_import.txt
@@ -8,3 +8,4 @@ npc: npc/commands/pullrabbit.txt
npc: npc/commands/numa.txt
npc: npc/commands/destroynpc.txt
npc: npc/commands/remotecmd.txt
+npc: npc/commands/hug.txt
diff --git a/world/map/npc/functions/hug.txt b/world/map/npc/commands/hug.txt
index f1bd2637..323e0563 100644
--- a/world/map/npc/functions/hug.txt
+++ b/world/map/npc/commands/hug.txt
@@ -18,6 +18,7 @@
OnInit:
set .tree_id, getnpcid("#DruidTree0#_M");
- registercmd "*hugs", strnpcinfo(0);
+ registercmd "*hugs", strnpcinfo(0); // eq: /me hugs (target)
+ registercmd "*hugs*", strnpcinfo(0); // eq: /me hugs
end;
}
diff --git a/world/map/npc/commands/pullrabbit.txt b/world/map/npc/commands/pullrabbit.txt
index 022f3753..9c3634a4 100644
--- a/world/map/npc/commands/pullrabbit.txt
+++ b/world/map/npc/commands/pullrabbit.txt
@@ -21,5 +21,6 @@ L_Inventory:
OnInit:
registercmd chr(ATCMD_SYMBOL) + "pullrabbit", strnpcinfo(0);
+ registercmd chr(MAGIC_SYMBOL) + "pullrabbit", strnpcinfo(0); // former pullrabbit invocation
end;
}
diff --git a/world/map/npc/scripts.conf b/world/map/npc/scripts.conf
index 0935f246..25fba83b 100644
--- a/world/map/npc/scripts.conf
+++ b/world/map/npc/scripts.conf
@@ -29,7 +29,6 @@ npc: npc/functions/dynamic_menu.txt
npc: npc/functions/DyeConfig.txt
npc: npc/functions/motd.txt
npc: npc/functions/motdconfig.txt
-npc: npc/functions/hug.txt
// Item Functions
npc: npc/items/purification_potion.txt