Skip to content

Commit 12a9782

Browse files
Merge pull request CleverRaven#78457 from SariusSkelrets/Alonso_is_fun
Relaxing with Alonso is now fun
2 parents 237ae0e + d201e71 commit 12a9782

File tree

1 file changed

+55
-5
lines changed

1 file changed

+55
-5
lines changed

data/json/npcs/refugee_center/surface_refugees/NPC_Alonso_Lautrec.json

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,14 @@
120120
"topic": "TALK_REFUGEE_Alonso_Pretty_Action",
121121
"condition": {
122122
"and": [
123-
{ "u_has_trait": "PRETTY" },
123+
{
124+
"or": [
125+
{ "u_has_trait": "PRETTY" },
126+
{ "u_has_trait": "BEAUTIFUL" },
127+
{ "u_has_trait": "BEAUTIFUL2" },
128+
{ "u_has_trait": "BEAUTIFUL3" }
129+
]
130+
},
124131
{ "npc_has_effect": "Alonso_pants_restored" },
125132
{ "math": [ "u_val('age') >= 18" ] },
126133
{ "u_has_item": "condom" }
@@ -133,7 +140,13 @@
133140
"condition": {
134141
"and": [
135142
{ "not": { "u_has_trait": "PRETTY" } },
143+
{ "not": { "u_has_trait": "BEAUTIFUL" } },
144+
{ "not": { "u_has_trait": "BEAUTIFUL2" } },
145+
{ "not": { "u_has_trait": "BEAUTIFUL3" } },
136146
{ "not": { "u_has_trait": "UGLY" } },
147+
{ "not": { "u_has_trait": "DEFORMED" } },
148+
{ "not": { "u_has_trait": "DEFORMED2" } },
149+
{ "not": { "u_has_trait": "DEFORMED3" } },
137150
{ "npc_has_effect": "Alonso_pants_restored" },
138151
{ "math": [ "u_val('age') >= 18" ] },
139152
{ "u_has_item": "condom" }
@@ -145,7 +158,14 @@
145158
"topic": "TALK_REFUGEE_Alonso_Ugly_Action",
146159
"condition": {
147160
"and": [
148-
{ "u_has_trait": "UGLY" },
161+
{
162+
"or": [
163+
{ "u_has_trait": "UGLY" },
164+
{ "u_has_trait": "DEFORMED" },
165+
{ "u_has_trait": "DEFORMED2" },
166+
{ "u_has_trait": "DEFORMED3" }
167+
]
168+
},
149169
{ "npc_has_effect": "Alonso_pants_restored" },
150170
{ "math": [ "u_val('age') >= 18" ] },
151171
{ "u_has_item": "condom" }
@@ -369,7 +389,17 @@
369389
},
370390
"speaker_effect": {
371391
"sentinel": "service_provided",
372-
"effect": [ { "u_add_effect": "al_relaxed", "duration": 400 }, { "u_consume_item": "condom" } ]
392+
"effect": [
393+
{ "u_add_effect": "al_relaxed", "duration": 400 },
394+
{
395+
"u_add_morale": "morale_feeling_good",
396+
"bonus": 20,
397+
"max_bonus": 30,
398+
"duration": "7 minutes",
399+
"decay_start": "6 minutes"
400+
},
401+
{ "u_consume_item": "condom" }
402+
]
373403
},
374404
"responses": [
375405
{ "text": "Sigh. <done_conversation_section>", "topic": "TALK_NONE" },
@@ -395,7 +425,17 @@
395425
},
396426
"speaker_effect": {
397427
"sentinel": "service_provided",
398-
"effect": [ { "u_add_effect": "al_relaxed", "duration": 360 }, { "u_consume_item": "condom" } ]
428+
"effect": [
429+
{ "u_add_effect": "al_relaxed", "duration": 360 },
430+
{
431+
"u_add_morale": "morale_feeling_good",
432+
"bonus": 20,
433+
"max_bonus": 30,
434+
"duration": "6 minutes",
435+
"decay_start": "5 minutes"
436+
},
437+
{ "u_consume_item": "condom" }
438+
]
399439
},
400440
"responses": [
401441
{ "text": "Sigh. <done_conversation_section>", "topic": "TALK_NONE" },
@@ -421,7 +461,17 @@
421461
},
422462
"speaker_effect": {
423463
"sentinel": "service_provided",
424-
"effect": [ { "u_add_effect": "al_relaxed", "duration": 300 }, { "u_consume_item": "condom" } ]
464+
"effect": [
465+
{ "u_add_effect": "al_relaxed", "duration": 300 },
466+
{
467+
"u_add_morale": "morale_feeling_good",
468+
"bonus": 20,
469+
"max_bonus": 30,
470+
"duration": "5 minutes",
471+
"decay_start": "4 minutes"
472+
},
473+
{ "u_consume_item": "condom" }
474+
]
425475
},
426476
"responses": [
427477
{ "text": "Sigh. <done_conversation_section>", "topic": "TALK_NONE" },

0 commit comments

Comments
 (0)