1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge pull request #1104 from Refactorio/revert-1099-crash-site-artillery-wagon-changes

Revert "Crash Site: Enemy combat robots now explode when they timeout"
This commit is contained in:
grilledham 2020-11-07 19:27:17 +00:00 committed by GitHub
commit 33bcc880a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 16 deletions

View File

@ -365,7 +365,6 @@ local function do_bot_spawn(entity_name, entity, event)
end
end
-- Drops coins when biter/spitter spawners and worms are killed
local function do_coin_drop(entity_name, entity)
local position = entity.position
local bounds = entity_drop_amount[entity_name]
@ -479,17 +478,3 @@ Event.add(
set_timeout_in_ticks(1, spawn_player, player)
end
)
Event.add(
defines.events.on_combat_robot_expired,
function(event)
local entity = event.robot
local position = entity.position
if entity.force.name == 'enemy' then
entity.surface.create_entity{name = "cluster-grenade", position=position, target=position, speed=1}
end
end
)

View File

@ -1,5 +1,5 @@
require 'map_gen.maps.crash_site.blueprint_extractor'
require 'map_gen.maps.crash_site.events'
require 'map_gen.maps.crash_site.entity_died_events'
require 'map_gen.maps.crash_site.weapon_balance'
local b = require 'map_gen.shared.builders'