Skip to content

Commit 6e92b62

Browse files
M1krofinGregHib
andauthored
Stronghold of Player Safety (#884)
* Added stronghold of player safety npc:s dialogue * Added objects, npc dialogue and scripts to the stronghold * Added ground lever anim names * Adding cockroaches anim, drops and combat * Names for sounds * Made changes to poster and added more dialogue to guard * Added cockroach sounds and combat (took way too long to find sound ids) * Fix to mugger * Fix to lumbridge guard attackable animations * Added combat def to soldier * Spotless * Added delays to objects * Forgot to block entrance to the training center, only opens when talking to guard first time * Fixed all except the lever animation (maybe authentic varbit anim back in this revision?) * Removed lever animations * Use dummy report abuse interface * Fix weird object timing bug #893 --------- Co-authored-by: GregHib <greghib@users.noreply.github.com>
1 parent dc7b50e commit 6e92b62

34 files changed

+803
-61
lines changed

data/area/misthalin/barbarian_village/barbarian_village.npc-spawns.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ spawns = [
5858
{ id = "baby_raccoon_grey", x = 3055, y = 3432, members = true },
5959
{ id = "baby_raccoon_grey", x = 3059, y = 3421, members = true },
6060
{ id = "baby_raccoon_grey", x = 3061, y = 3429, members = true },
61-
{ id = "student_barbarian_village", x = 3081, y = 3455, direction = "NORTH" },
62-
{ id = "student_barbarian_village_2", x = 3081, y = 3453, direction = "NORTH" },
63-
{ id = "student_barbarian_village_3", x = 3079, y = 3455, direction = "NORTH" },
64-
{ id = "student_barbarian_village_4", x = 3077, y = 3453, direction = "NORTH" },
61+
{ id = "student_barbarian_village", x = 3081, y = 3455, direction = "EAST" },
62+
{ id = "student_barbarian_village_2", x = 3081, y = 3453, direction = "EAST" },
63+
{ id = "student_barbarian_village_3", x = 3079, y = 3455, direction = "EAST" },
64+
{ id = "student_barbarian_village_4", x = 3077, y = 3453, direction = "EAST" },
6565
{ id = "lakki_the_delivery_dwarf", x = 3008, y = 3434, members = true },
6666
{ id = "unicorn", x = 3090, y = 3450 },
6767
]

data/area/misthalin/barbarian_village/stronghold_of_player_safety/stronghold_of_player_safety.npc-spawns.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
spawns = [
22
{ id = "guard_stronghold_of_player_safety", x = 3083, y = 4246 },
3-
{ id = "gublinch_jailmate_stronghold_of_player_safety", x = 3085, y = 4230 },
4-
{ id = "gublinchette_jailmate_stronghold_of_player_safety", x = 3081, y = 4252 },
5-
{ id = "gublinchette_jailmate_stronghold_of_player_safety_2", x = 3078, y = 4240 },
6-
{ id = "gublinch_jailmate_stronghold_of_player_safety_2", x = 3079, y = 4245 },
7-
{ id = "gublinch_jailmate_stronghold_of_player_safety_3", x = 3077, y = 4229 },
8-
{ id = "gublinch_jailmate_stronghold_of_player_safety_4", x = 3085, y = 4235 },
9-
{ id = "gublinch_jailmate_stronghold_of_player_safety_5", x = 3085, y = 4240 },
3+
{ id = "gublinch_jailmate_stronghold_of_player_safety", x = 3085, y = 4230, direction = "WEST" },
4+
{ id = "gublinchette_jailmate_stronghold_of_player_safety", x = 3081, y = 4252, direction = "SOUTH_EAST" },
5+
{ id = "gublinchette_jailmate_stronghold_of_player_safety_2", x = 3078, y = 4240, direction = "EAST" },
6+
{ id = "gublinch_jailmate_stronghold_of_player_safety_2", x = 3079, y = 4245, direction = "EAST" },
7+
{ id = "gublinch_jailmate_stronghold_of_player_safety_3", x = 3077, y = 4229, direction = "EAST" },
8+
{ id = "gublinch_jailmate_stronghold_of_player_safety_4", x = 3085, y = 4235, direction = "EAST" },
9+
{ id = "gublinch_jailmate_stronghold_of_player_safety_5", x = 3085, y = 4240, direction = "WEST" },
1010
{ id = "cockroach_drone", x = 3142, y = 4240, level = 1 },
1111
{ id = "cockroach_drone", x = 3143, y = 4231, level = 1 },
1212
{ id = "cockroach_drone", x = 3143, y = 4236, level = 1 },

data/area/misthalin/barbarian_village/stronghold_of_player_safety/stronghold_of_player_safety.npcs.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,28 @@ examine = "An imprisoned gublinch."
3232

3333
[cockroach_worker]
3434
id = 7159
35+
hitpoints = 540
36+
att = 22
37+
str = 22
38+
def = 22
3539
categories = ["cockroaches"]
3640
examine = "Eurgh! A big bug."
41+
respawn_delay = 60
42+
combat_def = "cockroach_worker"
43+
drop_table = "cockroach_worker"
3744

3845
[cockroach_soldier]
3946
id = 7160
47+
hitpoints = 960
48+
att = 50
49+
str = 50
50+
def = 50
51+
range = 50
4052
categories = ["cockroaches"]
4153
examine = "Euww! A giant bug."
54+
respawn_delay = 60
55+
drop_table = "cockroach_soldier"
56+
combat_def = "cockroach_soldier"
4257

4358
[mugger_stronghold_of_player_safety]
4459
id = 7161
@@ -47,8 +62,7 @@ att = 5
4762
str = 5
4863
def = 5
4964
style = "crush"
50-
max_hit_melee = 10
51-
hunt_mode = "cowardly"
65+
combat_def = "mugger"
5266
drop_table = "mugger"
5367
examine = "He jumps out and attacks people."
5468

data/area/misthalin/edgeville/edgeville.npc-spawns.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ spawns = [
6565
{ id = "imp", x = 3073, y = 3498 },
6666
{ id = "imp", x = 3078, y = 3499 },
6767
{ id = "professor_henry", x = 3084, y = 3458 },
68-
{ id = "student_edgeville", x = 3079, y = 3457 },
69-
{ id = "student_edgeville_2", x = 3077, y = 3457 },
68+
{ id = "student_edgeville", x = 3079, y = 3457, direction = "EAST" },
69+
{ id = "student_edgeville_2", x = 3077, y = 3457, direction = "EAST" },
7070
{ id = "cockroach_drone", x = 3077, y = 3461 },
7171
{ id = "cockroach_drone", x = 3078, y = 3464 },
7272
{ id = "oracle", x = 3013, y = 3501 },

data/area/misthalin/edgeville/edgeville.npcs.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,15 @@ examine = "A person sitting an exam."
151151

152152
[cockroach_drone]
153153
id = 7158
154+
hitpoints = 110
155+
att = 3
156+
str = 3
157+
def = 3
154158
categories = ["cockroaches"]
155159
examine = "A household pest."
160+
combat_def = "cockroach_drone"
161+
respawn_delay = 60
162+
drop_table = "cockroach_drone"
156163

157164
[oracle]
158165
id = 746

data/area/misthalin/edgeville/edgeville.teles.toml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ tile = { x = 3046, y = 3483 }
130130
delta = { level = 1 }
131131

132132
# 12342 edgeville
133-
[29592]
133+
[stronghold_of_player_safety_stairs_down]
134134
option = "Climb-down"
135135
tile = { x = 3084, y = 3452 }
136136
to = { x = 3086, y = 4247 }
@@ -140,16 +140,6 @@ option = "Pull"
140140
tile = { x = 3090, y = 3474 }
141141
to = { x = 3154, y = 3924 }
142142

143-
[29728]
144-
option = "Enter"
145-
tile = { x = 3076, y = 3463 }
146-
to = { x = 3157, y = 4279, level = 3 }
147-
148-
[29603]
149-
option = "Use"
150-
tile = { x = 3075, y = 3456 }
151-
to = { x = 3082, y = 4229 }
152-
153143
[trapdoor_80_opened]
154144
option = "Climb-down"
155145
tile = { x = 3097, y = 3468 }
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[cockroach_drone_attack]
2+
id = 8785
3+
4+
[cockroach_soldier_attack]
5+
id = 8786
6+
7+
[cockroach_worker_attack]
8+
id = 8787
9+
10+
[cockroach_drone_death]
11+
id = 8788
12+
13+
[cockroach_soldier_death]
14+
id = 8789
15+
16+
[cockroach_worker_death]
17+
id = 8790
18+
19+
[cokroach_drone_defend]
20+
id = 8791
21+
22+
[cockroach_soldier_defend]
23+
id = 8792
24+
25+
[cockroach_worker_defend]
26+
id = 8793
27+
28+
[cockroach_soldier_ranged]
29+
id = 8799
30+
31+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[cockroach_drone]
2+
attack_speed = 4
3+
defend_anim = "cokroach_drone_defend"
4+
defend_sound = "cockroach_drone_defend"
5+
death_anim = "cockroach_drone_death"
6+
death_sound = "cockroach_drone_death"
7+
8+
[cockroach_drone.attack]
9+
anim = "cockroach_drone_attack"
10+
range = 1
11+
target_hit = { offense = "melee", max = 20 }
12+
target_sound = "cockroach_drone_attack"
13+
14+
[cockroach_worker]
15+
defend_anim = "cockroach_worker_defend"
16+
defend_sound = "cockroach_worker_defend"
17+
death_anim = "cockroach_worker_death"
18+
death_sound = "cockroach_worker_death"
19+
attack_speed = 4
20+
21+
[cockroach_worker.attack]
22+
anim = "cockroach_worker_attack"
23+
range = 1
24+
target_hit = { offense = "melee", max = 60 }
25+
target_sound = "cockroach_worker_attack"
26+
27+
[cockroach_soldier]
28+
defend_anim = "cockroach_soldier_defend"
29+
defend_sound = "cockroach_soldier_defend"
30+
death_anim = "cockroach_soldier_death"
31+
death_sound = "cockroach_soldier_death"
32+
attack_speed = 4
33+
34+
[cockroach_soldier.melee]
35+
anim = "cockroach_soldier_attack"
36+
range = 2
37+
target_hit = { offense = "melee", max = 90 }
38+
target_sound = "cockroach_soldier_attack"
39+
40+
41+
[cockroach_soldier.ranged]
42+
anim = "cockroach_soldier_ranged"
43+
projectile = "cockroach_soldier_ranged"
44+
range = 8
45+
projectile_origin_y = 1
46+
projectile_origin_x = 1
47+
target_hit = { offense = "range", max = 110 }
48+
condition = "ranged_only"
49+
target_sound = "cockroach_soldier_range"
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
[cockroach_drone_drop_table]
2+
type = "all"
3+
drops = [
4+
{ table = "cockroach_drone_secondary" },
5+
]
6+
7+
[cockroach_drone_secondary]
8+
roll = 128
9+
drops = [
10+
{ id = "nothing", chance = 13 },
11+
{ id = "bronze_dagger", chance = 4},
12+
{ id = "bronze_med_helm", chance = 4 },
13+
{ id = "air_rune", min = 1, max = 10, chance = 11 },
14+
{ id = "fire_rune", min = 1, max = 11, chance = 6 },
15+
{ id = "water_rune", min = 1, max = 8, chance = 18 },
16+
{ id = "coins", min = 10, max = 30, chance = 53 },
17+
{ id = "limpwurt_root", chance = 3 },
18+
{ id = "red_spiders_eggs", chance = 2 },
19+
{ id = "coal_noted", amount = 2, chance = 15 },
20+
{ table = "gem_drop_table", chance = 6 },
21+
{ table = "herb_drop_table", chance = 20, members = true }
22+
]
23+
24+
[cockroach_worker_drop_table]
25+
type = "all"
26+
drops = [
27+
{ table = "cockroach_worker_secondary"},
28+
{ table = "easy_clue_scroll", roll = 128 },
29+
]
30+
31+
[cockroach_worker_secondary]
32+
roll = 128
33+
drops = [
34+
{ id = "mithril_platebody" },
35+
{ id = "mithril_sq_shield", chance = 4 },
36+
{ id = "mithril_ore_noted", amount = 2, chance = 2 },
37+
{ id = "coal_noted", min = 1, max = 2, chance = 10 },
38+
{ id = "coins", min = 30, max = 130, chance = 47 },
39+
{ id = "black_full_helm", chance = 2 },
40+
{ id = "cosmic_rune", min = 1, max = 2, chance = 10 },
41+
{ id = "earth_rune", min = 1, max = 22, chance = 10 },
42+
{ id = "nature_rune", min = 1, max = 20, chance = 10 },
43+
{ id = "chaos_rune", min = 1, max = 18, chance = 10 },
44+
{ id = "battlestaff", members = true },
45+
{ table = "herb_drop_table", chance = 13, members = true },
46+
{ table = "gem_drop_table", chance = 5 },
47+
]
48+
49+
[cockroach_soldier_drop_table]
50+
type = "all"
51+
drops = [
52+
{ table = "cockroach_soldier_secondary"},
53+
{ table = "medium_clue_scroll", roll = 128 },
54+
]
55+
56+
[cockroach_soldier_secondary]
57+
roll = 128
58+
drops = [
59+
{ id = "rune_scimitar"},
60+
{ id = "rune_sq_shield"},
61+
{ id = "mithril_med_helm", chance = 4 },
62+
{ id = "death_rune", min = 1, max = 15, chance = 10},
63+
{ id = "law_rune", min = 1, max = 20, chance = 10 },
64+
{ id = "fire_rune", min = 2, max = 59, chance = 10},
65+
{ id = "blood_rune", min = 2, max = 11, chance = 10, members = true },
66+
{ id = "mithril_ore_noted", amount = 3, chance = 10 },
67+
{ id = "adamantite_ore_noted", chance = 4 },
68+
{ id = "coins", min = 100, max = 400, chance = 62},
69+
{ id = "bittercap_mushroom", min = 1, max = 3, chance = 3 },
70+
{ table = "uncommon_seed_drop_table", chance = 8, members = true },
71+
{ table = "gem_drop_table", chance = 7 },
72+
]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[cockroach_soldier_ranged]
2+
id = 1554
3+
height = 15
4+
curve = 5
5+
end_height = 0
6+
delay = 10
7+
time_offset = 20

0 commit comments

Comments
 (0)