diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-01-20 14:27:34 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-01-20 14:27:34 -0300 |
commit | 807994a38cc44cdc9bf2af3c3f15d54558e49313 (patch) | |
tree | 6e357c23300530d24970c6ceca82e8fe95a2f20d | |
parent | 19098efa1557bb8ca869be11d93df3d151e2ea06 (diff) | |
download | serverdata-807994a38cc44cdc9bf2af3c3f15d54558e49313.tar.gz serverdata-807994a38cc44cdc9bf2af3c3f15d54558e49313.tar.bz2 serverdata-807994a38cc44cdc9bf2af3c3f15d54558e49313.tar.xz serverdata-807994a38cc44cdc9bf2af3c3f15d54558e49313.zip |
Add cooking system to Saulc's Magical Castle, so it may be tested
-rw-r--r-- | npc/001-3-1/_import.txt | 1 | ||||
-rw-r--r-- | npc/001-3-1/cooking.txt | 27 | ||||
-rw-r--r-- | npc/011-4/chest.txt | 2 |
3 files changed, 29 insertions, 1 deletions
diff --git a/npc/001-3-1/_import.txt b/npc/001-3-1/_import.txt index 41049d07a..90a57d659 100644 --- a/npc/001-3-1/_import.txt +++ b/npc/001-3-1/_import.txt @@ -2,4 +2,5 @@ // This file is generated automatically. All manually added changes will be removed when running the Converter. "npc/001-3-1/_warps.txt", "npc/001-3-1/alchemy.txt", +"npc/001-3-1/cooking.txt", "npc/001-3-1/smith.txt", diff --git a/npc/001-3-1/cooking.txt b/npc/001-3-1/cooking.txt new file mode 100644 index 000000000..4c4ceab8d --- /dev/null +++ b/npc/001-3-1/cooking.txt @@ -0,0 +1,27 @@ +// TMW2 scripts. +// Author: +// Jesusalva +// Description: +// Debug functions for Craft Systems + + +001-3-1,52,110,0 script GM Cooking Stove NPC_NO_SPRITE,{ + if (!$@GM_OVERRIDE || $EVENT$ == "") goto L_Offline; + mesc l("Welcome to Saulc's Magic Cooking Stove!"); + mesc l("This table will prepare food for you, no skill required!"); + mesc l("What will you cook today?"); + if (CookingSystem(CRAFT_NPC)) + mesc l("Success!"), 3; + else + mesc l("That didn't work!"), 1; + close; + +L_Offline: + npctalk3 l("Oops! Seems like Saulc doesn't wants you messing on his ovens!"); + close; + +OnInit: + .distance=5; + end; +} + diff --git a/npc/011-4/chest.txt b/npc/011-4/chest.txt index 4db26ee45..2a89c5b98 100644 --- a/npc/011-4/chest.txt +++ b/npc/011-4/chest.txt @@ -19,7 +19,7 @@ switch (season()) { case SUMMER: .@item=any(CherryCocktail, CactusCocktail, AppleCocktail); .@prize=0; break; - case WINTER: .@item=any(Snowflake, CaramelCandy); .@prize=0; break; + case WINTER: .@item=any(Snowflake, CaramelCandy, SmallChocolateBar); .@prize=0; break; case SPRING: .@item=any(Rose, Tulip, Blueberries); .@prize=0; break; case AUTUMN: .@item=any(Lawncandy, Saulcandy, Poocandy); .@prize=Zambacutou; break; } |