Skip to content

Commit

Permalink
Add some NPC pilots to the world (CleverRaven#76862)
Browse files Browse the repository at this point in the history
* Add some NPC pilots to the world

* Add some more backstory for the ex-pilot
  • Loading branch information
RenechCDDA authored Oct 7, 2024
1 parent 129eb0b commit adac8ab
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/json/npcs/BG_traits.json
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,18 @@
"types": [ "BACKGROUND_SURVIVAL_STORY" ],
"flags": [ "BG_SURVIVAL_STORY" ]
},
{
"type": "mutation",
"id": "BGSS_Lost_Pilot_1",
"name": { "str": "Survivor: Ex-Pilot 1" },
"points": 0,
"description": "This NPC could tell you about how they survived the Cataclysm.",
"player_display": false,
"valid": false,
"purifiable": false,
"types": [ "BACKGROUND_SURVIVAL_STORY" ],
"flags": [ "BG_SURVIVAL_STORY" ]
},
{
"type": "mutation",
"//": "This is a unique background story trait that should not be given out randomly.",
Expand Down
6 changes: 6 additions & 0 deletions data/json/npcs/Backgrounds/backgrounds_table_of_contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,12 @@
"topic": "CWH_GUNG_HO_3_IDEAS1",
"condition": { "npc_has_trait": "BGSS_Gung_Ho_3" },
"switch": true
},
{
"text": "<BGSS_intro_question>",
"topic": "BGSS_Lost_Pilot_1_STORY1",
"condition": { "npc_has_trait": "BGSS_Lost_Pilot_1" },
"switch": true
}
]
},
Expand Down
26 changes: 26 additions & 0 deletions data/json/npcs/Backgrounds/ex_pilot_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[
{
"id": "BGSS_Lost_Pilot_1_STORY1",
"type": "talk_topic",
"dynamic_line": {
"gendered_line": "Where was I? I don't even know, what day do you think it all ended? When I thought shit was hitting the fan I took some vacation time at the airline. Next day, somebody bombed them. No shit, just like Oklahoma city in '95. Thought that was a good sign to get out so I emailed some family out in the country that I was coming over and got on the road. Didn't even make it to the interstate before I ran into the cops setting up a roadblock. I drove off the road and it all gets fuzzy from there. Next town I got to was already lynching people from the streetlights… I didn't stop for gas. Lost the car at some point, lost track of the days too. Not sure I ever got a reply to my email.",
"relevant_genders": [ "npc" ]
},
"responses": [
{ "text": "You were a pilot? Can you fly a helicopter?", "topic": "BGSS_Lost_Pilot_1_STORY2" },
{ "text": "<end_talking>", "topic": "TALK_DONE" }
]
},
{
"id": "BGSS_Lost_Pilot_1_STORY2",
"type": "talk_topic",
"dynamic_line": {
"//~": "'pot' and 'mary jane' are both slang terms for marijuana, a recreational drug that's federally illegal in the US. In several states, possessing more than a certain quantity of marijuana is considered 'possession with intent to distribute' and can incur a felony conviction. Some states also allow conviction records of non-violent drug offenses to be 'sealed' (restricted from being publicly published or considered by the court) if the convicted person does not commit further crimes.",
"str": "Uh, well probably? I flew fixed-wing for work, but my interest in flying was for helitack - uh, that's helicopter transport for firefighting teams. Anyway, I got a stupid pot conviction and that disqualified me. Took a job with the airline to keep fresh until I could finish probation and get the records sealed. Funny, you smoke some mary jane and they say you can't save lives with firefighting. But they'll let you fly a plane with hundreds of people in it, not like anyone's ever crashed one of those on purpose before. So yeah, get me a helicopter and I'd be happy to fly."
},
"responses": [
{ "text": "<done_conversation_section>", "topic": "TALK_FRIEND_CONVERSATION" },
{ "text": "<end_talking>", "topic": "TALK_DONE" }
]
}
]
11 changes: 11 additions & 0 deletions data/json/npcs/classes.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,17 @@
{ "skill": "archery", "bonus": { "rng": [ 0, 3 ] } }
]
},
{
"type": "npc_class",
"id": "NC_SCAVENGER_EX_PILOT",
"name": { "str": "Former Pilot" },
"job_description": "I just want to fly away to somewhere better.",
"common_spawn_weight": 0.3,
"traits": [ { "trait": "BGSS_Lost_Pilot_1" }, { "group": "NPC_starting_traits" }, { "group": "Appearance_demographics" } ],
"bonus_per": { "rng": [ 2, 4 ] },
"proficiencies": [ "prof_helicopter_pilot" ],
"skills": [ { "skill": "driving", "bonus": { "rng": [ 3, 5 ] } } ]
},
{
"type": "npc_class",
"id": "NC_HUNTER",
Expand Down
1 change: 1 addition & 0 deletions tools/spell_checker/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4399,6 +4399,7 @@ Ojibwe
ok
okie
Okinawan
Oklahoma
Olaf
Olam
o'lantern
Expand Down

0 comments on commit adac8ab

Please sign in to comment.