Skip to content

Commit

Permalink
NPCs: Update the NPC tutorial including faction camps (#35355)
Browse files Browse the repository at this point in the history
* NPCs: update the tutorial with activities, mutiny, and factions

Update the in-dialogue NPC tutorial to reflect the recent changes
in activities, mutiny, and factions.

* NPCs: substantially rework the faction camp in-dialogue tutorial

Faction camps have changed a lot, so bring the tutorial up to the current
state of the art.
  • Loading branch information
mlangsdorf authored and ZhilkinSerg committed Nov 9, 2019
1 parent 99d9bdf commit 524ae37
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 29 deletions.
45 changes: 37 additions & 8 deletions data/json/npcs/TALK_ALLY_TUTORIAL.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
{
"id": "TALK_ALLY_TUTORIAL",
"type": "talk_topic",
"dynamic_line": "I'm my own person, but I'm willing to follow your lead. I can do a lot of things for you: I can fight, I can train you or you can train me, I can carry stuff, I can bandage your wounds, I can build faction camps, I can do some other activites, I can ride horses, I can go places, I can guard things, I can use some bionics, I can even chit-chat with you or give you tips or talk about my background. You can give me instructions in conversation or by radio or shout commands at me.\n What do you want to know more about?",
"dynamic_line": "I'm my own person, but I'm mostly willing to follow your lead. I can do a lot of things for you: I can fight, I can train you or you can train me, I can carry stuff, I can bandage your wounds, I can build faction camps, I can do some other activites, I can ride horses, I can go places, I can guard things, I can use some bionics, I can even chit-chat with you or give you tips or talk about my background. You can give me instructions in conversation or by radio or shout commands at me.\n What do you want to know more about?",
"responses": [
{ "text": "Forget I asked.", "topic": "TALK_FRIEND" },
{ "text": "Skip it, let's get going.", "topic": "TALK_DONE" },
{ "text": "What do you mean, \"mostly\" willing to follow my lead?", "topic": "TALK_ALLY_TUTORIAL_MUTINY" },
{ "text": "What's that about giving instructions?", "topic": "TALK_ALLY_TUTORIAL_TALK" },
{ "text": "We can talk with radios?", "topic": "TALK_ALLY_TUTORIAL_RADIO" },
{ "text": "How do shouted commands work?", "topic": "TALK_ALLY_TUTORIAL_SHOUTS" },
Expand All @@ -23,10 +24,19 @@
{ "text": "What do you do as a guard?", "topic": "TALK_ALLY_TUTORIAL_GUARD" },
{ "text": "You can use bionics? How does that work?", "topic": "TALK_ALLY_TUTORIAL_CBMS" },
{ "text": "What about chit-chatting and your background?", "topic": "TALK_ALLY_TUTORIAL_SOCIAL" },
{ "text": "Anything else I should know?", "topic": "TALK_ALLY_TUTORIAL_MISC" },
{
"text": "Anything else I should know, like making you pulp zombies or assigning you a seat in my vehicle?",
"topic": "TALK_ALLY_TUTORIAL_MISC"
},
{ "text": "Any new abilities recently?", "topic": "TALK_ALLY_TUTORIAL_CHANGES" }
]
},
{
"id": "TALK_ALLY_TUTORIAL_MUTINY",
"type": "talk_topic",
"dynamic_line": "You and me, we better stick together to survive, right? But that doesn't mean I'll tolerate infinite abuse. Mistreat me too much, or especially fail to keep me fed, and I'll like you less and less. If it gets bad enough, I'll mutiny - and if you have anyone else following you, I may convince some of them to join my mutiny and we'll form our own little band.\n Obviously, if I quit in a huff, there's going to be bad blood between us, and you're probably going to want to kill me for betrayal and I may need to kill you to get my fair share of the loot. So keep me fed and satisfied so it doesn't come to that.",
"responses": [ { "text": "Sure. Is there any easy way to keep you fed?", "topic": "TALK_CAMP_TUTORIAL_INTRO" } ]
},
{
"id": "TALK_ALLY_TUTORIAL_TALK",
"type": "talk_topic",
Expand Down Expand Up @@ -73,7 +83,7 @@
{
"id": "TALK_ALLY_TUTORIAL_TRAINING",
"type": "talk_topic",
"dynamic_line": "If I'm better at a skill than you, I can help you improve. But it's boring to teach a lot, so I'm not going to do it very often. And I'm not going to do it when we're in danger or if I'm hungry or tired or if you're driving.\n If we're someplace safe and you're reading a book that improves skills, I'll listen if I don't have that skill. You can even read me books for skills that you already have.",
"dynamic_line": "If I'm better at a skill than you, I can help you improve. But it's boring to teach a lot, so I'm not going to do it very often. And I'm not going to do it when we're in danger or if I'm hungry or tired or if you're driving.\n If we're someplace safe and you're reading a book that improves skills, I'll listen if I don't have that skill. You can even read me books for skills that you already have.\n If you give me a book that teaches a skill and that's accessible to someone with my current skill, you can ask me about my current activity and tell me to read it, and I'll learn from the book. But while I'm reading, I won't be following you around, so make sure I'm in a safe place.\n And don't bother asking me about learning or teaching martial arts style. My brain just doesn't work that way, so I don't know any to teach you and it's pointless trying to get me to learn any.",
"responses": [ { "text": "Instead of reading to you, can we just talk?", "topic": "TALK_ALLY_TUTORIAL_SOCIAL" } ]
},
{
Expand All @@ -100,7 +110,7 @@
{
"id": "TALK_ALLY_TUTORIAL_ACTIVITIES",
"type": "talk_topic",
"dynamic_line": "I can help with some tasks if you show me where to work.\n Use the zone manager (keybind 'Y') to set up sorting zones for your loot, or to draw blueprints for a building, or to define where you want to plant some crops, or where you'd like some trees cut down, or where you want a vehicle dismantled. Then tell me to sort stuff, or build stuff, or cut down trees, or dismantle a vehicle or do farmwork, and I'll go off and do my best to get what you want done. If I need tools, you should leave them pretty close to where you want me to work - axes for logging, shovels and seeds and fertilizer for farming, wrenches and hacksaws or a toolbox to take apart a vehicle. I can pretty much sort out our stuff without needing tools, but keep the piles of unsorted and sorted stuff kind of close together because I don't want to walk back and forth carrying junk too much.",
"dynamic_line": "I can help with some tasks if you show me where to work.\n Use the zone manager (keybind 'Y') to set up sorting zones for your loot, or to draw blueprints for a building, or to define where you want to plant some crops, or where you'd like some trees cut down, or where you want a vehicle dismantled or repaired, or a good fishing spot. Then talk to me about my current activity and tell me to sort stuff, or build stuff, or cut down trees, or repair or dismantle a vehicle, or do farmwork, or catch some fish, and I'll go off and do my best to get what you want done.\n If I need tools, you should leave them in a loot zone near where you want me to work - axes for logging, shovels and seeds and fertilizer for farming, wrenches and hacksaws or a toolbox to take apart a vehicle. I promise to put stuff back in an unsorted loot zone when I'm finished.\n I can pretty much sort out our stuff without needing tools, but keep the piles of unsorted and sorted stuff kind of close together because I don't want to walk back and forth carrying junk too much.",
"responses": [
{ "text": "Good to know. Can you perform first aid?", "topic": "TALK_ALLY_TUTORIAL_MEDIC" },
{ "text": "What about carrying stuff in general?", "topic": "TALK_ALLY_TUTORIAL_MULE" },
Expand All @@ -127,8 +137,11 @@
{
"id": "TALK_ALLY_TUTORIAL_GUARD",
"type": "talk_topic",
"dynamic_line": "You tell me to guard, I'll stay where I am and guard it - unless I'm in a vehicle, in which case I'll stick with the vehicle.\n I'm not a potted plant, though, so if I hear something dangerous happening, I'm going to go see what it is instead of getting jumped in the dark. If you want me to stay put, tell me not to investigate noises - but if I get shot by some bandit because I can't see where he is and you don't want me to go looking, I won't be happy.\n You can also use the zone manager (keybind 'Y') to set up no-investigate zone, so if there's some monsters behind a door that you know about, I can ignore them. You can also set on an investigate-only zone, and I won't investigate noises coming from outside the zone. The no-investigate zone takes precedence over the investigate-only, if there's a noise coming from some place in both zones. And if you've got an investigate-only zone set anywhere, even if it's far away, I won't investigate noises coming from outside of it, so be careful with those zones. Like I said, I don't want to get sniped by some bandit because you told me not to go looking for him - but I also don't want to go investigate something pounding at door only to find out it's some horrible monster you forgot to warn me about.",
"responses": [ { "text": "Just in case - how else can I tell you to stay put?", "topic": "TALK_ALLY_TUTORIAL_MISC" } ]
"dynamic_line": "You tell me to guard, I'll stay where I am and guard it - unless I'm in a vehicle, in which case I'll stick with the vehicle. I might not be able to sop a horde of zombies, but I can keep people other people from stealing our stuff. Well, unless they try to kill me.\n Also, I'm not a potted plant, so if I hear something dangerous happening, I'm going to go see what it is instead of getting jumped in the dark. If you want me to stay put, tell me not to investigate noises - but if I get shot by some bandit because I can't see where he is and you don't want me to go looking, I won't be happy.\n You can also use the zone manager (keybind 'Y') to set up no-investigate zone, so if there's some monsters behind a door that you know about, I can ignore them. You can also set on an investigate-only zone, and I won't investigate noises coming from outside the zone. The no-investigate zone takes precedence over the investigate-only, if there's a noise coming from some place in both zones. And if you've got an investigate-only zone set anywhere, even if it's far away, I won't investigate noises coming from outside of it, so be careful with those zones. Like I said, I don't want to get sniped by some bandit because you told me not to go looking for him - but I also don't want to go investigate something pounding at door only to find out it's some horrible monster you forgot to warn me about.",
"responses": [
{ "text": "Just in case - how else can I tell you to stay put?", "topic": "TALK_ALLY_TUTORIAL_MISC" },
{ "text": "Hang on, other people can steal our stuff?", "topic": "TALK_ALLY_TUTORIAL_OTHER_FACTIONS" }
]
},
{
"id": "TALK_ALLY_TUTORIAL_CBMS",
Expand Down Expand Up @@ -161,14 +174,28 @@
}
]
},
{
"id": "TALK_ALLY_TUTORIAL_OTHER_FACTIONS",
"type": "talk_topic",
"dynamic_line": "Just about everyone is dead, but some people survived, right? But just like you go around breaking into houses and taking whatever you think you need or want, well, other survivors do the same thing. And that stack of loot you've been accumulating looks just like some random dead person's loot when it's left alone. If some other scavenger comes around and sees that loot, and you or I or another ally isn't around to claim it, that other survivor is just going to take it. So try to detail someone to watch your stuff - whether its at a base or in a vehicle.\n Also, we've teamed up to better our chances of survival. Other people are going to do the same, forming little factions just like we did. If you open the faction manager (keybind '#'), you can see a list of all your allies, as well as all the other factions you've met so far. Some factions are really just some guy trying to survive on his own, but other factions have dozens of members and fortified bases and such. You might want to find some of them and try to make friends with them.",
"responses": [
{ "text": "Anything else I can do in the faction manager?", "topic": "TALK_ALLY_TUTORIAL_RADIO" },
{ "text": "Is there any way we can build base for our faction?", "topic": "TALK_CAMP_TUTORIAL_INTRO" }
]
},
{
"id": "TALK_ALLY_TUTORIAL_CHANGES",
"type": "talk_topic",
"dynamic_line": "Well, this conversation is pretty new! But there's been some other changes.\n I've been able to install CBMs on you, and have passive bionics installed in me, for a while. But now I can use some active bionics, and I can explain some details on how I use bionics.\n I can also ride horses, and you can give me orders to do things like farmwork, cutting trees, or even building houses from a blueprint.",
"dynamic_line": "Well, this conversation is pretty new! But there's been some other changes.\n I've been able to install CBMs on you, and have passive bionics installed in me, for a while. But now I can use some active bionics, and I can explain some details on how I use bionics.\n I can also ride horses, and you can give me orders to do things like farmwork, cutting trees, or even building houses from a blueprint.\n I can even read books to improve my skills, so you don't have to spend time reading to me.\n If you've got a faction camp, and we're near it, I'll eat from the camp's food reserves when I'm hungry. And if the camp has a well, I'll drink from the well when thirsty. Be careful, though - if other people are out on missions, I may eat the food they expected to eat when they got done!",
"responses": [
{ "text": "You can use bionics? How does that work?", "topic": "TALK_ALLY_TUTORIAL_CBMS" },
{ "text": "You can ride horses? Can I ride horses?", "topic": "TALK_ALLY_TUTORIAL_HORSES" },
{ "text": "Tell me more about the activities you can do now.", "topic": "TALK_ALLY_TUTORIAL_ACTIVITIES" }
{ "text": "Tell me more about the activities you can do now.", "topic": "TALK_ALLY_TUTORIAL_ACTIVITIES" },
{
"text": "Hey, you can teach yourself from a book. How does that work?",
"topic": "TALK_ALLY_TUTORIAL_TRAINING"
},
{ "text": "Tell me about faction camps.", "topic": "TALK_CAMP_TUTORIAL_INTRO" }
]
},
{
Expand All @@ -183,6 +210,8 @@
"TALK_ALLY_TUTORIAL_HORSES",
"TALK_ALLY_TUTORIAL_MEDIC",
"TALK_ALLY_TUTORIAL_MOVEMENT",
"TALK_ALLY_TUTORIAL_MUTINY",
"TALK_ALLY_TUTORIAL_OTHER_FACTIONS",
"TALK_ALLY_TUTORIAL_GUARD",
"TALK_ALLY_TUTORIAL_CBMS",
"TALK_ALLY_TUTORIAL_SOCIAL",
Expand Down
Loading

0 comments on commit 524ae37

Please sign in to comment.