diff options
author | AJ K <aj@keresztes.us> | 2024-08-28 14:37:48 -0400 |
---|---|---|
committer | AJ K <aj@keresztes.us> | 2024-08-28 14:37:48 -0400 |
commit | e39be783e852f390d61776c51c006d444a131f0b (patch) | |
tree | 8183fcb880c427c10f0ff341e8981a4e1afa7e6f /world/map/npc/items/warpTowels.txt | |
parent | cca41e5ba8fcd2e971303fd54be8786c86d82c7e (diff) | |
parent | 59aa2316201d785beee4abe7a4cfe6b87f53beb1 (diff) | |
download | serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.gz serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.bz2 serverdata-e39be783e852f390d61776c51c006d444a131f0b.tar.xz serverdata-e39be783e852f390d61776c51c006d444a131f0b.zip |
Diffstat (limited to 'world/map/npc/items/warpTowels.txt')
-rw-r--r-- | world/map/npc/items/warpTowels.txt | 15 |
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: |