Skip to content

Commit

Permalink
First steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse committed Oct 12, 2023
1 parent babe8b6 commit 1af7e61
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions data/mods/Xedra_Evolved/npc/hub_intercom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
[
{
"type": "talk_topic",
"id": "TALK_ROBOFAC_INTERCOM",
"insert_before_standard_exits": true,
"dynamic_line": {
"u_is_wearing": "badge_zebra",
"yes": "Our cameras identified that you're wearing a zebra badge. Are you a federal agent?"
},
"responses": [
{
"text": "Have we met before?",
"topic": "TALK_PERCHANCE_WE_HAVE",
"effect": "npc_thankful",
"opinion": { "trust": 20, "value": 20 },
"condition": {
"and": [
{ "u_is_wearing": "badge_zebra" },
{
"or": [
{ "compare_string": [ "xe_inventor", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_dreamsmith", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_eater", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_dreamer", { "context_val": "avatar_profession" } ] }
]
}
]
}
},
{
"text": "Where else would I get all this hardware?",
"topic": "TALK_OFFWORLD_TEAM",
"condition": {
"and": [
{ "u_is_wearing": "badge_zebra" },
{
"or": [
{ "compare_string": [ "xe_jotunn_hunter", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_specter", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_troll_slayer", { "context_val": "avatar_profession" } ] }
]
}
]
}
},
{
"text": "Yeah, I'm a Marshal, and I require access to this facility!",
"topic": "TALK_SPY_ROBOFAC",
"opinion": { "trust": -20, "value": -20 },
"condition": {
"and": [ { "u_is_wearing": "badge_zebra" }, { "compare_string": [ "spy", { "context_val": "avatar_profession" } ] } ]
}
},
{
"text": "Yeah, I'm a agent. Scan me.",
"topic": "TALK_AGENT_ROBOFAC",
"opinion": { "trust": -20, "value": -20 },
"condition": {
"and": [
{ "u_is_wearing": "badge_zebra" },
{ "compare_string": [ "zebra_investigator", { "context_val": "avatar_profession" } ] }
]
}
},
{
"text": "Oh yeah, I've been an agent for years… You guys should be glad that I'm here now.",
"topic": "TALK_FAKER",
"effect": "npc_thankful",
"opinion": { "trust": 20, "value": 20 },
"condition": {
"and": [
{ "u_is_wearing": "badge_zebra" },

Check failure on line 72 in data/mods/Xedra_Evolved/npc/hub_intercom.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

(all_mods)=> unrecognized condition in { "not": [ { "compare_string": [ "xe_inventor", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_dreamsmith", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_eater", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_dreamer", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "zebra_investigator", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "spy", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_jotunn_hunter", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_troll_slayer", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_specter", { "context_val": "avatar_profession" } ] } ] } "condition": { "and": [ { "u_is_wearing": "badge_zebra" }, ▲▲▲ { "not": [

Check failure on line 72 in data/mods/Xedra_Evolved/npc/hub_intercom.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

(all_mods)=> unrecognized condition in { "not": [ { "compare_string": [ "xe_inventor", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_dreamsmith", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_eater", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_dreamer", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "zebra_investigator", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "spy", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_jotunn_hunter", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_troll_slayer", { "context_val": "avatar_profession" } ] }, { "compare_string": [ "xe_specter", { "context_val": "avatar_profession" } ] } ] } "condition": { "and": [ { "u_is_wearing": "badge_zebra" }, ▲▲▲ { "not": [
{
"not": [
{ "compare_string": [ "xe_inventor", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_dreamsmith", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_eater", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_dreamer", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "zebra_investigator", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "spy", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_jotunn_hunter", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_troll_slayer", { "context_val": "avatar_profession" } ] },
{ "compare_string": [ "xe_specter", { "context_val": "avatar_profession" } ] }
]
}
]
}
},
{
"text": "",
"topic": "TALK_WOULDNT_WEAR_THAT",
"opinion": { "trust": -20, "value": -20 },
"condition": { "u_is_wearing": "badge_zebra" }
}
]
}
]

0 comments on commit 1af7e61

Please sign in to comment.