34 lines
1.5 KiB
Lua
34 lines
1.5 KiB
Lua
--[[
|
|
Every tasks should be in it's own file. If there are multiple tasks that are all varients
|
|
of the same tasks it's okay to put them all the same file to allow for re-using local functions.
|
|
Node's with infotexts should have two varients;
|
|
info_repair : This is used when the task is available to complete.
|
|
info_working : This is used when the task is completed and is waiting to become available.
|
|
]]
|
|
|
|
tasks = {}
|
|
tasks.player_config = {}
|
|
|
|
--Helper functions/tools
|
|
dofile(minetest.get_modpath('tasks')..'/functions.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/configurator.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/items.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/storage_locker.lua')
|
|
|
|
--Actual tasks
|
|
dofile(minetest.get_modpath('tasks')..'/beehive.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/campfire.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/code.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/engine_0.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/engine_1.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/example.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/food_crates.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/forcefield_gen.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/match.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/microscope.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/printing_press.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/radio_dish.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/rubbish.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/smoke_detector.lua')
|
|
dofile(minetest.get_modpath('tasks')..'/transformer.lua')
|