summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf18
-rw-r--r--npc/001-1/rewards.txt1
-rw-r--r--npc/001-7/homunculus.txt6
3 files changed, 22 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 44e1ca561..303f0d6f2 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -3251,6 +3251,24 @@ item_db: (
callfunc "grenade", 3, rand(100,150)+BaseLevel*6, true;
">
},
+{
+ Id: 683
+ AegisName: "MagicApple"
+ Name: "Magic Apple"
+ Type: "IT_USABLE"
+ Buy: 1000000
+ Sell: 0
+ Weight: 10
+ Refine: false
+ Delay: 500
+ Script: <"
+ @min = 3500;
+ @max = 3500;
+ @delay = 600;
+ @type = SC_INCMHP;
+ doevent "inc_sc_bonus::OnUse";
+ ">
+},
// Mounts (690 to 699, probably there will be extra IDs)
{
diff --git a/npc/001-1/rewards.txt b/npc/001-1/rewards.txt
index 12edfd4be..0855b6af3 100644
--- a/npc/001-1/rewards.txt
+++ b/npc/001-1/rewards.txt
@@ -64,6 +64,7 @@ OnInit:
sellitem BlueDye, 36;
// Consumables
+ sellitem MagicApple,115;
sellitem Grenade,50;
sellitem ElixirOfLife,32;
sellitem CelestiaTea,18;
diff --git a/npc/001-7/homunculus.txt b/npc/001-7/homunculus.txt
index 19e68dbd3..23673d0d6 100644
--- a/npc/001-7/homunculus.txt
+++ b/npc/001-7/homunculus.txt
@@ -179,10 +179,10 @@ OnInit:
close;
}
mesn strcharinfo(0);
- mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(RedApple));
+ mesc l("You carefully pick a @@. It looks delicious, but you probably will need it later.", getitemlink(MagicApple));
if (!(.@q & .hcID)) {
- inventoryplace RedApple, 1;
- getitem RedApple, 1;
+ inventoryplace MagicApple, 1;
+ getitem MagicApple, 1;
setq2 FrostiaQuest_Homunculus, .@q|.hcID;
}
close;