diff options
author | cheapie <no-email-for-you@example.com> | 2020-04-30 01:00:41 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2020-04-30 01:00:41 -0500 |
commit | 889b83ac24dac0b4b608cd03e09334b79053712c (patch) | |
tree | df4d38d17bf61449a63ba0b228bb70f0cd66d233 | |
parent | c8eb88f2dac95e41937ef08b3ccf10d9e8d8efba (diff) | |
download | printer-889b83ac24dac0b4b608cd03e09334b79053712c.tar printer-889b83ac24dac0b4b608cd03e09334b79053712c.tar.gz printer-889b83ac24dac0b4b608cd03e09334b79053712c.tar.bz2 printer-889b83ac24dac0b4b608cd03e09334b79053712c.tar.xz printer-889b83ac24dac0b4b608cd03e09334b79053712c.zip |
Add compatibility with digistuff's channel copier
-rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -46,6 +46,7 @@ minetest.register_node("printer:printer",{ groups = { dig_immediate = 2, }, + _digistuff_channelcopier_fieldname = "channel", on_construct = function(pos) local meta = minetest.get_meta(pos) meta:get_inventory():set_size("paper",1) @@ -193,6 +194,7 @@ minetest.register_node("printer:receipt_printer",{ groups = { dig_immediate = 2, }, + _digistuff_channelcopier_fieldname = "channel", on_construct = function(pos) local meta = minetest.get_meta(pos) meta:get_inventory():set_size("paper",1) |