diff options
author | Jesusaves <cpntb1@ymail.com> | 2025-06-15 13:00:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2025-06-15 13:00:01 -0300 |
commit | 085a6cea5d4e3cf2a7e333162f51595bad68dd27 (patch) | |
tree | 400a6ffd4a7549035cc69492ed9d623f532fe8b4 | |
parent | 9acdb1f5067e8ccd19bff57b162623954950a350 (diff) | |
download | serverdata-085a6cea5d4e3cf2a7e333162f51595bad68dd27.tar.gz serverdata-085a6cea5d4e3cf2a7e333162f51595bad68dd27.tar.bz2 serverdata-085a6cea5d4e3cf2a7e333162f51595bad68dd27.tar.xz serverdata-085a6cea5d4e3cf2a7e333162f51595bad68dd27.zip |
Kirara Lemons fixes and minor typo fixes
-rw-r--r-- | db/re/item_db.conf | 10 | ||||
-rw-r--r-- | npc/003-1/shop.txt | 2 | ||||
-rw-r--r-- | npc/017-10/dispatcher.txt | 1 | ||||
-rw-r--r-- | npc/029-0/event.txt | 4 |
4 files changed, 14 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e818e372f..60001bb69 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -20641,7 +20641,15 @@ item_db: ( Weight: 6 Delay: 500 Script: <" - gethomunaff(rand(5,10)*10); + if (!gethominfo(0)) { + dispbottom l("You cannot eat Kirara Lemons. Better find a homunculus to do so."); + getitem KiraraLemon, 1; + } else if (homstatus()) { + dispbottom l("Your Homunculus isn't around to eat this."); + getitem KiraraLemon, 1; + } else { + gethomunaff(rand(5,10)*20); // 20 = 1 affection point + } "> }, diff --git a/npc/003-1/shop.txt b/npc/003-1/shop.txt index 55f388def..80a4a4649 100644 --- a/npc/003-1/shop.txt +++ b/npc/003-1/shop.txt @@ -171,7 +171,7 @@ function script BazaarToggle { enablenpc "LoF Vendor"; .@gid = getnpcid("LoF Vendor"); if (.@lof) - unitwarp(.@gid, "017-1", 152, 168); + unitwarp(.@gid, "017-1", 165, 171); else unitwarp(.@gid, "003-1", 112, 110); } else { diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt index 74390bb83..11701470e 100644 --- a/npc/017-10/dispatcher.txt +++ b/npc/017-10/dispatcher.txt @@ -42,6 +42,7 @@ gethomunexp(.@xp); .@lv=gethominfo(6); getexp 0, (.@lv*min(10000, gethominfo(3))/10000)*5; + gethomunaff(rand(5,10)*10); // 20 = 1 affection point close; } mesc l("It should be back in @@", FuzzyTime(HOMUN_DEPLOYDATE)), 1; diff --git a/npc/029-0/event.txt b/npc/029-0/event.txt index d5ab70745..80c8b5a1c 100644 --- a/npc/029-0/event.txt +++ b/npc/029-0/event.txt @@ -132,7 +132,9 @@ OnInit: // NPC_ARTAXE -> Frostia (Forged Goods) // empty warp crystal, equipment (e.g bows) - // NPC_LYDON: If you have a stand for her + // Kirara Lemon? Also, what price? + + // NPC_LYDON: If you have a stand for her. She should sell MPT / RP // NPC_QONAN (orc facing right) if (!$BETASERVER && !debug) |