summaryrefslogtreecommitdiff
path: root/npc/items/croconut.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-10-08 20:48:01 +0000
committerJesusaves <cpntb1@ymail.com>2021-10-08 20:48:01 +0000
commit99385b26263c27020d8ce526afaa1811e4eceaa1 (patch)
tree9f4ef401fbc568c973829a9a4de8ec2b5441a0c7 /npc/items/croconut.txt
parentd155ce1ed965b6e74cf5b509dd0eb615b4d13834 (diff)
downloadserverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.gz
serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.bz2
serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.tar.xz
serverdata-99385b26263c27020d8ce526afaa1811e4eceaa1.zip
NPC Improvements
Diffstat (limited to 'npc/items/croconut.txt')
-rw-r--r--npc/items/croconut.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/npc/items/croconut.txt b/npc/items/croconut.txt
index 39c420316..eececb0f7 100644
--- a/npc/items/croconut.txt
+++ b/npc/items/croconut.txt
@@ -4,13 +4,13 @@
// Reid
// Jesusalva
// Description:
-// Allows to cut a Croconut in multiple parts.
+// Allows to break a Croconut into multiple parts.
- script Croconut NPC_HIDDEN,{
close;
OnUse:
- mesc l("Do you want to cut this @@?", getitemlink(Croconut));
+ mesc l("Do you want to break open this %s?", getitemlink(Croconut));
select
l("Yes."),
@@ -40,12 +40,13 @@ L_Weapon:
}
L_TooWeak:
+ // Croconuts do not heal much. So opening them without fail should be possible at relatively low strength levels.
.@q = rand2(5);
- if (readparam2(bStr) > 30)
+ if (readparam2(bStr) > 10)
.@q = .@q + 1;
- if (readparam2(bStr) > 60)
+ if (readparam2(bStr) > 25)
.@q = .@q + 1;
- if (readparam2(bStr) > 90)
+ if (readparam2(bStr) > 35)
.@q = .@q + 1;
if (.@q == 0) goto L_TooWeakLost;
@@ -54,23 +55,23 @@ L_TooWeak:
if ( (.@q > 6) ) goto L_Good;
L_TooWeakLost:
- dispbottom l("Ops! You destroyed your @@.", getitemlink(Croconut));
+ dispbottom l("Oops! You destroyed your %s.", getitemlink(Croconut));
close;
L_TooWeakFail:
- dispbottom l("Well... you did not succeed in opening this @@.", getitemlink(Croconut));
+ dispbottom l("Well... you did not succeed in opening this %s.", getitemlink(Croconut));
getitem Croconut, 1;
close;
L_Weak:
- dispbottom l("You opened the @@ in two parts, but you crushed one of them.", getitemlink(Croconut));
+ dispbottom l("You broke the %s into two parts, but you crushed one of them.", getitemlink(Croconut));
getitem HalfCroconut, 1;
close;
L_Good:
- dispbottom l("You perfectly cut your @@ into two edible parts.", getitemlink(Croconut));
+ dispbottom l("You perfectly cut your %s into two edible parts.", getitemlink(Croconut));
getitem HalfCroconut, 2;
close;