1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-01-03 12:00:20 +01:00

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",
tiles = {"nyancat_side.png", "nyancat_side.png", "nyancat_side.png",
"nyancat_side.png", "nyancat_back.png", "nyancat_front.png"},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,
@ -16,6 +18,8 @@ minetest.register_node("nyancat:nyancat_rainbow", {
"nyancat_rainbow.png^[transformR90",
"nyancat_rainbow.png"
},
paramtype = "light",
light_source = default.LIGHT_MAX,
paramtype2 = "facedir",
groups = {cracky = 2},
is_ground_content = false,