mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Merge branch 'scenario/diggy' of github.com:iltar/RedMew into scenario/diggy
This commit is contained in:
commit
ed58437b9a
@ -43,7 +43,7 @@ local stress_map_check_stress_in_threshold
|
|||||||
local support_beam_entities
|
local support_beam_entities
|
||||||
local on_surface_created
|
local on_surface_created
|
||||||
|
|
||||||
local stress_threshold_causing_collapse = 0.9
|
local stress_threshold_causing_collapse = 0.91
|
||||||
|
|
||||||
local deconstruction_alert_message_shown = {}
|
local deconstruction_alert_message_shown = {}
|
||||||
local stress_map_storage = {}
|
local stress_map_storage = {}
|
||||||
@ -345,8 +345,14 @@ function DiggyCaveCollapse.register(cfg)
|
|||||||
|
|
||||||
if (nil ~= support_beam_entities[event.entity.name]) then
|
if (nil ~= support_beam_entities[event.entity.name]) then
|
||||||
require 'popup'.player(
|
require 'popup'.player(
|
||||||
game.players[event.player_index],
|
game.players[event.player_index],[[
|
||||||
'Mining entities such as walls, stone paths, concrete \nand rocks, can cause a cave-in, be careful miner!'
|
Mining entities such as walls, stone paths, concrete
|
||||||
|
and rocks, can cause a cave-in, be careful miner!
|
||||||
|
|
||||||
|
Foreman's advice: Place a wall every 4th tile to
|
||||||
|
prevent a cave-in. Use stone paths and concrete
|
||||||
|
to reinforce it further.
|
||||||
|
]]
|
||||||
)
|
)
|
||||||
deconstruction_alert_message_shown[event.player_index] = true
|
deconstruction_alert_message_shown[event.player_index] = true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user