mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-02-21 19:20:07 +02:00
Manually enable loaders in 1000x, improve doc redmew_qol
This commit is contained in:
parent
552f8aab2e
commit
bcaef1a570
@ -1,10 +1,5 @@
|
||||
-- Assorted quality of life improvements that are restricted in scope. Similar to redmew_commands but event-based rather than command-based.
|
||||
|
||||
-- This file has each module in 3 parts.
|
||||
-- The local functions (including at least 1 tokenized function) are located below the "Local functions" comment
|
||||
-- The functions which register and remove the events (allowing for runtime enabling/disabling of features) are located below the "Event registers" comment
|
||||
-- Lastly the public get/set functions are located after the "Getters/setters" comment
|
||||
|
||||
-- Dependencies
|
||||
local Token = require 'utils.token'
|
||||
local Event = require 'utils.event'
|
||||
|
@ -184,9 +184,12 @@ Event.on_init(
|
||||
|
||||
-- Techs
|
||||
force.technologies['automation'].researched = true
|
||||
force.technologies['logistics'].researched = true
|
||||
force.technologies['turrets'].researched = true
|
||||
force.technologies['military'].researched = true
|
||||
force.technologies['logistics'].researched = true
|
||||
if config.redmew_qol.enabled and config.redmew_qol.loaders.enabled then
|
||||
force.recipes['loader'].enabled = true
|
||||
end
|
||||
|
||||
-- DayNight call
|
||||
DayNight.set_fixed_brightness(1, RS.get_surface())
|
||||
|
Loading…
x
Reference in New Issue
Block a user