mesecons/settingtypes.txt

91 lines
3.6 KiB
Plaintext

[mesecons]
# Number of seconds to wait after server start before starting to execute actions
# from the actionqueue.
mesecon.resumetime (Startup delay) int 4 1 10
# Heat at which a device overheats.
# As a rule of thumb, a device gets 1 additional heat each time when it toggles.
mesecon.overheat_max (Device heat limit) float 20.0 1.0
# The method used to cooldown devices over time:
# - seconds: The cooldown will happen per seconds.
# Use mesecon.cooldown_time and mesecon.cooldown_granularity for further configuration.
# - steps: The cooldown will happen per server steps.
# Use mesecon.cooldown_time_steps and mesecon.cooldown_granularity_steps for further configuration.
mesecon.cooldown_mode (Device cooldown mode) enum steps seconds,steps
# The time in seconds it takes for a device to fully cool down from max heat.
# Only used if mesecon.cooldown_mode is seconds.
mesecon.cooldown_time (Device cooldown time in seconds) float 2.0 0.0
# Length in seconds of the interval in which devices are cooled down over time.
# This does not affect the cooldown speed.
# Only used if mesecon.cooldown_mode is seconds.
mesecon.cooldown_granularity (Cooldown step length in seconds) float 0.5 0.0
# The time in server steps it takes for a device to fully cool down from max heat.
# Only used if mesecon.cooldown_mode is steps.
mesecon.cooldown_time_steps (Device cooldown time in server steps) float 125.0 0.0
# Length in server steps of the interval in which devices are cooled down over time.
# This does not affect the cooldown speed.
# Only used if mesecon.cooldown_mode is steps.
mesecon.cooldown_granularity_steps (Cooldown step length in server steps) int 20 0
[mesecons_blinkyplant]
mesecon.blinky_plant_interval (Plant blinking interval) int 3 1 5
[mesecons_detector]
mesecon.detector_radius (Player detector scanning radius) int 6 3 16
mesecon.node_detector_distance_max (Node detector distance limit) int 10 1 16
[mesecons_luacontroller]
mesecon.luacontroller_string_rep_max (string:rep result length limit) int 64000 1000 1000000
mesecon.luacontroller_digiline_maxlen (Digiline message size limit) int 50000 1000 1000000
mesecon.luacontroller_maxevents (Controller execution time limit) int 10000 1000 100000
mesecon.luacontroller_memsize (Controller memory limit) int 100000 10000 1000000
# Use node timer for interrupts (runs in active blocks only).
# IID is ignored and at most one interrupt may be queued if this setting is enabled.
mesecon.luacontroller_lightweight_interrupts (Lightweight interrupts) bool false
# Behavior of print() inside a luacontroller. By default, this emits a message into actionstream.
# Set it to noop if you wish to disable that behavior.
mesecon.luacontroller_print_behavior (Behavior of print) enum log log,noop
[mesecons_mvps]
# In pre-existing world, MVPS may not be labelled with the owner.
# Protection handling for them is configurable.
# - normal: allow legacy MVPS to work in unprotected areas only
# - compat: allow legacy MVPS to work everywhere
# - ignore: allow all MVPS to work everywhere
# - restrict: disallow legacy MVPS
# Note that new unowned (e.g. machine-placed) MVPS are always
# handled as in `normal` mode.
mesecon.mvps_protection_mode (MVPS [movestones, pistons] protection handling) enum compat normal,compat,ignore,restrict
[mesecons_movestones]
mesecon.movestone_speed (Speed) int 3 1 10
mesecon.movestone_max_push (Max push) int 50 1 100
mesecon.movestone_max_pull (Max pull) int 50 1 100
[mesecons_pistons]
mesecon.piston_max_push (Max push) int 15 1 100
mesecon.piston_max_pull (Max pull) int 15 1 100
[mesecons_pressureplates]
mesecon.pplate_interval (Check interval) float 0.1 0.1 1.0