summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-02-07 12:35:58 -0800
committerStefan Beller <stefanbeller@googlemail.com>2011-02-11 19:28:24 +0100
commit8f4a7ba9bc68a62aa30e86044f63046660b8b992 (patch)
treecb17e7fd7b76710706617dc2ed9b7e935559cefd /npc
parent5957a40b55d18bfaedc3470744a2ba1def565806 (diff)
downloadserverdata-8f4a7ba9bc68a62aa30e86044f63046660b8b992.tar.gz
serverdata-8f4a7ba9bc68a62aa30e86044f63046660b8b992.tar.bz2
serverdata-8f4a7ba9bc68a62aa30e86044f63046660b8b992.tar.xz
serverdata-8f4a7ba9bc68a62aa30e86044f63046660b8b992.zip
quick transparent torch fix
Diffstat (limited to 'npc')
-rw-r--r--npc/009-4/torches.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/009-4/torches.txt b/npc/009-4/torches.txt
index 1b17dac6..bff94f0d 100644
--- a/npc/009-4/torches.txt
+++ b/npc/009-4/torches.txt
@@ -219,6 +219,7 @@ L_Use_Red:
if (@TorchColor > 6 && @TorchColor < 12) set @Color, @TorchColor + 1;
if (@TorchColor < 6 && @TorchColor > 1) set @Color, @TorchColor - 1;
if (@TorchColor == 12) set @Color, 1;
+ if (@TorchColor == 0) set @Color, 1;
callfunc("SetTorchColor");
delitem "RedPowder", 1;
goto L_Show_Color;
@@ -227,6 +228,7 @@ L_Use_Yellow:
if (countitem("YellowPowder") < 1) goto L_No_Powder;
if (@TorchColor < 10 && @TorchColor > 5) set @Color, @TorchColor - 1;
if (@TorchColor >= 1 && @TorchColor < 5) set @Color, @TorchColor + 1;
+ if (@TorchColor == 0) set @Color, 5;
callfunc("SetTorchColor");
delitem "YellowPowder", 1;
goto L_Show_Color;
@@ -236,6 +238,7 @@ L_Use_Blue:
if (@TorchColor > 4 && @TorchColor < 9) set @Color, @TorchColor + 1;
if (@TorchColor <= 12 && @TorchColor > 9) set @Color, @TorchColor - 1;
if (@TorchColor == 1) set @Color, 12;
+ if (@TorchColor == 0) set @Color, 9;
callfunc("SetTorchColor");
delitem "BluePowder", 1;
goto L_Show_Color;