Skip to content

Commit 75c5e86

Browse files
authored
General bug fixes (#748)
* Fix missing zaros items * Fix fairy ring travel log * Fix sir gerry dialogue * Fix knights notes * Fix drinking sound * Fix recover special potion
1 parent c78e1de commit 75c5e86

File tree

12 files changed

+42
-13
lines changed

12 files changed

+42
-13
lines changed

data/area/troll_country/god_wars_dungeon/god_wars_dungeon.items.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ id = 20115
376376
limit = 2
377377
slot = "Hat"
378378
type = "FullFace"
379+
god = "zaros"
379380
examine = "A ceremonial mask dedicated to an ancient god."
380381

381382
[ancient_ceremonial_top_2]
@@ -442,6 +443,7 @@ limit = 2
442443
weight = 0.453
443444
slot = "Hat"
444445
type = "FullFace"
446+
god = "zaros"
445447
examine = "A ceremonial mask dedicated to an ancient god."
446448

447449
[ancient_ceremonial_mask_noted]
@@ -453,6 +455,7 @@ price = 282900
453455
limit = 2
454456
weight = 2.721
455457
slot = "Chest"
458+
god = "zaros"
456459
examine = "The top half of ceremonial robes dedicated to an ancient god."
457460

458461
[ancient_ceremonial_top_noted]
@@ -464,6 +467,7 @@ price = 157300
464467
limit = 2
465468
weight = 1.814
466469
slot = "Legs"
470+
god = "zaros"
467471
examine = "The bottom half of ceremonial robes dedicated to an ancient god."
468472

469473
[ancient_ceremonial_legs_noted]
@@ -475,6 +479,7 @@ price = 185000
475479
limit = 2
476480
weight = 0.453
477481
slot = "Hands"
482+
god = "zaros"
478483
examine = "Ceremonial gloves dedicated to an ancient god."
479484

480485
[ancient_ceremonial_gloves_noted]
@@ -486,6 +491,7 @@ price = 84800
486491
limit = 2
487492
weight = 0.453
488493
slot = "Feet"
494+
god = "zaros"
489495
examine = "Ceremonial boots dedicated to an ancient god."
490496

491497
[ancient_ceremonial_boots_noted]

data/minigame/treasure_trail/treasure_trail.items.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3948,6 +3948,7 @@ price = 54500
39483948
limit = 2
39493949
weight = 2.0
39503950
slot = "Weapon"
3951+
god = "zaros"
39513952
examine = "A blessed crozier."
39523953

39533954
[ancient_crozier_noted]
@@ -3983,6 +3984,7 @@ price = 145800
39833984
limit = 2
39843985
weight = 0.4
39853986
slot = "Cape"
3987+
god = "zaros"
39863988
examine = "A blessed cloak."
39873989

39883990
[ancient_cloak_noted]
@@ -4022,6 +4024,7 @@ weight = 0.3
40224024
aka = ["zaros_mitre"]
40234025
slot = "Hat"
40244026
type = "Hair"
4027+
god = "zaros"
40254028
examine = "A blessed mitre."
40264029

40274030
[ancient_mitre_noted]
@@ -4045,6 +4048,7 @@ price = 127900
40454048
limit = 2
40464049
weight = 1.8
40474050
slot = "Chest"
4051+
god = "zaros"
40484052
examine = "A vestment of Zaros."
40494053

40504054
[ancient_robe_top_noted]
@@ -4092,6 +4096,7 @@ price = 128900
40924096
limit = 2
40934097
weight = 2.7
40944098
slot = "Legs"
4099+
god = "zaros"
40954100
examine = "Legs that match the Zaros vestment."
40964101

40974102
[ancient_robe_legs_noted]
@@ -4127,6 +4132,7 @@ price = 108100
41274132
limit = 2
41284133
weight = 0.01
41294134
slot = "Amulet"
4135+
god = "zaros"
41304136
examine = "A blessed stole."
41314137

41324138
[ancient_stole_noted]
@@ -4140,6 +4146,7 @@ weight = 9.979
41404146
aka = ["zaros_platebody"]
41414147
slot = "Chest"
41424148
material = "metal"
4149+
god = "zaros"
41434150
examine = "A rune platebody in the colours of Zaros."
41444151

41454152
[rune_platebody_ancient_noted]
@@ -4156,6 +4163,7 @@ weight = 9.071
41564163
aka = ["zaros_platelegs"]
41574164
slot = "Legs"
41584165
material = "metal"
4166+
god = "zaros"
41594167
examine = "Rune platelegs in the colours of Zaros."
41604168

41614169
[rune_platelegs_ancient_noted]
@@ -4172,6 +4180,7 @@ weight = 9.071
41724180
aka = ["zaros_plateskirt"]
41734181
slot = "Legs"
41744182
material = "metal"
4183+
god = "zaros"
41754184
examine = "A rune plateskirt in the colours of Zaros."
41764185

41774186
[rune_plateskirt_ancient_noted]
@@ -4189,6 +4198,7 @@ aka = ["zaros_full_helm"]
41894198
slot = "Hat"
41904199
material = "metal"
41914200
type = "FullFace"
4201+
god = "zaros"
41924202
examine = "A rune full helmet in the colours of Zaros."
41934203

41944204
[rune_full_helm_ancient_noted]
@@ -4205,6 +4215,7 @@ weight = 5.443
42054215
aka = ["zaros_kiteshield"]
42064216
slot = "Shield"
42074217
material = "metal"
4218+
god = "zaros"
42084219
examine = "A rune kiteshield in the colours of Zaros."
42094220

42104221
[rune_kiteshield_ancient_noted]
@@ -4382,6 +4393,7 @@ limit = 2
43824393
weight = 1.0
43834394
slot = "Hands"
43844395
material = "leather"
4396+
god = "zaros"
43854397
examine = "Blessed dragonhide vambraces."
43864398

43874399
[ancient_vambraces_noted]
@@ -4395,6 +4407,7 @@ weight = 6.0
43954407
aka = ["zaros_body"]
43964408
slot = "Chest"
43974409
material = "leather"
4410+
god = "zaros"
43984411
examine = "Blessed dragonhide body armour."
43994412

44004413
[ancient_body_noted]
@@ -4407,6 +4420,7 @@ limit = 2
44074420
weight = 5.0
44084421
slot = "Legs"
44094422
material = "leather"
4423+
god = "zaros"
44104424
examine = "Blessed dragonhide chaps."
44114425

44124426
[ancient_chaps_noted]
@@ -4421,6 +4435,7 @@ aka = ["zaros_coif"]
44214435
slot = "Hat"
44224436
material = "leather"
44234437
type = "Hair"
4438+
god = "zaros"
44244439
examine = "Blessed dragonhide coif."
44254440

44264441
[ancient_coif_noted]

data/quest/members/another_slice_of_ham/another_slice_of_ham.items.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ special_energy = 1000
8080
special = "favour_of_the_war_god"
8181
god = "bandos"
8282
slot = "Weapon"
83+
god = "zaros"
8384
examine = "It has ancient goblin symbols on it."
8485

8586
[zanik_slice]

data/quest/members/desert_treasure/desert_treasure.items.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ limit = 100
166166
weight = 2.267
167167
category = "staff"
168168
slot = "Weapon"
169+
god = "zaros"
169170
examine = "A magical staff of ancient origin..."
170171

171172
[ancient_staff_noted]

data/quest/members/horror_from_the_deep/horror_from_the_deep.items.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,10 @@ id = 19616
289289
tradeable = false
290290
weight = 1.0
291291
slot = "Shield"
292+
kept = "Wilderness"
293+
god = "zaros"
292294
destroy = "Talk to Jossik at the lighthouse west of Rellekka for another copy."
293295
examine = "An incomplete ancient book."
294-
kept = "Wilderness"
295296

296297
[ancient_book]
297298
id = 19617
@@ -300,6 +301,7 @@ bank_stacks = false
300301
weight = 1.0
301302
aka = ["zaros_book"]
302303
slot = "Shield"
304+
god = "zaros"
303305
destroy = "This book can be reclaimed from the bookcase in your player-owned house for a fee, are you sure you wish to destroy it?"
304306
examine = "The holy book of a forgotten god."
305307
kept = "Reclaim"

data/skill/herblore/potion.items.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,6 +1416,7 @@ id = 15300
14161416
weight = 0.035
14171417
excess = "recover_special_3"
14181418
empty = "vial"
1419+
aka = ["spec_restore", "special_restore", "special_restore_4", "spec_restore_4", "restore_special_4", "restore_spec_4", "spec"]
14191420
examine = "4 doses of recover special potion."
14201421

14211422
[recover_special_3]

game/src/main/kotlin/content/area/troll_country/god_wars_dungeon/SirGerry.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ objectOperate("Search", "godwars_knight*") {
4848
player.inventory.add("knights_notes")
4949
}
5050

51-
inventoryItem("Open", "knights_notes") {
51+
inventoryItem("Read", "knights_notes") {
5252
choice("The scroll is sealed. Do you still want to open it?") {
5353
option("Yes") {
5454
if (player.inventory.replace(item.id, "knights_notes_opened")) {
@@ -68,7 +68,7 @@ objectOperate("Tie-rope", "godwars_hole") {
6868
player.inventory.remove("rope")
6969
player["godwars_entrance_rope"] = true
7070
} else {
71-
npc<Scared>("sir_gerry", "Cough... Hey, over here.")
71+
npc<Scared>("sir_gerry_normal", "Cough... Hey, over here.")
7272
}
7373
}
7474

game/src/main/kotlin/content/quest/member/fairy_tale_part_2/fairy_ring/FairyRing.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ objectOperate("Use", "fairy_ring_*") {
4343
player.walkOverDelay(target.tile)
4444
delay()
4545
Teleport.teleport(player, fairyRing.tile, "fairy_ring")
46-
val list: MutableList<String> = player["travel_log_locations"] ?: return@objectOperate
46+
val list: MutableList<String> = player.getOrPut("travel_log_locations") { mutableListOf() }
4747
list.add(code)
4848
}
4949

game/src/main/kotlin/content/quest/member/fairy_tale_part_2/fairy_ring/TravelLog.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ interfaceOpen("travel_log") { player ->
2020
val list: List<String> = player["travel_log_locations"] ?: return@interfaceOpen
2121
for ((code, def) in fairyRing.codes) {
2222
if (list.contains(code)) {
23-
println(code)
2423
player.interfaces.sendText(id, def.id.lowercase(), "<br>${def.name}")
2524
}
2625
}

game/src/main/kotlin/content/skill/constitution/Eating.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ inventoryOptions("Eat", "Drink", "Heal") {
5050
} else {
5151
player.message("You ${if (drink) "drink" else "eat"} the ${item.def.name.lowercase()}.", ChatType.Filter)
5252
}
53-
player.sound(if (drink) "pour_tea" else "eat")
53+
player.sound(if (drink) "drink" else "eat")
5454
player.emit(Consume(item, slot))
5555
if (smash) {
5656
player.message("You quickly smash the empty vial using the trick a Barbarian taught you.", ChatType.Filter)

0 commit comments

Comments
 (0)