From 888b0ebfec8c2eff9015163549a7e47443cb8665 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 21:00:20 -0400 Subject: "explode" all modpacks into their individual components (you can't have a modpack buried inside a modpack) --- asphalt/depends.txt | 3 +++ asphalt/init.lua | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 asphalt/depends.txt create mode 100644 asphalt/init.lua (limited to 'asphalt') diff --git a/asphalt/depends.txt b/asphalt/depends.txt new file mode 100644 index 0000000..fef815d --- /dev/null +++ b/asphalt/depends.txt @@ -0,0 +1,3 @@ +default +streetsmod +building_blocks? \ No newline at end of file diff --git a/asphalt/init.lua b/asphalt/init.lua new file mode 100644 index 0000000..958cfd5 --- /dev/null +++ b/asphalt/init.lua @@ -0,0 +1,27 @@ +--[[ + Streets Mod: All kinds of asphalt +]] +minetest.register_node(":streets:asphalt",{ + description = streets.S("Asphalt"), + tiles = {"streets_asphalt.png"}, + groups = {cracky=3} +}) + +if minetest.get_modpath("building_blocks") then + minetest.register_craft({ + type = "shapeless", + output = "streets:asphalt 3", + recipe = { + "default:sand", + "default:gravel", + "building_blocks:Tar" + }, + }) +else + minetest.register_craft({ + type = "cooking", + output = "streets:asphalt", + recipe = "default:gravel", + cooktime = 2 + }) +end -- cgit v1.2.3