owl_tech/api/init.lua

40 lines
1.2 KiB
Lua
Executable File

owl_tech={}
local S = minetest.get_translator(minetest.get_current_modname())
local name = minetest.get_current_modname()
local path = minetest.get_modpath(name)
-- META Key info
--[[
1 buket is 1000 mlbickets(Use mlbucks for work)
Begin from 1 pull 0 is not walid!!0-is NOT pull in shis node!
pull_amount--amount fo pulls in this meta
non in mechanims - none
water in mechanism - mcl_water
lava in mechanism - mcl_lava
steam in mechanism - owl_tech_steam
Pipse!!!
White-fluids
Green-items
Yelou-energy
Red-Input
Blue-Output
]]
--[[main names for items slots
dst-main_output
fuel --use only for nodes for that can burn like fuel
fluid_in- use for buckets miners.lua
]]
dofile(minetest.get_modpath("owl_tech") .. "/api/fluid_llogik.lua") --main fail about all fluid work
dofile(minetest.get_modpath("owl_tech") .. "/api/item_logick.lua") --main fail about all item work
dofile(minetest.get_modpath("owl_tech") .. "/api/pipe_logick.lua") --main fail about all pipe work
dofile(minetest.get_modpath("owl_tech") .. "/api/miners.lua") --main fail about all miners work
dofile(minetest.get_modpath("owl_tech") .. "/api/farming.lua") --main fail about all farming