mirror of
https://github.com/mt-mods/unifieddyes.git
synced 2024-11-22 23:43:45 +01:00
add recipe for airbrush
This commit is contained in:
parent
e13d514ff7
commit
ca1ab44e78
9
init.lua
9
init.lua
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user