Erk
December 4, 2018, 8:50pm
16
These are all fine ideas. Take a look at
[
{
"id": "TALK_RANCH_FOREMAN",
"type": "talk_topic",
"dynamic_line": {
"u_is_wearing": "badge_marshal",
"yes": "Can I help you, marshal?",
"no": { "u_male": "Morning sir, how can I help you?", "u_female": "Morning ma'am, how can I help you?" }
},
"responses": [
{
"text": "[MISSION] The merchant at the Refugee Center sent me to get a prospectus from you.",
"topic": "TALK_RANCH_FOREMAN_PROSPECTUS",
"condition": { "and": [ { "u_has_mission": "MISSION_FREE_MERCHANTS_EVAC_3" }, { "not": { "u_has_effect": "has_prospectus" } } ] }
},
{ "text": "I heard you were setting up an outpost out here.", "topic": "TALK_RANCH_FOREMAN_OUTPOST" },
{ "text": "What's your job here?", "topic": "TALK_RANCH_FOREMAN_JOB" },
{ "text": "What do you need done?", "topic": "TALK_MISSION_LIST" },
{
"text": "I figured you might be looking for some help...",
This file has been truncated. show original
for a document explaining the basics, and
[
{
"id": "TALK_RANCH_FOREMAN",
"type": "talk_topic",
"dynamic_line": {
"u_is_wearing": "badge_marshal",
"yes": "Can I help you, marshal?",
"no": { "u_male": "Morning sir, how can I help you?", "u_female": "Morning ma'am, how can I help you?" }
},
"responses": [
{
"text": "[MISSION] The merchant at the Refugee Center sent me to get a prospectus from you.",
"topic": "TALK_RANCH_FOREMAN_PROSPECTUS",
"condition": { "and": [ { "u_has_mission": "MISSION_FREE_MERCHANTS_EVAC_3" }, { "not": { "u_has_effect": "has_prospectus" } } ] }
},
{ "text": "I heard you were setting up an outpost out here.", "topic": "TALK_RANCH_FOREMAN_OUTPOST" },
{ "text": "What's your job here?", "topic": "TALK_RANCH_FOREMAN_JOB" },
{ "text": "What do you need done?", "topic": "TALK_MISSION_LIST" },
{
"text": "I figured you might be looking for some help...",
This file has been truncated. show original
for a dialogue file that does most of the things you’re talking about. It’s fairly straightforward to implement this stuff… I found the hardest part wasn’t learning JSON, which is super easy markup language stuff, but navigating git (the tool used for merging your creations into the base game) that made it hard. If you want to do the jSON legwork, I’d be happy helping you get it on git.