summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/re/item_db.conf29
-rw-r--r--npc/019-4-1/chief.txt10
2 files changed, 36 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index d6f66749c..88f71fa36 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2477,6 +2477,35 @@ item_db: (
doevent "rand_sc_heal::OnUse";
">
},
+// 626-629 missing
+{
+ Id: 630
+ AegisName: "XmasGift"
+ Name: "Christmas Gift"
+ Type: "IT_USABLE"
+ Buy: 0
+ Sell: 0
+ Weight: 25
+ KeepAfterUse: false
+ Refine: false
+ Trade: {
+ noselltonpc: true
+ }
+ Script: <"
+ setarray .@r, SantaGlobe, SnowmanGlobe, UglyChristmasSweater, TneckSweater, MercBoxA, MercBoxA, MercBoxB, ElixirOfLife, NoviceWand, LeadOre, DarkDesertMushroom;
+ setarray .@c, BronzeGift, IcedBottle, TneckSweater, MercBoxA, MercBoxA, ClothoLiquor, Dagger, Dagger, HastePotion, HerbalTea, StrengthPotion, TrainingWand;
+ // 27% rare chance only
+ if (rand(0,100) < 27) {
+ .@n=rand(getarraysize(.@r));
+ getitem .@r[.@n], 1;
+ } else {
+ .@n=rand(getarraysize(.@c));
+ getitem .@c[.@n], 1;
+ }
+ ">
+},
+
+// Mounts
{
Id: 699
AegisName: "LegendaryTortuga"
diff --git a/npc/019-4-1/chief.txt b/npc/019-4-1/chief.txt
index 41cb40767..e3bd51f5f 100644
--- a/npc/019-4-1/chief.txt
+++ b/npc/019-4-1/chief.txt
@@ -59,7 +59,6 @@ L_OutOfSeason:
mesq l("This workshop doesn't gets too many tasks from Santa outside the Christmas...");
close;
-// TODO Reward
L_Reward:
inventoryplace NPCEyes, 5, Iten, 1;
.@q1=getq2(SQuest_Christmas);
@@ -67,8 +66,13 @@ L_Reward:
setq SQuest_Christmas, 0, 0, 0;
/* Handle hChristmas Quest Rewards */
- // TODO
+ /* Some Merc Boxes, five rares, gift boxes */
+ /* Christmas gift boxes contain rares */
+ /////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////
/* Handle Golbarez Quest Rewards */
/* Mostly Coins, some Merc Boxes, EXP/JExp */
/* Gift the best people at this quest, too */
@@ -114,7 +118,7 @@ L_Reward:
getitem CasinoCoins, 1;
mesn;
- mesc l("Hey hey, how can you finish a quest which never started in first place?"), 1;
+ mesq l("Thanks for helping us the last year. I hope to have your help by the next year.");
close;
L_Main: