Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up[WIP] NPC Dialogue, Phase 1: Survivor Stories #26834
Conversation
mlangsdorf
added
NPC / Factions
[JSON]
labels
Nov 25, 2018
mlangsdorf
reviewed
Nov 25, 2018
|
It's a great start, and kudos to you for doing this. A couple of overall comments:
This probably too large a PR for sensible review. I burnt out around BGSS_HOSPITAL_1_STORY1. I recommend splitting it up some more - just do a single variant of each story for now, let people review it, and then come back and write some more. But all of that is relatively minor. Overall, this is great stuff and keep working at it. |
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BG_trait_groups.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
data/json/npcs/BGSS_talk.json Outdated
mlangsdorf
added this to In progress
in NPC dialog overhaul
via automation
Nov 25, 2018
mlangsdorf
changed the title
NPC Dialogue, Phase 1: Survivor Stories
[WIP] NPC Dialogue, Phase 1: Survivor Stories
Nov 25, 2018
This comment has been minimized.
This comment has been minimized.
|
Also, about your feature requests:
|
I-am-Erk
reviewed
Nov 25, 2018
Night-Pryanik
reviewed
Nov 25, 2018
data/json/npcs/BGSS_talk_common.json Outdated
Night-Pryanik
reviewed
Nov 25, 2018
data/json/npcs/BGSS_talk_common.json Outdated
Night-Pryanik
and others
added some commits
Nov 25, 2018
mlangsdorf
reviewed
Nov 25, 2018
|
Looking good, just some more minor nits. |
| "id": "TALK_LEADER", | ||
| "type": "talk_topic", | ||
| "responses": [ | ||
| { "text": "<BGSS_intro_question>", |
This comment has been minimized.
This comment has been minimized.
mlangsdorf
Nov 25, 2018
Contributor
Response lines for all the other STORY1 topics needed.
It might be worthwhile for me to build some smarts into npctalk.cpp, so that these copy-paste response lines are autogenerated. Something like you add a tag to the story1 topics with the required trait, and then TALK_LEADER reads through all off them and adds the appropriate one.
This comment has been minimized.
This comment has been minimized.
I-am-Erk
Nov 26, 2018
•
Author
Contributor
I'd appreciate that...
If I set it up like this:
`"id": "BGSS_CONFUSED_1_STORY1",
"type": "talk_topic",
"parent_topic": "TALK_LEADER",
"trigger_on_trait": "BGSS_confused_1",
"dynamic_line":`
would that provide the infrastructure you'd need to set it up?
data/json/npcs/BGSS_talk_common.json Outdated
I-am-Erk
added some commits
Nov 26, 2018
This comment has been minimized.
This comment has been minimized.
|
All the stories I have planned for this PR are entered at least enough to be publishable in an initial state. I will go about the legwork of adding in all the traits and the initial conversation calls next. After that, some of the details like NPC reactions (negative reaction for religious insult or for failing a persuasion check, adding a timer for failed persuasion checks, etc), NPC offers to sell items, and a few other little things. Things I will probably leave to future PRs: Things I'd love to see done before finishing this PR, but are still outside my skillset: |
I-am-Erk
added some commits
Nov 26, 2018
Leland
self-requested a review
Nov 27, 2018
This comment has been minimized.
This comment has been minimized.
|
Want to do a once over of the prose before this gets merged |
This comment has been minimized.
This comment has been minimized.
|
I'm not certain, but I think this is about ready for review. There are two things I just remembered it needs, before merging:
Aside from this, are there any outstanding things before it can be merged? |
I-am-Erk
added some commits
Nov 29, 2018
This comment has been minimized.
This comment has been minimized.
|
Travis is giving me the following error: Does anyone know what this means? |
This comment has been minimized.
This comment has been minimized.
|
It says this Which means you need to put this file though the web linter. |
I-am-Erk
added some commits
Nov 30, 2018
This comment has been minimized.
This comment has been minimized.
|
All checks passed! I will test this out one more time in my home copy this evening, and if anyone else wants to give it a whirl, I'm hoping it's ready to commit so that I can start making more background stories and my next step - personal histories (where did you work, who was your family). |
This comment has been minimized.
This comment has been minimized.
|
There are >7,000 words of dialogue in this PR, for the ease of review I'd recommend splitting it up. |
This comment has been minimized.
This comment has been minimized.
|
I feel like you don't appreciate my nanowrimo efforts. Do you want it split up simply for prose review, or for code? I can give the prose in a much more legible format pretty easily |
This comment has been minimized.
This comment has been minimized.
|
Consider splitting it up because its 3K lines of changes, and 1-1.5K lines of changes is around the limit for sensible review. |
This comment has been minimized.
This comment has been minimized.
|
Ok. I'll see what a logical way to split it up would be. |
This was referenced Dec 3, 2018
This comment has been minimized.
This comment has been minimized.
|
This PR can likely now be safely closed, as I have split it into four different ones that each do a single thing. |
I-am-Erk
closed this
Dec 3, 2018
NPC dialog overhaul
automation
moved this from In progress
to Done
Dec 3, 2018
This comment has been minimized.
This comment has been minimized.
|
Thanks for the split @I-am-Erk |
I-am-Erk commentedNov 25, 2018
•
edited
This is my first PR, be gentle.
Update: fixed some basic stuff
Reviewers feel free to disregard the "talk_professions" file for now. It just adds more stories. In terms of how things are actually done, talk_common includes examples of everything I'm trying to do.
Update2: OK. This should be about ready for prime time.
There is still stuff to go, some of the conversations are bare-bones, but overall it's at a point where - content wise - it could be added to master safely. I'm sure I have messed something up that will get in the way...
Summary
SUMMARY: Content "NPC Dialogue - survivor stories"Purpose of change
This will introduce 'background survivor stories' (BGSS) for NPCs.
I see this as the first phase in a wider project to give party member NPCs more personality and uniqueness, and as a side effect, to give NPCs dialogue that will flesh out the background to the cataclysm as it is seen to survivors (rather than the current rather high concept science/political stuff we mostly get).
Describe the solution
Each NPC is assigned a story trait at creation, grouped loosely based on the presumed origins of the current NPC classes.
Once in the party, NPCs gain an additional dialogue option "Let's just talk." - under header TALK_LEADER. This will open the option to ask them about how they survived the cataclysm.
Additional context
I'm submitting this as a work in progress. Not all survivor stories are complete and I am still editing them in, particularly in NPC_talk.json. This is my first JSON adventure so I am sure the coding could use some cleanup, but I have been able to get it running correctly in my home copy.
At a later date (possibly by the end of this PR) I will add more NPC classes as well to allow a wider range of survivor types and stories.
Some features that I would like to see as part of this project (not necessarily this PR):