Replace stdlib

This commit is contained in:
Simon Brodtmann 2025-07-05 22:13:43 +02:00
parent 18ad13f992
commit 8b38b58c87
3 changed files with 5 additions and 5 deletions

View file

@ -14,8 +14,8 @@ end
-- let's just declare the variable here and fill it later.
local AlienBiomes
--~ local Event = require('__stdlib__/stdlib/event/event').set_protected_mode(true)
local Event = require('__stdlib__/stdlib/event/event').set_protected_mode(false)
--~ local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(true)
local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false)
require ("util")
require ("libs/util_ext")
require ("control_tree")

View file

@ -4,8 +4,8 @@ BioInd.writeDebug("Entered control_arboretum.lua")
---Arboretum Stuff
--~ local Event = require('__stdlib__/stdlib/event/event').set_protected_mode(true)
local Event = require('__stdlib__/stdlib/event/event').set_protected_mode(false)
--~ local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(true)
local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(false)
-- If a recipe with NORMAL FERTILIZER is used, don't fertilize tiles set have "true"
-- set! (Fertile tiles set to true in this table can't be made more fertile with

View file

@ -1,7 +1,7 @@
--~ local BioInd = require("__"..script.mod_name.."__.common")(script.mod_name)
-- All tree Growing stuff
local Event = require('__stdlib__/stdlib/event/event').set_protected_mode(true)
local Event = require('__kry_stdlib__/stdlib/event/event').set_protected_mode(true)
local terrains = require("libs/trees-and-terrains")