From 449b4bc7db50c12f267203794b21527d29070fff Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Fri, 15 Oct 2021 17:19:42 +0200 Subject: [PATCH 1/2] mtn v3 - minor adjustments as per request --- maps/mountain_fortress_v3/terrain.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/maps/mountain_fortress_v3/terrain.lua b/maps/mountain_fortress_v3/terrain.lua index 5225eb1e..7bba4bad 100644 --- a/maps/mountain_fortress_v3/terrain.lua +++ b/maps/mountain_fortress_v3/terrain.lua @@ -320,6 +320,26 @@ local function wall(p, data) alignment = 'center', scale_with_zoom = false } + rendering.draw_text { + text = 'Breaching this wall will start collapse.', + surface = surface, + target = {-180, p.y - 10}, + color = {r = 0.98, g = 0.66, b = 0.22}, + scale = 8, + font = 'heading-1', + alignment = 'center', + scale_with_zoom = false + } + rendering.draw_text { + text = 'Breaching this wall will start collapse.', + surface = surface, + target = {180, p.y - 10}, + color = {r = 0.98, g = 0.66, b = 0.22}, + scale = 8, + font = 'heading-1', + alignment = 'center', + scale_with_zoom = false + } end end else From 1e61fe2459c1914c29628adbbc5749c0c57264f3 Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Fri, 15 Oct 2021 17:27:10 +0200 Subject: [PATCH 2/2] mtn v3 - minor text change --- maps/mountain_fortress_v3/terrain.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/maps/mountain_fortress_v3/terrain.lua b/maps/mountain_fortress_v3/terrain.lua index 7bba4bad..0bb22779 100644 --- a/maps/mountain_fortress_v3/terrain.lua +++ b/maps/mountain_fortress_v3/terrain.lua @@ -311,9 +311,9 @@ local function wall(p, data) surface.create_entity({name = 'electric-beam', position = {x_min, p.y}, source = {x_min, p.y}, target = {x_max, p.y}}) WPT.set('alert_zone_1', true) rendering.draw_text { - text = 'Breaching this wall will start collapse.', + text = 'Breaching the far side wall will start collapse.', surface = surface, - target = {0, p.y - 10}, + target = {0, p.y + 35}, color = {r = 0.98, g = 0.66, b = 0.22}, scale = 8, font = 'heading-1', @@ -321,9 +321,9 @@ local function wall(p, data) scale_with_zoom = false } rendering.draw_text { - text = 'Breaching this wall will start collapse.', + text = 'Breaching the far side wall will start collapse', surface = surface, - target = {-180, p.y - 10}, + target = {-180, p.y + 35}, color = {r = 0.98, g = 0.66, b = 0.22}, scale = 8, font = 'heading-1', @@ -331,9 +331,9 @@ local function wall(p, data) scale_with_zoom = false } rendering.draw_text { - text = 'Breaching this wall will start collapse.', + text = 'Breaching the far side wall will start collapse', surface = surface, - target = {180, p.y - 10}, + target = {180, p.y + 35}, color = {r = 0.98, g = 0.66, b = 0.22}, scale = 8, font = 'heading-1',