update gloopblocks and technic

This commit is contained in:
Vanessa Ezekowitz 2017-03-26 00:52:18 -04:00
parent 99cc59a497
commit 97f7566fa4
4 changed files with 29 additions and 3 deletions

View File

@ -9,3 +9,4 @@ wool?
xdecor?
caverealms?
technic?
nyancat?

View File

@ -17,13 +17,37 @@ end
-- Nodes
minetest.register_node("gloopblocks:rainbow_block", {
description = S("Rainbow Block"),
minetest.register_node("gloopblocks:rainbow_block_diagonal", {
description = S("Diagonal Rainbow Block"),
tiles = {"gloopblocks_rainbow_block.png"},
is_ground_content = true,
groups = {cracky=3},
sounds = default.node_sound_defaults(),
})
minetest.register_alias("gloopblocks:rainbow_block", "gloopblocks:rainbow_block_diagonal")
minetest.register_node("gloopblocks:rainbow_block_horizontal", {
description = "Horizontal Rainbow Block",
tiles = {
"gloopblocks_rainbow_horizontal.png^[transformR90",
"gloopblocks_rainbow_horizontal.png^[transformR90",
"gloopblocks_rainbow_horizontal.png"
},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,
sounds = default.node_sound_defaults(),
})
if not minetest.setting_getbool("pbj_pup_alias_nyancat") then
if not minetest.registered_nodes["nyancat:nyancat_rainbow"] then
minetest.register_alias("nyancat:nyancat_rainbow", "gloopblocks:rainbow_block_horizontal")
elseif not minetest.registered_nodes["default:nyancat_rainbow"] then
minetest.register_alias("default:nyancat_rainbow", "gloopblocks:rainbow_block_horizontal")
end
end
minetest.register_node("gloopblocks:cement", {
description = S("Cement"),

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

View File

@ -56,7 +56,8 @@ local rad_resistance_node = {
["default:mossycobble"] = 15,
["pbj_pup:pbj_pup"] = 10000,
["pbj_pup:pbj_pup_candies"] = 10000,
["gloopblocks:rainbow_block"] = 5000,
["gloopblocks:rainbow_block_diagonal"] = 5000,
["gloopblocks:rainbow_block_horizontal"] = 10000,
["default:nyancat"] = 10000,
["default:nyancat_rainbow"] = 10000,
["nyancat:nyancat"] = 10000,