pax_global_header 0000666 0000000 0000000 00000000064 13370671643 0014524 g ustar 00root root 0000000 0000000 52 comment=418020333b67ad95d16f4d39f195879abcf0dc53
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/ 0000775 0000000 0000000 00000000000 13370671643 0020644 5 ustar 00root root 0000000 0000000 prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/LICENSE 0000664 0000000 0000000 00000002273 13370671643 0021655 0 ustar 00root root 0000000 0000000 This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/README 0000664 0000000 0000000 00000000556 13370671643 0021532 0 ustar 00root root 0000000 0000000 prefab_redo
===========
This is a rewrite of Dan Duncombe's prefab mod for Minetest. It includes many of the same nodes (and aliases for compatibility), but not the electric fence. All items have been retextured using technic concrete as a base.
Dependencies: default, doors, concrete (from technic), moreblocks
License: Unlicense, see LICENSE file for full text
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/depends.txt 0000664 0000000 0000000 00000000062 13370671643 0023025 0 ustar 00root root 0000000 0000000 default
doors
concrete
basic_materials
moreblocks
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/description.txt 0000664 0000000 0000000 00000000050 13370671643 0023723 0 ustar 00root root 0000000 0000000 A rewrite of Dan Duncombe's prefab mod.
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/init.lua 0000664 0000000 0000000 00000022377 13370671643 0022325 0 ustar 00root root 0000000 0000000 --Prefab Redo Mod
--Written by cheapie
--See LICENSE file for license information
minetest.register_alias("prefab:concrete","technic:concrete")
minetest.register_alias("prefab:concrete_wall","prefab_redo:concrete_wall")
minetest.register_alias("prefab:concrete_with_grass","prefab_redo:concrete_with_grass")
minetest.register_alias("prefab:concrete_stair","technic:stair_concrete")
minetest.register_alias("prefab:concrete_slab","technic:slab_concrete")
minetest.register_alias("prefab:concrete_ladder","prefab_redo:concrete_ladder")
minetest.register_alias("prefab:concrete_door_a","doors:door_concrete_a")
minetest.register_alias("prefab:concrete_door_b","doors:door_concrete_b")
minetest.register_alias("prefab:concrete_fence","prefab_redo:concrete_wall")
minetest.register_alias("prefab:concrete_bollard","prefab_redo:concrete_wall")
minetest.register_alias("prefab:concrete_railing","prefab_redo:concrete_railing")
minetest.register_alias("prefab:concrete_railing_corner","prefab_redo:concrete_railing")
minetest.register_alias("prefab:concrete_catwalk","prefab_redo:concrete_catwalk")
minetest.register_alias("prefab:concrete_bench","prefab_redo:concrete_bench")
stairsplus:register_all("technic","concrete","basic_materials:concrete_block",{
description = "Concrete",
tiles = {"basic_materials_concrete_block.png",},
groups = {cracky=1, level=2, concrete=1},
sounds = default.node_sound_stone_defaults(),
})
stairsplus:register_all("technic","blast_resistant_concrete","technic:blast_resistant_concrete",{
description = "Blast-resistant Concrete",
tiles = {"technic_blast_resistant_concrete_block.png",},
groups = {cracky=1, level=3, concrete=1},
sounds = default.node_sound_stone_defaults(),
on_blast = function(pos, intensity)
if intensity > 1 then
minetest.remove_node(pos)
minetest.add_item(pos, "technic:blast_resistant_concrete")
end
end,
})
minetest.register_node("prefab_redo:concrete_with_grass", {
description = "Concrete with Grass",
sounds = default.node_sound_glass_defaults(),
paramtype = "light",
tiles = {
"default_grass.png",
"basic_materials_concrete_block.png",
"basic_materials_concrete_block.png^default_grass_side.png"
},
groups = {cracky = 1},
})
minetest.register_node("prefab_redo:concrete_wall", {
description = "Concrete Wall",
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
drawtype = "nodebox",
tiles = {"basic_materials_concrete_block.png"},
sunlight_propagates = true,
groups = {cracky = 1},
node_box = {
type = "connected",
fixed = {{-0.3, -0.5, -0.3, 0.3, -0.4, 0.3}, {-0.1, -0.5, -0.1, 0.1, 0.5, 0.1}},
connect_front = {{-0.3, -0.5, -0.5, 0.3, -0.4, 0.3}, {-0.1, -0.5, -0.5, 0.1, 0.5, 0.1}},
connect_back = {{-0.3, -0.5, -0.3, 0.3, -0.4, 0.5}, {-0.1, -0.5, -0.1, 0.1, 0.5, 0.5}},
connect_left = {{-0.5, -0.5, -0.3, 0.3, -0.4, 0.3}, {-0.5, -0.5, -0.1, 0.1, 0.5, 0.1}},
connect_right = {{-0.3, -0.5, -0.3, 0.5, -0.4, 0.3}, {-0.1, -0.5, -0.1, 0.5, 0.5, 0.1}},
},
connects_to = {"prefab_redo:concrete_wall","prefab_redo:concrete_wall_upper"},
on_construct = function(pos)
local node = minetest.get_node(pos)
local pos_above = {x = pos.x,y = pos.y + 1,z = pos.z}
local node_above = minetest.get_node(pos_above)
local pos_below = {x = pos.x,y = pos.y - 1,z = pos.z}
local node_below = minetest.get_node(pos_below)
if node_above.name == "prefab_redo:concrete_wall" then
node_above.name = "prefab_redo:concrete_wall_upper"
minetest.swap_node(pos_above,node_above)
end
if node_below.name == "prefab_redo:concrete_wall" or node_below.name == "prefab_redo:concrete_wall_upper" then
node.name = "prefab_redo:concrete_wall_upper"
minetest.swap_node(pos,node)
end
end,
on_destruct = function(pos)
local node = minetest.get_node(pos)
local pos_above = {x = pos.x,y = pos.y + 1,z = pos.z}
local node_above = minetest.get_node(pos_above)
if node_above.name == "prefab_redo:concrete_wall_upper" then
node_above.name = "prefab_redo:concrete_wall"
minetest.swap_node(pos_above,node_above)
end
end,
})
minetest.register_node("prefab_redo:concrete_wall_upper", {
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
drawtype = "nodebox",
tiles = {"basic_materials_concrete_block.png"},
sunlight_propagates = true,
groups = {cracky = 1,not_in_creative_inventory = 1},
drop = "prefab_redo:concrete_wall",
node_box = {
type = "connected",
fixed = {{-0.1, -0.5, -0.1, 0.1, 0.5, 0.1}},
connect_front = {{-0.1, -0.5, -0.5, 0.1, 0.5, 0.1}},
connect_back = {{-0.1, -0.5, -0.1, 0.1, 0.5, 0.5}},
connect_left = {{-0.5, -0.5, -0.1, 0.1, 0.5, 0.1}},
connect_right = {{-0.1, -0.5, -0.1, 0.5, 0.5, 0.1}},
},
connects_to = {"prefab_redo:concrete_wall","prefab_redo:concrete_wall_upper"},
on_destruct = function(pos)
local node = minetest.get_node(pos)
local pos_above = {x = pos.x,y = pos.y + 1,z = pos.z}
local node_above = minetest.get_node(pos_above)
if node_above.name == "prefab_redo:concrete_wall_upper" then
node_above.name = "prefab_redo:concrete_wall"
minetest.swap_node(pos_above,node_above)
end
end,
})
minetest.register_node("prefab_redo:concrete_ladder", {
description = "Concrete Ladder",
drawtype = "signlike",
tiles = {"basic_materials_concrete_block.png^[mask:prefab_redo_ladder_mask.png^prefab_redo_ladder_overlay.png"},
inventory_image = "basic_materials_concrete_block.png^[mask:prefab_redo_ladder_mask.png^prefab_redo_ladder_overlay.png",
wield_image = "basic_materials_concrete_block.png^[mask:prefab_redo_ladder_mask.png^prefab_redo_ladder_overlay.png",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
walkable = false,
climbable = true,
selection_box = {
type = "wallmounted",
},
groups = {cracky = 2},
sounds = default.node_sound_stone_defaults(),
})
doors.register("door_concrete", {
tiles = { "basic_materials_concrete_block.png^prefab_redo_door_resize.png^[mask:prefab_redo_door_mask.png^prefab_redo_door_overlay.png" },
description = "Concrete Door",
inventory_image = "basic_materials_concrete_block.png^prefab_redo_door_overlay_half.png^[mask:prefab_redo_door_mask_half.png",
groups = { snappy=1, cracky=1, oddly_breakable_by_hand=3 },
sounds = default.node_sound_stone_defaults(),
recipe = {
{"technic:concrete", "technic:concrete"},
{"technic:concrete", "default:steel_ingot"},
{"technic:concrete", "technic:concrete"},
},
})
minetest.register_node("prefab_redo:concrete_railing", {
description = "Concrete Railing",
sounds = default.node_sound_stone_defaults(),
paramtype = "light",
drawtype = "nodebox",
tiles = {"basic_materials_concrete_block.png"},
sunlight_propagates = true,
groups = {cracky = 1},
node_box = {
type = "connected",
fixed = {{0.0625,-0.5,0.0625,-0.0625,0.1875,-0.0625}},
connect_front = {{-0.0625,0.1875,-0.5,0.0625,0.3125,0.0625}},
connect_back = {{-0.0625,0.1875,-0.0625,0.0625,0.3125,0.5}},
connect_left = {{-0.5,0.1875,-0.0625,0.0625,0.3125,0.0625}},
connect_right = {{-0.0625,0.1875,-0.0625,0.5,0.3125,0.0625}}
},
selection_box = {
type = "fixed",
fixed = {{-0.5,-0.5,-0.5,0.5,0.3125,0.5}}
},
connects_to = {"prefab_redo:concrete_railing","prefab_redo:concrete_catwalk"}
})
minetest.register_node("prefab_redo:concrete_catwalk",{
description= "Concrete Catwalk",
paramtype = "light",
paramtype2 = "facedir",
tiles = {"basic_materials_concrete_block.png"},
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.5,-0.5,-0.5,0.5,-0.375,0.5},
{-0.5,-0.5,-0.0625,-0.4375,0.5,0.0625},
{0.4433,-0.5,-0.0625,0.5,0.5,0.0625},
{0.4433,0.4485,-0.5,0.5,0.5,0.5},
{-0.5,0.4485,-0.5,-0.4375,0.5,0.5},
},
},
groups = {cracky = 2},
})
minetest.register_node("prefab_redo:concrete_bench", {
description = "Concrete Bench",
tiles = {"basic_materials_concrete_block.png"},
paramtype = "light",
paramtype2 = "facedir",
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {
{-0.125,-0.5,-0.125,0.125,0.0625,0.125},
{-0.5,0.0625,-0.3125,0.5,0.1875,0.3125},
},
},
groups = {cracky = 2},
})
minetest.register_craft({
output = "prefab_redo:concrete_railing 6",
recipe = {
{"","",""},
{"technic:concrete","technic:concrete","technic:concrete"},
{"","technic:concrete",""}
}
})
minetest.register_craft({
output = "prefab_redo:concrete_catwalk 3",
recipe = {
{"","",""},
{"prefab_redo:concrete_railing","","prefab_redo:concrete_railing"},
{"technic:concrete","technic:concrete","technic:concrete"}
}
})
minetest.register_craft({
output = "prefab_redo:concrete_bench 2",
recipe = {
{"","",""},
{"","technic:concrete",""},
{"","prefab_redo:concrete_railing",""}
}
})
minetest.register_craft({
output = "prefab_redo:concrete_with_grass",
type = "shapeless",
recipe = {"technic:concrete","default:junglegrass"}
})
minetest.register_craft({
output = "prefab_redo:concrete_with_grass",
type = "shapeless",
recipe = {"technic:concrete","default:grass_1"}
})
minetest.register_craft({
output = "prefab_redo:concrete_wall 3",
recipe = {
{"","technic:concrete",""},
{"","technic:concrete",""},
{"","technic:concrete",""}
}
})
minetest.register_craft({
output = "prefab_redo:concrete_ladder 14",
recipe = {
{"technic:concrete","","technic:concrete"},
{"technic:concrete","technic:concrete","technic:concrete"},
{"technic:concrete","","technic:concrete"}
}
})
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/mod.conf 0000664 0000000 0000000 00000000023 13370671643 0022265 0 ustar 00root root 0000000 0000000 name = prefab_redo
prefab_redo-418020333b67ad95d16f4d39f195879abcf0dc53/screenshot.png 0000664 0000000 0000000 00001321150 13370671643 0023532 0 ustar 00root root 0000000 0000000 PNG
IHDR ~ ~ IDATxodyTbgV,|Pֱ(mabXDZ`Yb,Ȓ*0`&@F3fOwgdUxӧYd8$:֩wجo=|G թz hD TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @D TL @ poSW{~>nwk
ipɈ ot)S7mU˦KQ,nT9]Vnl)S:2˧\1ӳ+1
`3 p)o47Uɕe٦]E7Rˏ4 .3@~..@"^Fr]? ܚ7 Όx1=J=ˤO>\6OSt pya PFEx-Z pNyD peu5 83g .ZMe4u{ B0i' 0of=Kpy- gg z2|IA ΐ pYsg 4f= NL(ƅWj?Y wʧ*ͲM7pfO;U}M_=m<|̳v·?_)G\Ng f棏 `W&>o~)MPm/%/QyRiOq+۵tcif3@7nh'