summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2020-04-16 16:35:43 -0500
committercheapie <no-email-for-you@example.com>2020-04-16 16:35:43 -0500
commit5b6e9e6123dfa7a64a82f0261c1459efb4c4f565 (patch)
treedf9268665933a3abe7ea19a76a18935be1c74ea2
parent07e181db321488d5e86ec6ddfe68c36b27138d1d (diff)
downloadrgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar
rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.gz
rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.bz2
rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.xz
rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.zip
Fix drops
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 2b626b2..0151c3a 100644
--- a/init.lua
+++ b/init.lua
@@ -45,6 +45,7 @@ for i=0,14,1 do
description = i == 0 and "RGB Lightstone" or "RGB Lightstone (lit state - you hacker you!)",
paramtype2 = "color",
light_source = i,
+ drop = "rgblightstone:rgblightstone_0",
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "size[8,5;]field[1,1;6,2;channel;Channel;${channel}]field[1,2;2,2;addrx;X Address;${addrx}]field[5,2;2,2;addry;Y Address;${addry}]button_exit[2.25,3;3,1;submit;Save]button_exit[2.25,4;3,1;autofill;Auto-Fill From Node Above]label[3,2;Leave address blank\nfor individual mode]")