diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-01-20 18:49:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-01-20 18:49:35 -0300 |
commit | 0f698d4c834814b9747e25004ceaff02a8c5a834 (patch) | |
tree | b29356de0312dc1ad9fe6b83490b942ce4ce7337 /npc/craft/cooking.txt | |
parent | a3315ae304b9fc6d9ea73f3e9d1860989596ed52 (diff) | |
download | serverdata-0f698d4c834814b9747e25004ceaff02a8c5a834.tar.gz serverdata-0f698d4c834814b9747e25004ceaff02a8c5a834.tar.bz2 serverdata-0f698d4c834814b9747e25004ceaff02a8c5a834.tar.xz serverdata-0f698d4c834814b9747e25004ceaff02a8c5a834.zip |
You can now learn all recipes. But keep in mind: Flour is still unobtanium.
Diffstat (limited to 'npc/craft/cooking.txt')
-rw-r--r-- | npc/craft/cooking.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/craft/cooking.txt b/npc/craft/cooking.txt index efc29acc5..b95405387 100644 --- a/npc/craft/cooking.txt +++ b/npc/craft/cooking.txt @@ -22,6 +22,7 @@ function script CookingSystem { setskin "craft3"; .@var$ = requestcraft(6); // ????? + setskin ""; .@craft = initcraft(.@var$); .@entry = findcraftentry(.@craft, CRAFT_COOKING); // ?????? if (debug || $@GM_OVERRIDE) mes "found craft entry: " + .@entry; @@ -38,7 +39,8 @@ function script CookingSystem { } usecraft(.@craft); .@it=getcraftcode(.@entry); - .@tm=limit(3600, getiteminfo(.@it, ITEMINFO_SELLPRICE) * getskilllv(TMW2_COOKING), 86400); + .@bt=min(1500, getiteminfo(.@it, ITEMINFO_SELLPRICE)) * 10; // basetime + .@tm=limit(3600, .@bt * getskilllv(TMW2_COOKING), 86400); if (countitem(.@it)) { mesc l("Skipping seasoning: You have multiple %s.", getitemlink(.@it)); |