1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-02-15 13:53:13 +02:00

Deprecating spidertron control and landfill features

This commit is contained in:
RedRafe 2024-10-22 17:50:27 +02:00
parent a193d91305
commit ed89762ba1
14 changed files with 18 additions and 12 deletions

View File

@ -58,9 +58,9 @@ storage.config = {
enabled = false,
cost = 100
},
-- Allows removing landfill using the deconstruction planner.
-- Allows removing landfill using the deconstruction planner. Built-in for 2.0
landfill_remover = {
enabled = true,
enabled = false,
-- The tile that is used to replace landfill when it is removed.
revert_tile = 'water-mud'
},
@ -436,8 +436,9 @@ storage.config = {
print_to_discord = true, -- print a message to the discord channel when the player force finishes a new research.
ignore_script = false -- ignore researches unlocked by commands or by code.
},
-- Control groups of spiders with a decon planner. Built-in for 2.0
spidertron_group_control = {
enabled = true
enabled = false
},
donator = {
donator_perks = {

View File

@ -1,3 +1,4 @@
-- Module deprecated in 2.0, became a built-in feature
-- This feature allows players to remove landfill.
-- To use, create a deconstruction planner with the landfill tile filter and select tiles only mode.
-- Use the decon planner within range of the landfill to remove it

View File

@ -1,3 +1,4 @@
-- Module deprecated in 2.0, became a built-in feature
-- Functions to allow players to select a group of spidertrons with a deconstruction planner and then assign them to follow another spidertron
local Event = require 'utils.event'
local Global = require 'utils.global'
@ -29,7 +30,7 @@ local function is_targetting_deconstruction_planner(cursor_stack)
return false
end
-- check if the player has given the decon planner an icon. This is how we will determine their intention
-- check if the player has given the deconstruction planner an icon. This is how we will determine their intention
if not cursor_stack.preview_icons or not cursor_stack.preview_icons[1] or not cursor_stack.preview_icons[1].signal.name then
return false
end

View File

@ -136,7 +136,7 @@ local concrete_on_landfill = require 'map_gen.maps.danger_ores.modules.concrete_
concrete_on_landfill({tile = 'blue-refined-concrete'})
require 'map_gen.maps.danger_ores.modules.biter_drops_exotic_industries'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -176,7 +176,7 @@ local allowed_recipes = require 'map_gen.maps.danger_ores.config.krastorio2_allo
whitelist_stacked_recipes(allowed_recipes)
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -117,6 +117,7 @@ restart_command({scenario_name = 'danger-ore-landfill'})
local container_dump = require 'map_gen.maps.danger_ores.modules.container_dump'
container_dump({entity_name = 'coal'})
require 'features.landfill_remover'
local config = {
spawn_shape = b.circle(64),

View File

@ -131,7 +131,7 @@ local remove_non_ore_stacked_recipes = require 'map_gen.maps.danger_ores.modules
remove_non_ore_stacked_recipes()
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -155,7 +155,7 @@ local remove_non_ore_stacked_recipes = require 'map_gen.maps.danger_ores.modules
remove_non_ore_stacked_recipes()
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -123,7 +123,7 @@ local concrete_on_landfill = require 'map_gen.maps.danger_ores.modules.concrete_
concrete_on_landfill({tile = 'blue-refined-concrete', refund_tile = 'omnite-refined-concrete'})
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -132,7 +132,7 @@ container_dump({entity_name = 'coal'})
-- concrete_on_landfill({tile = 'blue-refined-concrete', refund_tile = 'omnite-refined-concrete'})
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -146,6 +146,7 @@ tech_scaling({ effects = {
-- concrete_on_landfill({tile = 'blue-refined-concrete'})
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -119,7 +119,7 @@ local concrete_on_landfill = require 'map_gen.maps.danger_ores.modules.concrete_
concrete_on_landfill({tile = 'blue-refined-concrete'})
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local config = {

View File

@ -129,6 +129,7 @@ local concrete_on_landfill = require 'map_gen.maps.danger_ores.modules.concrete_
concrete_on_landfill({tile = 'blue-refined-concrete'})
local main_ores_builder = require 'map_gen.maps.danger_ores.modules.main_ores_spiral'
require 'features.landfill_remover'
local config = {
spawn_shape = b.circle(64),

View File

@ -129,7 +129,7 @@ local remove_non_ore_stacked_recipes = require 'map_gen.maps.danger_ores.modules
remove_non_ore_stacked_recipes()
require 'map_gen.maps.danger_ores.modules.biter_drops'
require 'features.landfill_remover'
require 'map_gen.maps.danger_ores.modules.map_poll'
local main_ores_builder = require 'map_gen.maps.danger_ores.modules.main_ores_spiral'