Skip to content

Commit

Permalink
Nyancat: Make nyancat and rainbow light sources
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Nov 10, 2016
1 parent ddea6c4 commit f8bc1e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mods/nyancat/init.lua
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit f8bc1e1

Please sign in to comment.