summaryrefslogtreecommitdiff
path: root/npc/012-2-5
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-2-5')
-rw-r--r--npc/012-2-5/_import.txt5
-rw-r--r--npc/012-2-5/_warps.txt3
-rw-r--r--npc/012-2-5/rosen.txt20
-rw-r--r--npc/012-2-5/toichi.txt73
4 files changed, 0 insertions, 101 deletions
diff --git a/npc/012-2-5/_import.txt b/npc/012-2-5/_import.txt
deleted file mode 100644
index 1a36bb4d..00000000
--- a/npc/012-2-5/_import.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-// Map 012-2-5: Candor Smith
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-"npc/012-2-5/_warps.txt",
-"npc/012-2-5/rosen.txt",
-"npc/012-2-5/toichi.txt",
diff --git a/npc/012-2-5/_warps.txt b/npc/012-2-5/_warps.txt
deleted file mode 100644
index d5a52d94..00000000
--- a/npc/012-2-5/_warps.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-// This file is generated automatically. All manually added changes will be removed when running the Converter.
-// Map 012-2-5: Candor Smith warps
-012-2-5,29,44,0 warp #012-2-5_29_44 0,0,012-1,65,106
diff --git a/npc/012-2-5/rosen.txt b/npc/012-2-5/rosen.txt
deleted file mode 100644
index 201d4053..00000000
--- a/npc/012-2-5/rosen.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-// Evol scripts.
-// Author:
-// Micksha
-// Description:
-// Rosen, the salesman in Candor smith.
-// THIS IS A PLACEHOLDER!
-
-012-2-5,31,34,0 script Rosen NPC_ROSEN,{
- speech
- l("Welcome."),
- l("I am Rosen, I am selling the best weapons and armor you can get on this island."),
- l("If only Toichi would work harder, I could even offer you something. But meh. Like things are, you must try to return at a later point."),
- l("Toichi, go to work! Stop drinking beer!");
-
- close;
-
-OnInit:
- .distance = 4;
- end;
-}
diff --git a/npc/012-2-5/toichi.txt b/npc/012-2-5/toichi.txt
deleted file mode 100644
index 6c35172e..00000000
--- a/npc/012-2-5/toichi.txt
+++ /dev/null
@@ -1,73 +0,0 @@
-// Evol scripts.
-// Author:
-// Micksha
-// Description:
-// Toichi, the smith in Candor island.
-// THIS IS A PLACEHOLDER!
-
-012-2-5,40,35,0 script Toichi NPC_TOICHI,{
- function askCrafting;
- speech
- l("Hi there."),
- l("My name is Toichi, and it seems I am the only one working on this lazy island.");
- next;
- mesq l("So I kindly request you not to listen to that stupid Rosen, saying 'Toichi is lazy'.");
- next;
- mesq l("At least I am doing something!");
- // TODO: Add here a check for crafting skills
- askCrafting();
- close;
-
-function askCrafting {
- next;
- select
- l("Okay..."),
- l("Hey, do you mind if I use your equipment?"),
- rif(is_dev(), "[Debug]");
- mes "";
- if (@menu == 1)
- return;
-
- // Debug
- if (debug && @menu == 3)
- RECIPES[CraftInfantryHelmet]=!RECIPES[CraftInfantryHelmet];
- if (debug || @menu == 3)
- mesf("[DEBUG] Knows the infantry helmet recipe? %s",
- (RECIPES[CraftInfantryHelmet] ? "YES" : "NO"));
-
- mesn;
- mesq l("Sure, go ahead. But I'll charge you %d E per craft as commission!", .price);
- next;
- do {
- mesc l("What will you craft today?");
- mesc l("It costs %d E to use.", .price), 1;
- if (Zeny < .price)
- close;
-
- if (SmithSystem()) {
- // This should NEVER, EVER happen.
- if (Zeny < .price) {
- mesc l("WARNING, you have been detected cheating and thus, violating Gasaron Anti-Theft Policy."), 1;
- mesc l("You were jailed and now need a GM to get you out of there."), 1;
- // At this point I just c/p the code
- logmes "WARNING, "+strcharinfo(0)+" found out cheating, only had "+Zeny+" Esperins for craft table. Jailed.", LOGMES_ATCOMMAND;
- atcommand("@jail "+strcharinfo(0));
- Zeny=0;
- close;
- }
- Zeny-=.price;
- mesc l("Success!"), 3;
- } else {
- mesc l("That didn't work!"), 1;
- }
- next;
- mesc l("Try again?");
- } while (askyesno() == ASK_YES);
- return;
-}
-
-OnInit:
- .distance = 4;
- .price = 6000;
- end;
-}