Skip to content

Commit 3d6b539

Browse files
author
Spencer Carlson
committed
Add:
Witch's Potion quest. Optional QuestRequirement for NPC drops. NPCs required to complete quest (Betty, Hetty in Port Sarim, rats). Modify: DropTable to be an array of objects instead of an array of arrays
1 parent 18c6753 commit 3d6b539

File tree

18 files changed

+698
-38
lines changed

18 files changed

+698
-38
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"rs:wizard_hat_(blue)": {
3+
"game_id": 579,
4+
"weight": 0.453,
5+
"equipment_data": {
6+
"offensive_bonuses": {
7+
"magic": 2
8+
},
9+
"skill_bonuses": {
10+
"magic": 2
11+
}
12+
}
13+
},
14+
"rs:wizard_hat_(black)": {
15+
"game_id": 1017,
16+
"weight": 0.453,
17+
"equipment_data": {
18+
"offensive_bonuses": {
19+
"magic": 2
20+
},
21+
"skill_bonuses": {
22+
"magic": 2
23+
}
24+
}
25+
}
26+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"rs:rats_tail": {
3+
"game_id": 300,
4+
"tradable": false,
5+
"weight": 0.003
6+
}
7+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"rs:raw_rat_meat": {
3+
"game_id": 2134
4+
},
5+
"rs:cooked_meat": {
6+
"game_id": 2142
7+
},
8+
"rs:burnt_meat": {
9+
"game_id": 2146
10+
}
11+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rs:eye_of_newt": {
3+
"game_id": 221
4+
}
5+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"npc": "rs:betty",
4+
"spawn_x": 3012,
5+
"spawn_y": 3259,
6+
"movement_radius": 5
7+
},
8+
{
9+
"npc": "rs:Giant_rat",
10+
"spawn_level": 0,
11+
"spawn_x": 2995,
12+
"spawn_y": 3191,
13+
"movement_radius": 6,
14+
"face": "WEST"
15+
},
16+
{
17+
"npc": "rs:Giant_rat_2",
18+
"spawn_level": 0,
19+
"spawn_x": 2999,
20+
"spawn_y": 3194,
21+
"movement_radius": 6,
22+
"face": "WEST"
23+
}
24+
]
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[
2+
{
3+
"npc": "rs:hetty",
4+
"spawn_x": 2968,
5+
"spawn_y": 3205,
6+
"spawn_level": 0,
7+
"movement_radius": 4,
8+
"face": "SOUTH"
9+
},
10+
{
11+
"npc": "rs:rat",
12+
"spawn_x": 2953,
13+
"spawn_y": 3204,
14+
"spawn_level": 0,
15+
"movement_radius": 4,
16+
"face": "EAST"
17+
},
18+
{
19+
"npc": "rs:rat",
20+
"spawn_x": 2955,
21+
"spawn_y": 3202,
22+
"spawn_level": 0,
23+
"movement_radius": 4,
24+
"face": "NORTH"
25+
},
26+
{
27+
"npc": "rs:rat",
28+
"spawn_x": 2959,
29+
"spawn_y": 3204,
30+
"spawn_level": 0,
31+
"movement_radius": 4,
32+
"face": "SOUTH"
33+
},
34+
{
35+
"npc": "rs:rat",
36+
"spawn_x": 2958,
37+
"spawn_y": 3202,
38+
"spawn_level": 0,
39+
"movement_radius": 4,
40+
"face": "WEST"
41+
}
42+
]

data/config/npcs/general.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"rs:rat": {
3+
"game_id": 47,
4+
"drop_table": [
5+
{ "itemKey": "rs:rats_tail", "frequency": "always", "amount": 1,
6+
"amountMax": 1,
7+
"questRequirement": {
8+
"questId": "rs:witchs_potion",
9+
"stage": 50
10+
}
11+
},
12+
{ "itemKey": "rs:bones", "frequency": "always", "amount": 1 }
13+
],
14+
"skills": {
15+
"hitpoints": 1
16+
}
17+
}
18+
}

data/config/npcs/port-sarim.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"rs:betty": {
3+
"game_id": 583
4+
},
5+
"rs:Giant_rat": {
6+
"game_id": 86,
7+
"drop_table": [
8+
{ "itemKey": "rs:bones", "frequency": "always", "amount": 1 },
9+
{ "itemKey": "rs:raw_rat_meat", "frequency": "always", "amount": 1 }
10+
]
11+
},
12+
"rs:Giant_rat_2": {
13+
"game_id": 4924,
14+
"drop_table": [
15+
{ "itemKey": "rs:bones", "frequency": "always", "amount": 1 },
16+
{ "itemKey": "rs:raw_rat_meat", "frequency": "always", "amount": 1 }
17+
]
18+
}
19+
}

data/config/npcs/rimmington.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"rs:hetty": {
3+
"game_id": 307
4+
}
5+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"rs:bettys_magic_emporium": {
3+
"name": "Betty's Magic Emporium",
4+
"shop_buy_rate": 0.60,
5+
"rate_modifier": 0.01,
6+
"stock": [
7+
[ "rs:air_rune", 5000 ],
8+
[ "rs:earth_rune", 5000 ],
9+
[ "rs:fire_rune", 5000 ],
10+
[ "rs:water_rune", 5000 ],
11+
[ "rs:body_rune", 5000 ],
12+
[ "rs:mind_rune", 5000 ],
13+
[ "rs:eye_of_newt", 300 ],
14+
[ "rs:death_rune", 250 ],
15+
[ "rs:chaos_rune", 250 ],
16+
[ "rs:wizard_hat_(black)", 1 ],
17+
[ "rs:wizard_hat_(blue)", 1 ]
18+
]
19+
}
20+
}

0 commit comments

Comments
 (0)