summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/debug-look.txt2
-rw-r--r--npc/commands/debug-preset.txt3
-rw-r--r--npc/commands/debug-skill.txt2
-rw-r--r--npc/commands/debug.txt2
-rw-r--r--npc/commands/magic.txt32
5 files changed, 37 insertions, 4 deletions
diff --git a/npc/commands/debug-look.txt b/npc/commands/debug-look.txt
index af6a099cc..d2abec492 100644
--- a/npc/commands/debug-look.txt
+++ b/npc/commands/debug-look.txt
@@ -98,5 +98,5 @@ OnCall:
end;
OnInit:
- bindatcmd "look", "@look::OnCall", 0, 99, 0;
+ bindatcmd "look", "@look::OnCall", 99, 99, 0;
}
diff --git a/npc/commands/debug-preset.txt b/npc/commands/debug-preset.txt
index 40f612614..92d9314b8 100644
--- a/npc/commands/debug-preset.txt
+++ b/npc/commands/debug-preset.txt
@@ -13,6 +13,7 @@
//
// ^ actual documentation may come one day, when I feel like it
// *hides*
+// Note from Jesusalva: I do not trust this script works well for TMW2.
function script DoRoutine {
@@ -242,5 +243,5 @@ OnCall:
end;
OnInit:
- bindatcmd "pre", "@pre::OnCall", 0, 99, 0;
+ bindatcmd "pre", "@pre::OnCall", 99, 99, 1;
}
diff --git a/npc/commands/debug-skill.txt b/npc/commands/debug-skill.txt
index 2ad9859f7..acfbbf709 100644
--- a/npc/commands/debug-skill.txt
+++ b/npc/commands/debug-skill.txt
@@ -77,5 +77,5 @@ OnCall:
end;
OnInit:
- bindatcmd "sdebug", "@sdebug::OnCall", 0, 99, 1;
+ bindatcmd "sdebug", "@sdebug::OnCall", 99, 99, 1;
}
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt
index f65be4854..4d04cb99a 100644
--- a/npc/commands/debug.txt
+++ b/npc/commands/debug.txt
@@ -138,6 +138,6 @@ OnCall:
end;
OnInit:
- bindatcmd "debug", "@debug::OnCall", 0, 99, 1;
+ bindatcmd "debug", "@debug::OnCall", 99, 99, 1;
// TODO / FIXME: add a @test command that opens the help window for test-server
}
diff --git a/npc/commands/magic.txt b/npc/commands/magic.txt
new file mode 100644
index 000000000..d63bf70a7
--- /dev/null
+++ b/npc/commands/magic.txt
@@ -0,0 +1,32 @@
+function script MagicIsDead {
+
+ setnpcdialogtitle l("We regret to inform...");
+ mes l("Magic is dead!");
+ next;
+ mes "";
+ mes l("You are staff, so no complaining! Go do it yourself!");
+ next;
+ return;
+}
+
+
+
+- script @MagicIsDead 32767,{
+ end;
+
+OnCall:
+ MagicIsDead;
+ closedialog;
+ end;
+
+OnInit:
+ bindatcmd "itenplz", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "lum", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "chiza", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "ingrav", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "frillyar", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "upmarmu", "@MagicIsDead::OnCall", 100, 1, 0;
+ bindatcmd "flar", "@MagicIsDead::OnCall", 100, 1, 0;
+
+
+}