diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 21:00:20 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-04-01 21:10:04 -0400 |
commit | 888b0ebfec8c2eff9015163549a7e47443cb8665 (patch) | |
tree | 915080159bfaa6ba6e226087c7ce0e8d5464b518 /streets/constructionarea | |
parent | da66780a569712c23ae4f2996cfb4608a9f9d69d (diff) | |
download | dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.gz dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.bz2 dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.tar.xz dreambuilder_modpack-888b0ebfec8c2eff9015163549a7e47443cb8665.zip |
"explode" all modpacks into their individual components
(you can't have a modpack buried inside a modpack)
Diffstat (limited to 'streets/constructionarea')
-rw-r--r-- | streets/constructionarea/depends.txt | 3 | ||||
-rw-r--r-- | streets/constructionarea/init.lua | 70 |
2 files changed, 0 insertions, 73 deletions
diff --git a/streets/constructionarea/depends.txt b/streets/constructionarea/depends.txt deleted file mode 100644 index f17a377..0000000 --- a/streets/constructionarea/depends.txt +++ /dev/null @@ -1,3 +0,0 @@ -default -streetsmod -wool?
\ No newline at end of file diff --git a/streets/constructionarea/init.lua b/streets/constructionarea/init.lua deleted file mode 100644 index 9b1aefe..0000000 --- a/streets/constructionarea/init.lua +++ /dev/null @@ -1,70 +0,0 @@ -minetest.register_node(":streets:constructionfence_bottom",{ - description = streets.S("Construction fence"), - tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_bottom.png","streets_fence_bottom.png"}, - groups = {cracky = 2, disable_jump = 1}, - paramtype = "light", - inventory_image = "streets_fence_inv.png", - wield_image = "streets_fence_inv.png", - paramtype2 = "facedir", - drawtype = "nodebox", - node_box = { - type = "fixed", - fixed = { - {-0.5,-0.5,-0.1,0.5,0.0,0.1}, -- lower part - {-0.2,-0.0,-0.1,0.2,0.5,0.1} -- thing in the middle - } - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5,-0.5,-0.1,0.5,1.0,0.1} - } - }, - after_dig_node = function(pos,node,digger) - pos.y = pos.y + 1 - minetest.remove_node(pos) - end, - after_place_node = function(pos,placer,itemstack) - pos.y = pos.y + 1 - if minetest.get_node(pos).name == "air" then - minetest.add_node(pos,{name = "streets:constructionfence_top", param2 = minetest.dir_to_facedir(placer:get_look_dir())}) - else - minetest.chat_send_player(placer:get_player_name(),"Not enough free space! A construction fence has a height of 2 blocks!") - end - end -}) - -minetest.register_node(":streets:constructionfence_top",{ - description = streets.S("Construction fence"), - tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_top.png","streets_fence_top.png"}, - groups = {cracky = 2, not_in_creative_inventory = 1, disable_jump = 1}, - paramtype = "light", - paramtype2 = "facedir", - drawtype = "nodebox", - drop = "streets:constructionfence_bottom", - node_box = { - type = "fixed", - fixed = { - {-0.5,-0.5,-0.1,0.5,0.0,0.1} -- upper part - } - }, - selection_box = { - type = "fixed", - fixed = { - {-0.5,-1.5,-0.1,0.5,0.0,0.1} - } - }, - after_dig_node = function(pos,node,digger) - pos.y = pos.y - 1 - minetest.remove_node(pos) - end -}) - -minetest.register_craft({ - output = "streets:constructionfence_bottom 8", - recipe = { - {"","",""}, - {"","streets:sign_construction",""}, - {"wool:red","wool:white","wool:red"} - } -})
\ No newline at end of file |