diff options
author | cheapie <no-email-for-you@example.com> | 2020-04-16 16:35:43 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2020-04-16 16:35:43 -0500 |
commit | 5b6e9e6123dfa7a64a82f0261c1459efb4c4f565 (patch) | |
tree | df9268665933a3abe7ea19a76a18935be1c74ea2 /init.lua | |
parent | 07e181db321488d5e86ec6ddfe68c36b27138d1d (diff) | |
download | rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.gz rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.bz2 rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.tar.xz rgblightstone-5b6e9e6123dfa7a64a82f0261c1459efb4c4f565.zip |
Fix drops
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]") |