Nyancat: Make nyancat and rainbow light sources

This commit is contained in:
paramat 2016-11-10 03:52:03 +00:00
parent ddea6c431e
commit f8bc1e1714

View File

@ -2,6 +2,8 @@ minetest.register_node("nyancat:nyancat", {
description = "Nyan Cat", description = "Nyan Cat",
tiles = {"nyancat_side.png", "nyancat_side.png", "nyancat_side.png", tiles = {"nyancat_side.png", "nyancat_side.png", "nyancat_side.png",
"nyancat_side.png", "nyancat_back.png", "nyancat_front.png"}, "nyancat_side.png", "nyancat_back.png", "nyancat_front.png"},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 2}, groups = {cracky = 2},
is_ground_content = false, is_ground_content = false,
@ -16,6 +18,8 @@ minetest.register_node("nyancat:nyancat_rainbow", {
"nyancat_rainbow.png^[transformR90", "nyancat_rainbow.png^[transformR90",
"nyancat_rainbow.png" "nyancat_rainbow.png"
}, },
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir", paramtype2 = "facedir",
groups = {cracky = 2}, groups = {cracky = 2},
is_ground_content = false, is_ground_content = false,