forked from minetest/minetest_game
Nyancat: Make nyancat and rainbow light sources
This commit is contained in:
parent
ddea6c431e
commit
f8bc1e1714
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user