1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/Diggy/Config.lua

79 lines
2.9 KiB
Lua
Raw Normal View History

2018-09-08 18:29:27 +02:00
-- dependencies
-- this
local Config = {
-- enable debug mode, shows extra messages
debug = true,
2018-09-14 21:42:58 +02:00
-- allow cheats. Example: by default the player will have X mining speed
2018-09-08 18:29:27 +02:00
cheats = true,
-- a list of features to register and enable
-- to disable a feature, change the flag
features = {
StartingZone = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.StartingZone'.register,
initialize = require 'map_gen.Diggy.Feature.StartingZone'.initialize,
2018-09-14 21:42:58 +02:00
-- initial starting position size, values higher than 30 might break
starting_size = 8,
-- the daytime value used for cave lighting
daytime = 0.5,
2018-09-08 18:29:27 +02:00
},
SetupPlayer = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.SetupPlayer'.register,
initialize = require 'map_gen.Diggy.Feature.SetupPlayer'.initialize,
2018-09-14 21:42:58 +02:00
starting_items = {
{name = 'steel-axe', count = 2},
{name = 'submachine-gun', count = 1},
{name = 'light-armor', count = 1},
{name = 'firearm-magazine', count = 25},
{name = 'stone-wall', count = 10},
},
cheats = {
2018-09-21 11:44:40 +02:00
manual_mining_speed_modifier = 50,
2018-09-14 21:42:58 +02:00
},
2018-09-08 18:29:27 +02:00
},
2018-09-19 18:55:07 +02:00
DiggyTileStress = {
2018-09-14 22:12:55 +02:00
enabled = false,
2018-09-19 18:55:07 +02:00
register = require 'map_gen.Diggy.Feature.DiggyTileStress'.register,
initialize = require 'map_gen.Diggy.Feature.DiggyTileStress'.initialize,
2018-09-14 14:15:25 +02:00
},
2018-09-08 18:29:27 +02:00
DiggyHole = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.DiggyHole'.register,
initialize = require 'map_gen.Diggy.Feature.DiggyHole'.initialize,
2018-09-08 18:29:27 +02:00
},
DiggyCaveCollapse = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.DiggyCaveCollapse'.register,
initialize = require 'map_gen.Diggy.Feature.DiggyCaveCollapse'.initialize,
2018-09-20 20:04:24 +02:00
collapse_delay = 2, --seconds
2018-09-21 11:44:40 +02:00
collapse_threshold_total_strength = 20, --The threshold that will be applied to all neighbors on a collapse via a mask
2018-09-08 18:29:27 +02:00
support_beam_entities = {
2018-09-12 23:13:54 +02:00
['stone-wall'] = 1,
['sand-rock-big'] = 1,
2018-09-14 21:42:58 +02:00
['out-of-map'] = 1,
2018-09-08 18:29:27 +02:00
},
2018-09-21 11:44:40 +02:00
cracking_sounds = {
"CRACK"
}
2018-09-08 18:29:27 +02:00
},
RefreshMap = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.RefreshMap'.register,
initialize = require 'map_gen.Diggy.Feature.RefreshMap'.initialize,
2018-09-08 18:29:27 +02:00
},
SimpleRoomGenerator = {
enabled = true,
2018-09-14 22:12:55 +02:00
register = require 'map_gen.Diggy.Feature.SimpleRoomGenerator'.register,
initialize = require 'map_gen.Diggy.Feature.SimpleRoomGenerator'.initialize,
2018-09-08 18:29:27 +02:00
},
},
}
return Config