summaryrefslogtreecommitdiff
path: root/world/map/npc/items/warpTowels.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-06-01 11:20:10 +0200
committerLed Mitz <smoothshifter@tuta.io>2024-06-06 19:46:45 +0000
commit62a866fb025efa73994ce11fa0638125953f224d (patch)
tree605b0d0bbef768b7acdd3199a289487583af0a20 /world/map/npc/items/warpTowels.txt
parente7c3aa5af6e13bd6febfb024a32f0166a2e33cbd (diff)
downloadserverdata-62a866fb025efa73994ce11fa0638125953f224d.tar.gz
serverdata-62a866fb025efa73994ce11fa0638125953f224d.tar.bz2
serverdata-62a866fb025efa73994ce11fa0638125953f224d.tar.xz
serverdata-62a866fb025efa73994ce11fa0638125953f224d.zip
KeepAfterUse + DontUseAmmo
Diffstat (limited to 'world/map/npc/items/warpTowels.txt')
-rw-r--r--world/map/npc/items/warpTowels.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/world/map/npc/items/warpTowels.txt b/world/map/npc/items/warpTowels.txt
index 77a405b5..7ea7ec17 100644
--- a/world/map/npc/items/warpTowels.txt
+++ b/world/map/npc/items/warpTowels.txt
@@ -117,26 +117,25 @@ L_WarpPlayer:
goto L_BreakChance;
L_BreakChance:
- if (rand(15))
- goto L_Keep;
- getitem "HitchhikersTowel", 1;
+ if (@warpTowelName$ != "HitchhikersTowel" && rand(15) < 1)
+ goto L_Break;
goto L_End;
L_Forbid:
message strcharinfo(0), "Towel : This area is protected by a force that doesn't tolerate the power of the Towel.";
- goto L_Keep;
+ goto L_End;
L_Prison:
message strcharinfo(0), "Towel : You must be warped by a GM to leave the botcheck area.";
- goto L_Keep;
+ goto L_End;
L_DontPanic:
callfunc "HumanTime";
message strcharinfo(0), "Towel : Your towel is still too low on power to jump again. Try again in ##B"+ @time$ + "##b.";
- goto L_Keep;
+ goto L_End;
-L_Keep:
- getitem @warpTowelName$, 1;
+L_Break:
+ delitem @warpTowelName$, 1;
goto L_End;
L_End: