Skip to content

Commit

Permalink
use mod.conf, optional moreblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Jan 14, 2021
1 parent 7d7bc20 commit 774cf26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 0 additions & 3 deletions depends.txt

This file was deleted.

5 changes: 4 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ dofile(MP.."/schematic.lua")
dofile(MP.."/sapling.lua")
dofile(MP.."/wood.lua")
dofile(MP.."/leaves.lua")
dofile(MP.."/stairs.lua")
dofile(MP.."/mapgen.lua")

if minetest.get_modpath("moreblocks") then
dofile(MP.."/stairs.lua")
end

if minetest.get_modpath("bonemeal") then
dofile(MP.."/bonemeal.lua")
end
4 changes: 4 additions & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name = redwood
description = Redwood trees from ethereal
depends = default
optional_depends = bonemeal, moreblocks

0 comments on commit 774cf26

Please sign in to comment.