Merge pull request 'add UI craft type for xdecor:honey' (#13) from Niklp/xdecor-libre:master into master
Reviewed-on: https://codeberg.org/Wuzzy/xdecor-libre/pulls/13
This commit is contained in:
commit
2631acdcb7
@ -63,6 +63,7 @@ Your tool last longer=
|
|||||||
Your tool digs faster=
|
Your tool digs faster=
|
||||||
Artificial Hive=
|
Artificial Hive=
|
||||||
Honey=
|
Honey=
|
||||||
|
Made by bees=
|
||||||
The bees are busy making honey.=
|
The bees are busy making honey.=
|
||||||
The bees are looking for flowers.=
|
The bees are looking for flowers.=
|
||||||
The bees want to pollinate more flowers.=
|
The bees want to pollinate more flowers.=
|
||||||
|
@ -63,6 +63,7 @@ Your tool last longer=Ihr Werkzeug hält länger
|
|||||||
Your tool digs faster=Ihr Werkzeug arbeitet schneller
|
Your tool digs faster=Ihr Werkzeug arbeitet schneller
|
||||||
Artificial Hive=Künstlicher Bienenstock
|
Artificial Hive=Künstlicher Bienenstock
|
||||||
Honey=Honig
|
Honey=Honig
|
||||||
|
Made by bees=Hergestellt von Bienen
|
||||||
The bees are busy making honey.=Die Bienen sind beschäftigt, Honig herzustellen.
|
The bees are busy making honey.=Die Bienen sind beschäftigt, Honig herzustellen.
|
||||||
The bees are looking for flowers.=Die Bienen halten nach Blumen Ausschau.
|
The bees are looking for flowers.=Die Bienen halten nach Blumen Ausschau.
|
||||||
The bees want to pollinate more flowers.=Die Bienen wollen mehr Blumen bestäuben.
|
The bees want to pollinate more flowers.=Die Bienen wollen mehr Blumen bestäuben.
|
||||||
|
@ -63,6 +63,7 @@ Your tool last longer=Votre outil dure plus longtemps
|
|||||||
Your tool digs faster=Votre outil creuse plus vite
|
Your tool digs faster=Votre outil creuse plus vite
|
||||||
Artificial Hive=Ruche artificielle
|
Artificial Hive=Ruche artificielle
|
||||||
Honey=Miel
|
Honey=Miel
|
||||||
|
Made by bees=
|
||||||
The bees are busy making honey.=
|
The bees are busy making honey.=
|
||||||
The bees are looking for flowers.=
|
The bees are looking for flowers.=
|
||||||
The bees want to pollinate more flowers.=
|
The bees want to pollinate more flowers.=
|
||||||
|
@ -63,6 +63,7 @@ Your tool last longer=Il tuo utensile dura di più
|
|||||||
Your tool digs faster=Il tuo utensile scava più rapidamente
|
Your tool digs faster=Il tuo utensile scava più rapidamente
|
||||||
Artificial Hive=Favo artificiale
|
Artificial Hive=Favo artificiale
|
||||||
Honey=Miele
|
Honey=Miele
|
||||||
|
Made by bees=
|
||||||
The bees are busy making honey.=
|
The bees are busy making honey.=
|
||||||
The bees are looking for flowers.=
|
The bees are looking for flowers.=
|
||||||
The bees want to pollinate more flowers.=
|
The bees want to pollinate more flowers.=
|
||||||
|
2
mod.conf
2
mod.conf
@ -2,5 +2,5 @@ name = xdecor
|
|||||||
title = X-Decor-libre
|
title = X-Decor-libre
|
||||||
description = A decoration mod meant to be simple and well-featured (libre version).
|
description = A decoration mod meant to be simple and well-featured (libre version).
|
||||||
depends = default, bucket, doors, farming, stairs, xpanes
|
depends = default, bucket, doors, farming, stairs, xpanes
|
||||||
optional_depends = playerphysics, player_api, fire, moreblocks, mesecons
|
optional_depends = playerphysics, player_api, fire, moreblocks, mesecons, unified_inventory
|
||||||
min_minetest_version = 5.7.0
|
min_minetest_version = 5.7.0
|
||||||
|
17
src/hive.lua
17
src/hive.lua
@ -182,3 +182,20 @@ minetest.register_craft({
|
|||||||
{"group:stick", "group:stick", "group:stick"}
|
{"group:stick", "group:stick", "group:stick"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath("unified_inventory") then
|
||||||
|
unified_inventory.register_craft_type("xdecor:hive", {
|
||||||
|
description = S("Made by bees"),
|
||||||
|
icon = "hive_bee.png",
|
||||||
|
width = 1,
|
||||||
|
height = 1,
|
||||||
|
uses_crafting_grid = false
|
||||||
|
})
|
||||||
|
|
||||||
|
unified_inventory.register_craft({
|
||||||
|
output = "xdecor:honey",
|
||||||
|
type = "xdecor:hive",
|
||||||
|
items = {"xdecor:hive"},
|
||||||
|
width = 1
|
||||||
|
})
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user