Skip to content

Commit f8bc1e1

Browse files
committedNov 10, 2016
Nyancat: Make nyancat and rainbow light sources
1 parent ddea6c4 commit f8bc1e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎mods/nyancat/init.lua

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ minetest.register_node("nyancat:nyancat", {
22
description = "Nyan Cat",
33
tiles = {"nyancat_side.png", "nyancat_side.png", "nyancat_side.png",
44
"nyancat_side.png", "nyancat_back.png", "nyancat_front.png"},
5+
paramtype = "light",
6+
light_source = default.LIGHT_MAX,
57
paramtype2 = "facedir",
68
groups = {cracky = 2},
79
is_ground_content = false,
@@ -16,6 +18,8 @@ minetest.register_node("nyancat:nyancat_rainbow", {
1618
"nyancat_rainbow.png^[transformR90",
1719
"nyancat_rainbow.png"
1820
},
21+
paramtype = "light",
22+
light_source = default.LIGHT_MAX,
1923
paramtype2 = "facedir",
2024
groups = {cracky = 2},
2125
is_ground_content = false,

0 commit comments

Comments
 (0)