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:
commit
33bcc880a0
@ -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
|
||||
)
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user