add recipe for airbrush

This commit is contained in:
Vanessa Dannenberg 2018-08-26 08:41:04 -04:00
parent e13d514ff7
commit ca1ab44e78

@ -881,6 +881,15 @@ minetest.register_tool("unifieddyes:airbrush", {
on_use = unifieddyes.on_airbrush on_use = unifieddyes.on_airbrush
}) })
minetest.register_craft( {
output = "unifieddyes:airbrush",
recipe = {
{ "default:gold_ingot", "", "bucket:bucket_empty" },
{ "", "default:steel_ingot", "" },
{ "", "", "default:steel_ingot" }
},
})
minetest.register_on_player_receive_fields(function(player, formname, fields) minetest.register_on_player_receive_fields(function(player, formname, fields)
if formname == "unifieddyes:dye_select_form" then if formname == "unifieddyes:dye_select_form" then
local player_name = player:get_player_name() local player_name = player:get_player_name()