From 80e8545c26ae3edf12ea5be67fce589b22f18b91 Mon Sep 17 00:00:00 2001 From: Anton Simakov <67688115+GuardianDll@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:09:33 +0100 Subject: [PATCH] fix --- .../TALK_lumbermill_fabricate.json | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/data/json/npcs/lumbermill_employees/TALK_lumbermill_fabricate.json b/data/json/npcs/lumbermill_employees/TALK_lumbermill_fabricate.json index d9c0d7c81c723..aa284d9466f07 100644 --- a/data/json/npcs/lumbermill_employees/TALK_lumbermill_fabricate.json +++ b/data/json/npcs/lumbermill_employees/TALK_lumbermill_fabricate.json @@ -90,34 +90,28 @@ "text": "[x20 , $1 a piece, max 200]", "show_always": true, "condition": { "math": [ "n_number_fabricate_2x4", "<", "200" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "2x4", "batch": "20", "cost": "1" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "2x4", "batch": "20", "cost": "1" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x20 , $0.7 a piece, max 200]", "show_always": true, "condition": { "math": [ "n_number_fabricate_plank_short", "<", "200" ] }, - "effect": { - "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", - "variables": { "name": "plank_short", "batch": "20", "cost": "0.7" } - }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "plank_short", "batch": "20", "cost": "0.7" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x20 , $1.5 a piece, max 200]", "show_always": true, "condition": { "math": [ "n_number_fabricate_plank_long", "<", "200" ] }, - "effect": { - "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", - "variables": { "name": "plank_long", "batch": "20", "cost": "1.5" } - }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "plank_long", "batch": "20", "cost": "1.5" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x10 , $1 a piece, max 100]", "show_always": true, "condition": { "math": [ "n_number_fabricate_wooden_post", "<", "100" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wooden_post", "batch": "10", "cost": "1" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wooden_post", "batch": "10", "cost": "1" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { @@ -125,7 +119,7 @@ "show_always": true, "condition": { "math": [ "n_number_fabricate_wooden_post_short", "<", "100" ] }, "effect": { - "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", + "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wooden_post_short", "batch": "10", "cost": "0.7" } }, "topic": "TALK_LUMBERMILL_FABRICATE" @@ -135,7 +129,7 @@ "show_always": true, "condition": { "math": [ "n_number_fabricate_wooden_post_long", "<", "100" ] }, "effect": { - "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", + "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wooden_post_long", "batch": "10", "cost": "1.5" } }, "topic": "TALK_LUMBERMILL_FABRICATE" @@ -144,28 +138,28 @@ "text": "[x5 , $8 a piece, max 100]", "show_always": true, "condition": { "math": [ "n_number_fabricate_wood_panel", "<", "100" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_panel", "batch": "5", "cost": "8" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_panel", "batch": "5", "cost": "8" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x5 , $16 a piece, max 100]", "show_always": true, "condition": { "math": [ "n_number_fabricate_wood_sheet", "<", "100" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_sheet", "batch": "5", "cost": "16" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_sheet", "batch": "5", "cost": "16" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x1 , $20 a piece, max 50]", "show_always": true, "condition": { "math": [ "n_number_fabricate_wood_beam", "<", "50" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_beam", "batch": "1", "cost": "20" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "wood_beam", "batch": "1", "cost": "20" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, { "text": "[x5 , $5 a piece, max 100]", "show_always": true, "condition": { "math": [ "n_number_fabricate_log", "<", "100" ] }, - "effect": { "run_eoc_with": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "log", "batch": "5", "cost": "5" } }, + "effect": { "run_eocs": "EOC_LUMBERMILL_FABRICATE_order", "variables": { "name": "log", "batch": "5", "cost": "5" } }, "topic": "TALK_LUMBERMILL_FABRICATE" }, {