From 0ddffdab42811e72c48ce3a12f0fb0edaaae4f0f Mon Sep 17 00:00:00 2001 From: Freeyorp Date: Sun, 25 Apr 2010 12:59:45 +1200 Subject: Modify the manner in which needles are given out to a more sane method --- db/const.txt | 4 ++++ db/item_db.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'db') diff --git a/db/const.txt b/db/const.txt index a6466bb0..4bc17d62 100644 --- a/db/const.txt +++ b/db/const.txt @@ -284,6 +284,8 @@ E10_BARRIER_SHIFT 4 E10_BARRIER_OPEN 0 E10_BARRIER_ACTIVE 1 E10_PRE_WARP_SHIFT 5 +E10_NEEDLE_SHIFT 6 +E10_NEEDLE_MASK 31 // Dealing with the doctor E10_DOCTOR_HELP_STATES_MASK 15 @@ -316,6 +318,8 @@ E10_STATE_REWARDS_SHIFT 18 E10_STATE_REWARDS_MASK 3 E10_STATE_REWARD_RABBIT_EARS 1 E10_STATE_REWARD_EGGSHELL 2 +E10_LOC_NEEDLE_SHIFT 20 +E10_LOC_NEEDLE_MASK 31 // Menus E10_STONES_WISP 0 diff --git a/db/item_db.txt b/db/item_db.txt index 71f0a7af..8511195f 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -331,7 +331,7 @@ 1242, SnowGoggles, Snow Goggles, 5, 7500, 5000, 10, , 5, , -2, 0, 2, 256, , 0, 0, {}, {} 1243, PaperHat, Paper Party Hat, 5, 10, 5, 1, , 1, , 0, 0, 2, 256, , 0, 0, {}, {} 1244, DarkTalisman, Dark Talisman, 5, 0, 0, 0, , 30, , 100, 0, 2, 512, , 0, 0, {}, { set @minLvl, 1; callfunc "RestrictedItem"; set @val, getopt2; if (!(@val & 1024)) setopt2 getopt2 | 1024; bonus bMaxHp, 30000; bonus bFlee, -150; } -1245, BentNeedle, Bent Needle, 3, 700, 100, 1, , , , , , 2, , , 0, 0, {}, {} +1245, BentNeedle, Bent Needle, 3, 700, 1, 100, , , , , , 2, , , 0, 0, {}, {} 1246, DarkEasterEgg, Dark Easter Egg, 3, 700, 50, 10, , , , , , 2, , , 0, 0, {}, {} 1247, HeartGlasses, Heart Glasses, 5, 7500, 5000, 10, , 4, , 5, 0, 2, 256, , 0, 0, {}, {} 1248, Blueberries, Blueberries, 0, 1000, 500, 120, , , , , , 2, , , 0, , { itemheal 800, 0; }, {} -- cgit v1.2.3-60-g2f50