mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-03 13:12:11 +02:00
Merge pull request #137 from ComfyFactory/minor_fix
mtn v3 - minor adjustments as per request
This commit is contained in:
commit
a477918fc4
@ -311,9 +311,29 @@ 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}})
|
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)
|
WPT.set('alert_zone_1', true)
|
||||||
rendering.draw_text {
|
rendering.draw_text {
|
||||||
text = 'Breaching this wall will start collapse.',
|
text = 'Breaching the far side wall will start collapse.',
|
||||||
surface = surface,
|
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',
|
||||||
|
alignment = 'center',
|
||||||
|
scale_with_zoom = false
|
||||||
|
}
|
||||||
|
rendering.draw_text {
|
||||||
|
text = 'Breaching the far side wall will start collapse',
|
||||||
|
surface = surface,
|
||||||
|
target = {-180, p.y + 35},
|
||||||
|
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 the far side wall will start collapse',
|
||||||
|
surface = surface,
|
||||||
|
target = {180, p.y + 35},
|
||||||
color = {r = 0.98, g = 0.66, b = 0.22},
|
color = {r = 0.98, g = 0.66, b = 0.22},
|
||||||
scale = 8,
|
scale = 8,
|
||||||
font = 'heading-1',
|
font = 'heading-1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user