mirror of
https://github.com/mt-mods/basic_materials.git
synced 2025-07-04 17:10:25 +02:00
remove dep on default and make game agnostic
This commit is contained in:
11
init.lua
11
init.lua
@ -4,12 +4,11 @@
|
||||
-- This mod supplies all those little random craft items that everyone always
|
||||
-- seems to need, such as metal bars (ala rebar), plastic, wire, and so on.
|
||||
|
||||
local modpath = minetest.get_modpath("basic_materials")
|
||||
|
||||
basic_materials = {}
|
||||
basic_materials.mod = { author = "Vanessa Dannenberg" }
|
||||
basic_materials.modpath = minetest.get_modpath("basic_materials")
|
||||
|
||||
dofile(modpath .. "/nodes.lua")
|
||||
dofile(modpath .. "/craftitems.lua")
|
||||
dofile(modpath .. "/crafts.lua")
|
||||
dofile(modpath .. "/aliases.lua")
|
||||
dofile(basic_materials.modpath .. "/nodes.lua")
|
||||
dofile(basic_materials.modpath .. "/craftitems.lua")
|
||||
dofile(basic_materials.modpath .. "/crafts.lua")
|
||||
dofile(basic_materials.modpath .. "/aliases.lua")
|
Reference in New Issue
Block a user