From f8bc1e17149a087c7f375c6ae5d0bf398c0abb78 Mon Sep 17 00:00:00 2001 From: paramat Date: Thu, 10 Nov 2016 03:52:03 +0000 Subject: [PATCH] Nyancat: Make nyancat and rainbow light sources --- mods/nyancat/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/nyancat/init.lua b/mods/nyancat/init.lua index 677ed50a..7192beb8 100644 --- a/mods/nyancat/init.lua +++ b/mods/nyancat/init.lua @@ -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,