summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-20 15:21:48 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-20 15:21:48 -0300
commit3b0d5cbd7223979392a7722e5e9ef5409852c25e (patch)
tree70947576d1626028a815d35eebd53b23d1f50d2c /npc
parenta209e45ac77d47e9fd0ecce7d5b7ddfa39d80bf0 (diff)
downloadserverdata-3b0d5cbd7223979392a7722e5e9ef5409852c25e.tar.gz
serverdata-3b0d5cbd7223979392a7722e5e9ef5409852c25e.tar.bz2
serverdata-3b0d5cbd7223979392a7722e5e9ef5409852c25e.tar.xz
serverdata-3b0d5cbd7223979392a7722e5e9ef5409852c25e.zip
Fix typos, and also add landmarks for seasoning system
Diffstat (limited to 'npc')
-rw-r--r--npc/001-3-1/alchemy.txt14
-rw-r--r--npc/craft/cooking.txt11
2 files changed, 18 insertions, 7 deletions
diff --git a/npc/001-3-1/alchemy.txt b/npc/001-3-1/alchemy.txt
index a4c5c84a9..979fd519e 100644
--- a/npc/001-3-1/alchemy.txt
+++ b/npc/001-3-1/alchemy.txt
@@ -39,11 +39,11 @@ OnInit:
end;
}
-001-3-1,22,89,0 duplicate(GM Cooking Stove) GM Alchemy Table#1 NPC_NO_SPRITE
-001-3-1,28,89,0 duplicate(GM Cooking Stove) GM Alchemy Table#2 NPC_NO_SPRITE
-001-3-1,37,89,0 duplicate(GM Cooking Stove) GM Alchemy Table#3 NPC_NO_SPRITE
-001-3-1,22,102,0 duplicate(GM Cooking Stove) GM Alchemy Table#4 NPC_NO_SPRITE
-001-3-1,28,102,0 duplicate(GM Cooking Stove) GM Alchemy Table#5 NPC_NO_SPRITE
-001-3-1,32,102,0 duplicate(GM Cooking Stove) GM Alchemy Table#6 NPC_NO_SPRITE
-001-3-1,37,102,0 duplicate(GM Cooking Stove) GM Alchemy Table#7 NPC_NO_SPRITE
+001-3-1,22,89,0 duplicate(GM Alchemy Table) GM Alchemy Table#1 NPC_NO_SPRITE
+001-3-1,28,89,0 duplicate(GM Alchemy Table) GM Alchemy Table#2 NPC_NO_SPRITE
+001-3-1,37,89,0 duplicate(GM Alchemy Table) GM Alchemy Table#3 NPC_NO_SPRITE
+001-3-1,22,102,0 duplicate(GM Alchemy Table) GM Alchemy Table#4 NPC_NO_SPRITE
+001-3-1,28,102,0 duplicate(GM Alchemy Table) GM Alchemy Table#5 NPC_NO_SPRITE
+001-3-1,32,102,0 duplicate(GM Alchemy Table) GM Alchemy Table#6 NPC_NO_SPRITE
+001-3-1,37,102,0 duplicate(GM Alchemy Table) GM Alchemy Table#7 NPC_NO_SPRITE
diff --git a/npc/craft/cooking.txt b/npc/craft/cooking.txt
index 0ec3ee1f8..efc29acc5 100644
--- a/npc/craft/cooking.txt
+++ b/npc/craft/cooking.txt
@@ -39,7 +39,18 @@ function script CookingSystem {
usecraft(.@craft);
.@it=getcraftcode(.@entry);
.@tm=limit(3600, getiteminfo(.@it, ITEMINFO_SELLPRICE) * getskilllv(TMW2_COOKING), 86400);
+
+ if (countitem(.@it)) {
+ mesc l("Skipping seasoning: You have multiple %s.", getitemlink(.@it));
+ } else {
+ mesc l("Do you want to try to season it? If you succeed, it might become more powerful, but if you fail, it might become weaker.");
+ select
+ l("No");
+ }
+
+ // Create the item
rentitem(.@it, .@tm); // From 1 hour to 1 day
+ // TODO: Season if it is still the only copy
// getskilllv(TMW2_COOKING) → and in theory, we can apply options
.success=true;
} else {