mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-15 12:21:24 +00:00
Nyancat: Make nyancat and rainbow light sources
This commit is contained in:
parent
ddea6c431e
commit
f8bc1e1714
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue