From: paramat Date: Thu, 10 Nov 2016 03:52:03 +0000 (+0000) Subject: Nyancat: Make nyancat and rainbow light sources X-Git-Tag: 0.4.15~46 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f8bc1e17149a087c7f375c6ae5d0bf398c0abb78;p=oweals%2Fminetest_game.git Nyancat: Make nyancat and rainbow light sources --- 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,