1
0
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:
unknown
2022-01-25 21:08:32 -05:00
parent 8b681d9755
commit 3a79e10da7
9 changed files with 293 additions and 337 deletions

View File

@ -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")