Skip to content

Commit c446b2e

Browse files
authored
Add shantay pass and magic carpets (#820)
* Expose door opening and closing mechanics * Add Shantay Pass * Add better quest requirement skipping * Add None expression type, clear camera on graphics options open, add separate close/open tabs method * Start adding all rug merchants * Add patrol loop toggle * Start adding carpet routes * Add no collision patrolling * Add all routes and tests * Route fixes * Formatting * Add better uzer route to avoid plants Add better uzer route to avoid cactus * Fix warning continuing * Replace None expression with Blink * Use static timestamp in tests to fix #817
1 parent 81b4bb1 commit c446b2e

File tree

56 files changed

+2024
-113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2024
-113
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
spawns = [
22
# 13104
33
{ id = "musician_shantay_pass", x = 3309, y = 3126, direction = "WEST" },
4-
{ id = "monkey_bedabin_camp", x = 3311, y = 3108, members = true },
4+
{ id = "magic_carpet_monkey", x = 3311, y = 3108, members = true },
55
{ id = "irena_shantay_pass", x = 3303, y = 3113, members = true },
66
{ id = "irena_shantay_pass_2", x = 3304, y = 3113, members = true },
77
{ id = "scout_shantay_pass", x = 3301, y = 3100, members = true },
88
{ id = "ana_shantay_pass", x = 3305, y = 3112, members = true },
9-
{ id = "shantay_shantay_pass", x = 3304, y = 3118 },
9+
{ id = "shantay", x = 3304, y = 3118 },
1010
{ id = "ugthanki", x = 3267, y = 3077 },
1111
{ id = "ugthanki", x = 3269, y = 3110 },
1212
{ id = "ugthanki", x = 3275, y = 3094 },
@@ -15,7 +15,9 @@ spawns = [
1515
{ id = "ugthanki", x = 3305, y = 3089 },
1616
{ id = "ugthanki", x = 3318, y = 3078 },
1717
{ id = "ugthanki", x = 3321, y = 3104 },
18+
{ id = "shantay_guard", x = 3299, y = 32124 },
1819
{ id = "shantay_guard", x = 3305, y = 3129 },
1920
{ id = "shantay_guard", x = 3307, y = 3123 },
21+
{ id = "shantay_guard_still", x = 3303, y = 3118 },
2022
{ id = "rug_merchant_shantay_pass", x = 3311, y = 3109 },
2123
]

data/area/kharidian_desert/al_kharid/shantay_pass/shantay_pass.npcs.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ id = 5577
1010
[ana_shantay_pass]
1111
id = 6077
1212

13-
[shantay_shantay_pass]
13+
[shantay]
1414
id = 836
15+
shop = "shantay_pass_shop"
1516
examine = "He's in control of the Shantay Pass."
1617

1718
[ugthanki]
@@ -46,8 +47,13 @@ respawn_delay = 50
4647
drop_table = "bones"
4748
examine = "He patrols the Shantay Pass."
4849

50+
[shantay_guard_still]
51+
id = 838
52+
examine = "He patrols the Shantay Pass."
53+
4954
[rug_merchant_shantay_pass]
5055
id = 2291
56+
wander_radius = 2
5157
examine = "A man who deals in rugs."
5258

5359
[irena_shantay_pass_3]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[shantay_pass]
2+
id = 12774
3+
examine = "Looks like a stone doorway to me."
4+
5+
[danger_sign]
6+
id = 35555
7+
examine = "A sign that suggests danger."
8+
9+
[shantay_chest]
10+
id = 2693
11+
examine = "This is used by Shantay and his men to take items to the bank on your behalf."
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[shantay_state]
2+
format = "list"
3+
persist = true
4+
values = [ "new_player", "returning", "jailed" ]

data/area/kharidian_desert/bedabin_camp/bedabin_camp.npc-spawns.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spawns = [
2-
{ id = "monkey_bedabin_camp", x = 3181, y = 3043, members = true },
2+
{ id = "magic_carpet_monkey", x = 3181, y = 3043, members = true },
33
{ id = "camel_ardougne", x = 3173, y = 3039 },
44
{ id = "al_shabim_bedabin_camp", x = 3171, y = 3025 },
55
{ id = "ugthanki", x = 3190, y = 3054 },
@@ -13,7 +13,7 @@ spawns = [
1313
{ id = "bedabin_nomad_guard", x = 3173, y = 3035, members = true },
1414
{ id = "bedabin_nomad_guard", x = 3176, y = 3038, members = true },
1515
{ id = "bedabin_nomad_guard", x = 3176, y = 3043, members = true },
16-
{ id = "rug_merchant_bedabin", x = 3182, y = 3043, members = true },
16+
{ id = "rug_merchant_bedabin_camp", x = 3182, y = 3043, members = true },
1717
{ id = "asgarnia_smith", x = 3178, y = 3043, members = true },
1818
{ id = "bedabin_nomad_fighter", x = 3160, y = 3031, members = true },
1919
{ id = "bedabin_nomad_fighter", x = 3162, y = 3033, members = true },

data/area/kharidian_desert/bedabin_camp/bedabin_camp.npcs.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[monkey_bedabin_camp]
1+
[magic_carpet_monkey]
22
id = 2301
33
examine = "Perhaps our oldest relatives."
44

@@ -27,8 +27,9 @@ respawn_delay = 50
2727
drop_table = "bones"
2828
examine = "A bedabin nomad fighter - a sandy swordsman."
2929

30-
[rug_merchant_bedabin]
30+
[rug_merchant_bedabin_camp]
3131
id = 2292
32+
wander_radius = 2
3233
examine = "A man who deals in rugs."
3334

3435
[asgarnia_smith]

data/area/kharidian_desert/kharidian_desert.npc-spawns.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ spawns = [
7878
{ id = "jackal", x = 3378, y = 2906, members = true },
7979
{ id = "jackal", x = 3378, y = 2908, members = true },
8080
{ id = "wanderer_kharidian_desert", x = 3315, y = 2849, members = true },
81-
{ id = "rug_merchant_kharidian_desert_2", x = 3309, y = 2822, members = true },
82-
{ id = "monkey_bedabin_camp", x = 3347, y = 2942, members = true },
81+
{ id = "rug_merchant_sophanem", x = 3287, y = 2813, members = true },
82+
{ id = "monkey_kharidian_desert", x = 3288, y = 2816, members = true },
83+
{ id = "magic_carpet_monkey", x = 3347, y = 2942, members = true },
8384
{ id = "monkey_kharidian_desert", x = 3243, y = 2820, members = true },
84-
{ id = "monkey_kharidian_desert", x = 3309, y = 2823, members = true },
8585
{ id = "vulture_agility_pyramid", x = 3215, y = 2841, members = true },
8686
{ id = "vulture_agility_pyramid", x = 3217, y = 2845, members = true },
8787
{ id = "vulture_agility_pyramid", x = 3220, y = 2841, members = true },

data/area/kharidian_desert/kharidian_desert.npcs.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ id = 13235
3333

3434
[rug_merchant_kharidian_desert]
3535
id = 13237
36+
wander_radius = 2
3637

3738
[desert_snake]
3839
id = 1874
@@ -68,8 +69,9 @@ examine = "Never smile at a..."
6869
[wanderer_kharidian_desert]
6970
id = 2002
7071

71-
[rug_merchant_kharidian_desert_2]
72+
[rug_merchant_sophanem]
7273
id = 2297
74+
wander_radius = 2
7375

7476
[monkey_kharidian_desert]
7577
id = 2302
@@ -146,6 +148,7 @@ id = 2006
146148

147149
[rug_merchant_kharidian_desert_2_2]
148150
id = 2298
151+
wander_radius = 2
149152

150153
[ali_the_wise_kharidian_desert_2]
151154
id = 7447
@@ -200,3 +203,4 @@ id = 13236
200203

201204
[rug_merchant_kharidian_desert_3]
202205
id = 13238
206+
wander_radius = 2
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[magic_carpet_stand]
2+
id = 330
3+
4+
[magic_carpet_land]
5+
id = 331
6+
7+
[magic_carpet_takeoff]
8+
id = 654
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[magic_carpet_takeoff]
2+
id = 2931
3+
4+
[magic_carpet_fly]
5+
id = 2932
6+
7+
[magic_carpet_land]
8+
id = 2933

0 commit comments

Comments
 (0)