From f4230ae5d3d3367cec88ffa0058f2eede503d113 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 17 Feb 2023 21:29:49 -0300 Subject: Fix typo which made TMWA hang (hint: ident matters) --- world/map/db/item_db.conf | 2 +- world/map/db/item_db_use.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/world/map/db/item_db.conf b/world/map/db/item_db.conf index 06c5b41c..32b5ae8b 100644 --- a/world/map/db/item_db.conf +++ b/world/map/db/item_db.conf @@ -14995,7 +14995,7 @@ item_db: ( Refine: false ViewSprite: 5235 Script: <" - // 5231..5234 + // 5231..5234 .@it=callfunc("any", // @EVOL2 RedPresentHat, GreenPresentHat, BluePresentHat, YellowPresentHat); // @EVOL2 getitem .@it, 1; // @EVOL2 diff --git a/world/map/db/item_db_use.txt b/world/map/db/item_db_use.txt index fbf8ce06..cc18e677 100644 --- a/world/map/db/item_db_use.txt +++ b/world/map/db/item_db_use.txt @@ -105,7 +105,7 @@ 5210, GrassFedTofu, 0, 50, 1, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal -10, -2, 1;}, {} 5213, VeganWater, 0, 200, 100, 10, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal 250, 0, 1; getitem 540, 1;}, {} 5214, LactoseFreeAcorn, 0, 100, 50, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal 15, 0, 1;}, {} -5235, TMWBirthdayGift, 0, 1000000, 50, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {// 5231..5234 callfunc "TMWBirthdayGift";}, {} +5235, TMWBirthdayGift, 0, 1000000, 50, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {callfunc "TMWBirthdayGift";}, {} //ID, Name, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript} 5236, GumiCandy, 0, 10000, 250, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {set Sex, if_then_else(Sex == 3, rand(0, 1), if_then_else(rand(0,1), 3, !Sex));},{} 5237, CaramelCandy, 0, 700, 350, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, {heal 350, 0, 1;}, {} -- cgit v1.2.3-60-g2f50