summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/soul_menhir.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/npc/functions/soul_menhir.txt b/npc/functions/soul_menhir.txt
index 01079a4b..866b7b38 100644
--- a/npc/functions/soul_menhir.txt
+++ b/npc/functions/soul_menhir.txt
@@ -2,10 +2,14 @@ function script SoulMenhir {
mes "[Soul Menhir]";
mes "(A mystical aura surrounds this stone. You feel mysteriously attracted to it. Something tells you to touch it. What do you do?)";
- menu
- "Touch it.", L_Bind,
- "Leave it alone.", L_Return,
- "I lost my towel...", L_Towel;
+ select
+ "Touch it.",
+ "Leave it alone.",
+ rif(!countitem(HitchhikersTowel), "I lost my towel...");
+ mes "";
+ if (@menu == 1) goto L_Bind;
+ if (@menu == 3) goto L_Towel;
+ return;
L_Towel:
if (TowelLastUsed > (gettimetick(2) - 1800))
@@ -13,7 +17,7 @@ L_Towel:
TowelLastUsed = gettimetick(2);
mes "[Soul Menhir]";
mes "(You touch the mysterious stone. Somehow it feels hard and soft at the same time.)";
- getitem "HitchhikersTowel", 1;
+ getitembound HitchhikersTowel, 1, 4;
goto L_Return;
L_Bind: