Skip to content

Commit 4efdec6

Browse files
authored
Merge pull request #81875 from John-Candlebury/0.i-afs-scenarios
2 parents 7726f56 + ba39125 commit 4efdec6

File tree

3 files changed

+199
-0
lines changed

3 files changed

+199
-0
lines changed

data/mods/aftershock_exoplanet/achievements/achievements.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,106 @@
11
[
2+
{
3+
"id": "afs_alien_dawn",
4+
"type": "achievement",
5+
"name": "Alien Dawn",
6+
"description": "At night, both water and carbon dioxide freeze in the upper atmosphere, such that every dawn is accompanied by a procession of colorful haloes over the horizon.\n<color_c_dark_gray> - Salus IV rediscovery report 02.11.2428, submitted by Cpt. Jean McAllister.",
7+
"time_constraint": { "since": "game_start", "is": ">=", "target": "1 day" },
8+
"requirements": [ { "event_statistic": "num_avatar_wake_ups", "is": "anything", "description": "Wake up after a night on Salus IV." } ]
9+
},
10+
{
11+
"id": "afs_achievement_discontinuity_weapon",
12+
"type": "achievement",
13+
"name": { "str": "A civilized Age" },
14+
"description": "Mostly, it makes me feel very small, like when I was a kid playing with my father's tools.\n<color_c_dark_gray> - \"Life in the Tenellus Frontier\", interview with mercenary captain, c2514.",
15+
"requirements": [
16+
{
17+
"event_statistic": "num_avatar_wields_archeotech_gun",
18+
"is": ">=",
19+
"target": 1,
20+
"description": "Wield a weapon from the Late Hyperspace Age."
21+
}
22+
]
23+
},
24+
{
25+
"id": "afs_achievement_plasma_weapon",
26+
"type": "achievement",
27+
"name": { "str": "Sunfire" },
28+
"description": "Now just watch this! [STATIC]\n<color_c_dark_gray> - unattributed comms chatter from raid on UFS Golden Sunray.",
29+
"requirements": [
30+
{ "event_statistic": "num_avatar_wields_plasma_gun", "is": ">=", "target": 1, "description": "Obtain a plasma weapon" }
31+
]
32+
},
33+
{
34+
"id": "afs_achievement_crashed_spaceship",
35+
"type": "achievement",
36+
"name": { "str": "Falling Star" },
37+
"description": "Planet crosses into a giant scrapfield every few months, some old battlefield from when the discontinuity happened. Locals make a great show of it, marks the start of the great hunt.\n<color_c_dark_gray> -\"The Highlands of Aztlan\" holodoc",
38+
"requirements": [
39+
{
40+
"event_statistic": "num_avatar_enters_crashed_ship",
41+
"is": ">=",
42+
"target": 1,
43+
"description": "Visit a crashed spaceship."
44+
}
45+
]
46+
},
47+
{
48+
"id": "afs_achievement_ruins",
49+
"type": "achievement",
50+
"name": { "str": "Boneyards" },
51+
"description": "We had those at home too, on summer days we'd chase frogs through the pipes and into the coolant chambers deep below them. I remember the em-lights still glittering in the immense halls, it was like a secret night sky sealed away.\n<color_c_dark_gray> - overheard in Port Augustmoon.",
52+
"requirements": [ { "event_statistic": "num_avatar_enters_ruins", "is": ">=", "target": 1, "description": "Visit a ruin" } ]
53+
},
54+
{
55+
"id": "afs_achievement_many_ruins",
56+
"type": "achievement",
57+
"name": { "str": "Ruins of Orion" },
58+
"description": "I try not to think about what it actually means, none of us do really. Otherwise it would drive us mad with grief. [Laughs] Still drives some mad though, I guess.\n<color_c_dark_gray> - \"Life in the Tenellus Frontier\", interview with salvor guild journeyman, c2514.",
59+
"requirements": [ { "event_statistic": "num_avatar_enters_ruins", "is": ">=", "target": 50, "description": "Visit many ruins." } ]
60+
},
61+
{
62+
"id": "afs_achievement_discontinous",
63+
"type": "achievement",
64+
"name": { "str": "Discontinous" },
65+
"description": "[ ERROR: Outside Hypernet Range ]",
66+
"requirements": [
67+
{
68+
"event_statistic": "avatar_max_damage",
69+
"is": ">=",
70+
"target": 2500,
71+
"description": "Recieve 2500 damage in a single attack and survive (optional)."
72+
}
73+
]
74+
},
75+
{
76+
"id": "afs_achievement_chimera",
77+
"type": "achievement",
78+
"name": { "str": "Chimera" },
79+
"description": "Unexplained, instinctual urges might rarely manifest after bio-modification. In such cases we recommend the following self-centering techniques…\n<color_c_dark_gray> - Aftercare brochure, Mercurial Genomics ltd.",
80+
"requirements": [
81+
{
82+
"event_statistic": "num_crosses_mutation_threshold",
83+
"is": ">=",
84+
"target": 1,
85+
"description": "Cross a threshold using genetech templates."
86+
}
87+
]
88+
},
89+
{
90+
"id": "achievement_psion",
91+
"type": "achievement",
92+
"name": { "str": "The New Sun" },
93+
"description": "There were among our men those who asked whether it was all not a dream. How else could one explain the glimpse of things never heard of, never seen, and never even conceived of before.\n<color_c_dark_gray> - recovered from the log of ESS Firebird.",
94+
"requirements": [
95+
{
96+
"event_statistic": "avatar_last_gains_mutation",
97+
"is": "==",
98+
"target": [ "trait_id", "ESPER" ],
99+
"description": "Gain psionic powers.",
100+
"visible": "when_achievement_completed"
101+
}
102+
]
103+
},
2104
{
3105
"id": "achievement_kill_moxie",
4106
"type": "achievement",

data/mods/aftershock_exoplanet/achievements/statistics.json

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,91 @@
55
"event_transformation": "avatar_species_kills",
66
"value_constraints": { "species": { "equals": [ "species_id", "MOXIE" ] } }
77
},
8+
{
9+
"id": "avatar_enters_crashed_ship",
10+
"type": "event_transformation",
11+
"event_transformation": "avatar_enters_oter_type",
12+
"value_constraints": {
13+
"oter_type_id": { "equals_any": [ "oter_type_str_id", [ "afs_crashed_cargo_shuttle", "afs_crashed_cargo_shuttle_wraitheon" ] ] }
14+
}
15+
},
16+
{
17+
"id": "num_avatar_enters_crashed_ship",
18+
"type": "event_statistic",
19+
"stat_type": "count",
20+
"event_transformation": "avatar_enters_crashed_ship",
21+
"description": { "str": "crashed ship visited", "str_pl": "crashed ships visited" }
22+
},
23+
{
24+
"id": "avatar_enters_ruins",
25+
"type": "event_transformation",
26+
"event_transformation": "avatar_enters_oter_type",
27+
"value_constraints": {
28+
"oter_type_id": {
29+
"equals_any": [
30+
"oter_type_str_id",
31+
[
32+
"afs_formless_ruins_dynamic",
33+
"afs_formless_ruins_aeolian",
34+
"afs_formless_ruins_industrial",
35+
"afs_formless_ruins_pipe"
36+
]
37+
]
38+
}
39+
}
40+
},
41+
{
42+
"id": "num_avatar_enters_ruins",
43+
"type": "event_statistic",
44+
"stat_type": "count",
45+
"event_transformation": "avatar_enters_ruins",
46+
"description": { "str": "ruin visited", "str_pl": "ruins visited" }
47+
},
48+
{
49+
"id": "avatar_wields_archeotech_gun",
50+
"type": "event_transformation",
51+
"event_transformation": "avatar_wields_item",
52+
"value_constraints": { "itype": { "equals_any": [ "itype_id", [ "afs_archeotech_laspistol", "afs_electro_anomaly_rifle" ] ] } },
53+
"drop_fields": [ "itype" ]
54+
},
55+
{
56+
"id": "num_avatar_wields_archeotech_gun",
57+
"type": "event_statistic",
58+
"stat_type": "count",
59+
"event_transformation": "avatar_wields_archeotech_gun"
60+
},
61+
{
62+
"id": "avatar_max_damage",
63+
"type": "event_statistic",
64+
"stat_type": "maximum",
65+
"field": "damage",
66+
"event_transformation": "avatar_takes_damage",
67+
"description": { "str_sp": "maximum damage taken in a single instant." }
68+
},
69+
{
70+
"id": "avatar_wields_plasma_gun",
71+
"type": "event_transformation",
72+
"event_transformation": "avatar_wields_item",
73+
"value_constraints": {
74+
"itype": {
75+
"equals_any": [ "itype_id", [ "afs_magnadrive_230k", "afs_pam-41", "afs_plasma_torch_gun", "afs_makeshift_fusion_gun" ] ]
76+
}
77+
},
78+
"drop_fields": [ "itype" ]
79+
},
80+
{
81+
"id": "num_avatar_wields_plasma_gun",
82+
"type": "event_statistic",
83+
"stat_type": "count",
84+
"event_transformation": "avatar_wields_plasma_gun"
85+
},
86+
{
87+
"id": "avatar_wields_prediscontinuity_weapon",
88+
"type": "event_transformation",
89+
"event_transformation": "avatar_wields_item",
90+
"value_constraints": { "itype": { "equals": [ "itype_id", "crowbar" ] } },
91+
"drop_fields": [ "itype" ]
92+
},
893
{
994
"id": "num_avatar_moxie_kills",
1095
"type": "event_statistic",

data/mods/aftershock_exoplanet/scenarios.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"description": "During the riots and chaos, you hid in a robot dispatch center hoping the robots would protect you, but they may prove more dangerous than the zombies.",
88
"allowed_locs": [ "sloc_robot_dispatch" ],
99
"flags": [ "CITY_START" ],
10+
"requirement": "afs_achievement_many_ruins",
11+
"hard_requirement": true,
1012
"start_name": "Robot Dispatch"
1113
},
1214
{
@@ -72,6 +74,8 @@
7274
"afs_beauty_genemod"
7375
],
7476
"surround_groups": [ [ "GROUP_PIRATE__BOT_AMBUSH", 70.0 ] ],
77+
"requirement": "afs_achievement_crashed_spaceship",
78+
"hard_requirement": true,
7579
"flags": [ "LONE_START" ]
7680
},
7781
{
@@ -145,6 +149,8 @@
145149
"points": -2,
146150
"description": "You've already been modified mutagenically but now you were all ready for a bionic implant or three - the bill footed by the corp, of course - when everything went pear-shaped and all you could hear from the other rooms was screaming. For a few hours, at least. Now all you can hear is shuffling, crackling, the occasional gurgling, burbling moan, and heavy, wet thumps. Hopefully your surgery was registered as an elective because you've elected to get the heck out of here!",
147151
"forced_traits": [ "ELECTRORECEPTORS", "NIGHTVISION3", "LIGHTSTEP" ],
152+
"requirement": "afs_achievement_chimera",
153+
"hard_requirement": true,
148154
"allowed_locs": [ "sloc_afs_augmentation_clinic_n3" ]
149155
},
150156
{
@@ -158,6 +164,8 @@
158164
"flags": [ "LONE_START", "HELI_CRASH" ],
159165
"start_name": "Crashing Ship",
160166
"whitelist_hobbies": true,
167+
"requirement": "afs_achievement_crashed_spaceship",
168+
"hard_requirement": true,
161169
"hobbies": [ "afs_speed_freak", "afs_armament_license", "afs_spacer", "afs_leadership", "afs_earthling" ],
162170
"eoc": [ "EOC_CRASHING_SHIP_SETUP" ]
163171
},
@@ -185,6 +193,8 @@
185193
"afs_efficiency_genemod",
186194
"afs_beauty_genemod"
187195
],
196+
"requirement": "afs_achievement_chimera",
197+
"hard_requirement": true,
188198
"eoc": [ "EOC_ESPER_SCENARIO_SETUP" ]
189199
},
190200
{
@@ -209,6 +219,8 @@
209219
"afs_beauty_genemod"
210220
],
211221
"flags": [ "LONE_START" ],
222+
"requirement": "afs_achievement_crashed_spaceship",
223+
"hard_requirement": true,
212224
"start_name": "Escape Pod"
213225
}
214226
]

0 commit comments

Comments
 (0)