From e5929d7b54714ba8c6803067c6d80ee7a082e82c Mon Sep 17 00:00:00 2001 From: Anton Simakov <67688115+GuardianDll@users.noreply.github.com> Date: Sun, 1 Sep 2024 22:11:27 +0200 Subject: [PATCH] backport #75717 --- .../robofac_intercom/robofac_intercom_prototypes.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/json/npcs/robofac/robofac_intercom/robofac_intercom_prototypes.json b/data/json/npcs/robofac/robofac_intercom/robofac_intercom_prototypes.json index b8400a803a05a..0c07a6db47be2 100644 --- a/data/json/npcs/robofac/robofac_intercom/robofac_intercom_prototypes.json +++ b/data/json/npcs/robofac/robofac_intercom/robofac_intercom_prototypes.json @@ -133,9 +133,10 @@ "effect": { "u_add_var": "u_armor_type", "type": "dialogue", "context": "hub_rnd", "value": "robofac_armor_pieces_military" }, "condition": { "and": [ - { "u_has_var": "robofac_merc_1_HWP", "type": "dialogue", "context": "robofac_merc_1", "value": "yes" }, - { "u_has_var": "u_can_buy_armor", "type": "dialogue", "context": "hub_rnd", "value": "yes" }, - { "not": { "u_has_var": "u_project_ongoing", "type": "dialogue", "context": "hub_rnd", "value": "yes" } } + { "u_has_var": "dialogue_robofac_merc_1_robofac_merc_1_HWP", "value": "yes" }, + { "not": { "u_has_var": "dialogue_hub_rnd_u_can_buy_armor", "value": "yes" } }, + { "math": [ "hub01_uhmwpe_researched", "==", "1" ] }, + { "not": { "u_has_var": "dialogue_hub_rnd_u_project_ongoing", "value": "yes" } } ] }, "topic": "TALK_ROBOFAC_INTERCOM_ARMOR_REQUEST"