I wasn’t able to make the attitude change and haven’t tried the persuasion checks. Here is my npc code if its of any help.
NC_EXPLORER.json:
[
{
"type" : "item_group",
"id" : "NC_EXPLORER_pants_male",
"items":[
["jeans", 20],
["pants", 20],
["pants_leather", 20],
["pants_cargo", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_pants_female",
"items":[
["jeans", 20],
["pants", 20],
["pants_leather", 20],
["pants_cargo", 20],
["skirt", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_shirt_male",
"items":[
["tshirt", 20],
["polo_shirt", 20],
["dress_shirt", 20],
["tank_top", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_shirt_female",
"items":[
["tshirt", 20],
["polo_shirt", 20],
["dress_shirt", 20],
["tank_top", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_gloves",
"items":[
["null", 60],
["gloves_leather", 20],
["gloves_fingerless", 20],
["fire_gauntlets", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_coat",
"items":[
["null", 20],
["hoodie", 20],
["jacket_light", 20],
["jacket_leather", 20],
["trenchcoat", 20],
["jacket_jean", 20],
["kevlar", 5]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_shoes",
"items":[
["sneakers", 20],
["boots", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_masks",
"items":[
["null", 80],
["mask_dust", 10],
["bandana", 10],
["mask_filter", 10]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_eyes",
"items":[
["null", 80],
["glasses_safety", 20],
["sunglasses", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_hat",
"items":[
["null", 80],
["hat_ball", 10],
["hat_hard", 10],
["helmet_bike", 10],
["helmet_riot", 10],
["helmet_motor", 10],
["hat_hunting", 10]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_extra",
"items":[
["null", 5],
["backpack", 25],
["backpack_leather", 25],
["rucksack", 5]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_bashing",
"items":[
["hammer", 20],
["wrench", 20],
["hammer_sledge", 20],
["pipe", 20],
["bat", 20],
["crowbar", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_cutting",
"items":[
["knife_butcher", 20],
["hatchet", 20],
["ax", 20],
["machete", 20],
["knife_combat", 20],
["katana", 20]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_stabbing",
"items":[
["spear_knife", 50]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_throw",
"items":[
["throwing_knife", 50],
["throwing_axe", 50]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_archery",
"items":[
["crossbow", 5]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_pistols",
"items":[
["usp_9mm", 30],
["m9", 70]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_shotgun",
"items":[
["shotgun_sawn", 50],
["mossberg_500", 50]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_smg",
"items":[
["uzi", 50],
["tec9", 50]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_rifle",
"items":[
["m4a1", 35],
["m14a", 35],
["ak47", 35]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_launcher",
"items":[
["flamethrower",50]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_weapon_random",
"items":[
["q_staff", 100]
]
},{
"type" : "item_group",
"id" : "NC_EXPLORER_misc",
"items":[
["trenchcoat", 25],
["gloves_fingerless", 30],
["mask_hockey", 20],
["flamethrower_crude", 20],
["flamethrower_simple", 20],
["pipebomb", 40],
["molotov", 100],
["ref_lighter", 30],
["lighter", 30],
["matches", 30],
["firecracker_pack", 50],
["firecracker", 30],
["dynamite", 50],
["rebar", 100],
["matchbomb", 50]
]
}
]
npc.json:
[{
"type" : "npc",
"id" : "explorer",
"comment" : "Appears in the in Bio-Weapon Lab to aid you.",
"name+" : ", Explorer",
"comment" : "Gender is only referenced when the npc has a complete unique name",
"gender" : "female",
"class" : 11,
"attitude" : 0,
"mission" : 0,
"chat" : "TALK_EXPLORER",
"faction" : "wasteland_scavengers"
}
]
TALK_EXPLORER.json:
[
{
"type": "talk_topic",
"id": "TALK_EXPLORER",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "You just came out of that vat...you are one of them?! You are a Bio-Weapon!",
"no": "Hey, you there, did you see the Bio-Weapons leave?"
},
"responses": [
{
"text": "Yeah, I am one of them.",
"topic": "TALK_EXPLORER_IAM_BIO"
},
{
"text": "Bio-Weapon?",
"topic": "TALK_EXPLORER_ASK_BIO"
},
{
"text": "What are you doing here?",
"topic": "TALK_EXPLORER_ASK_DOING"
},
{
"text": "What should we do?",
"topic": "TALK_EXPLORER_ASK_DO"
},
{
"text": "Can I join you?",
"topic": "TALK_EXPLORER_ASK_JOIN"
},
{
"text": "Well, bye.",
"topic": "TALK_DONE"
}
]
}, {
"type": "talk_topic",
"id": "TALK_EXPLORER_IAM_BIO",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "Incredible, I knew they would survive this mess, but I never thought I would meet one. If you need company I will gladly help you!",
"no": "Suuuure,right. Try and be careful who you lie to next time... "
},
"responses": [
{
"text": "I'll keep that in mind...",
"topic": "TALK_EXPLORER"
}
]
}, {
"type": "talk_topic",
"id": "TALK_EXPLORER_ASK_BIO",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "You are kidding right? The Bio-Weapon program you were part of, you really don't know?",
"no": "So you don't know about them huh...maybe I am wasting my time...but you did find this place so you know what you are doing..."
},
"responses": [
{
"text": "Sorry I don't know about it, but could you explain it to me?",
"topic": "TALK_EXPLORER_EXPLAIN_BIO"
}, {
"text": "What ever it is, I really don't care.",
"topic": "TALK_EXPLORER_NOCARE"
}
]
}, {
"type": "talk_topic",
"id": "TALK_EXPLORER_EXPLAIN_BIO",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "I guess they wiped you memory, makes sense. Sure I will explain. Some time ago, the military paid many reaserch center to form a joined force to create a personel capable of doing specific tasks. They wanted them do said task with as little aid of equipment as possible. So they created people with specic mutations and bionics to do the tasks the military required. You are one of these individuals, a Bio-Weapon. This is the lab you were created.",
"no": "Well you did make it here and asked nicely so sure I will explain. Some time ago, the military paid many reaserch center to form a joined force to create a personel capable of doing specific tasks. They wanted them do said task with as little aid of equipment as possible. So they created people with specic mutations and bionics to do the tasks the military required. This lab here is were they were made so I came here to see if they were still in their vats."
},
"responses": [
{
"text": "I'll be damned...",
"topic": "TALK_EXPLORER"
},
{
"text": "How did you learn all this?",
"topic": "TALK_EXPLORER_ASK_LEARN"
}
]
},
{
"type": "talk_topic",
"id": "TALK_EXPLORER_ASK_LEARN",
"dynamic_line": "I used to be a computer hacker before the world went to hell. After it did, when I wasn't seraching for food and gear or fighting these mnosters I was following leads to this place. The military did not invest in its security.",
"responses": [
{
"text": "I see.",
"topic": "TALK_EXPLORER"
}
]
}, {
"type": "talk_topic",
"id": "TALK_EXPLORER_NOCARE",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "Really? Well it makes sense. If I had awoken suddenly to an attack of monsters I really would need a minute as well.",
"no": "Well then, so you just stumbled into this place by accident then huh? Guess I am the only one who care about this with the cataclysm and all..."
},
"responses": [
{
"text": "I guess you are right.",
"topic": "TALK_EXPLORER"
}
]
},
{
"type": "talk_topic",
"id": "TALK_EXPLORER_ASK_DOING",
"dynamic_line": "I reached this place to see if I could find anything on the Bio-Weapons. How about yourself?",
"responses": [
{
"text": "I have no idea.",
"topic": "TALK_EXPLORER"
}
]
},
{
"type": "talk_topic",
"id": "TALK_EXPLORER_ASK_DO",
"dynamic_line": "We could always join forces to try and survive this hell hole. I would love to get more info on the Bio-Weapons I reached a dead end. Maybe you could help me out and I can help you survive.",
"responses": [
{
"text": "I'll think about it...",
"topic": "TALK_EXPLORER"
}
]
}, {
"type": "talk_topic",
"id": "TALK_EXPLORER_ASK_JOIN",
"dynamic_line": {
"u_is_wearing": "badge_bio_weapon",
"yes": "Sure! It would be an honor to be you appocalypse buddy. Together, we will surely survive this hell hole. Maybe we might even find out more about you!",
"no": "Sure, I am running low on supplies and the fact that you made it here lets me know you are well capable. Just help me out with my research ok?"
},
"responses": [ { "text": "Lets go then.", "attitude": 3 , "topic": "TALK_AGREE_FOLLOW" } } ]
} ]