diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-17 05:31:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-17 05:31:03 -0300 |
commit | 12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c (patch) | |
tree | a48545c0ef77d59e8b0b909f873bf2f786614219 | |
parent | 25c44c3dfefb2e4391f57a9f13de5c01c55defcd (diff) | |
download | serverdata-12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c.tar.gz serverdata-12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c.tar.bz2 serverdata-12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c.tar.xz serverdata-12a0fea7f0aea9cebe4a88ef5e97b00ea28db18c.zip |
Debug option for Toichi, so Micksha can test it to his heart content
This is still a WIP
-rw-r--r-- | npc/012-2-5/toichi.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/012-2-5/toichi.txt b/npc/012-2-5/toichi.txt index 2323bf4a..3fe7695d 100644 --- a/npc/012-2-5/toichi.txt +++ b/npc/012-2-5/toichi.txt @@ -22,10 +22,14 @@ function askCrafting { next; select l("Okay..."), - l("Hey, do you mind if I use your equipment?"); + 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_EQUIPMENT[CraftInfantryHelmet]=!RECIPES_EQUIPMENT[CraftInfantryHelmet]; mesn; mesq l("Sure, go ahead. But I'll charge you %d E per craft as comission!", .price); next; |