forked from VoxeLibre/VoxeLibre
Compare commits
4 Commits
archaeolog
...
master
Author | SHA1 | Date |
---|---|---|
|
a5980538ef | |
|
aa3b3421d5 | |
|
4f2cb955b8 | |
|
a3bbb3694c |
|
@ -351,7 +351,7 @@ local professions = {
|
|||
leatherworker = {
|
||||
name = N("Leatherworker"),
|
||||
texture = "mobs_mc_villager_leatherworker.png",
|
||||
jobsite = "mcl_cauldrons:cauldron",
|
||||
jobsite = "group:cauldron",
|
||||
trades = {
|
||||
{
|
||||
{ { "mcl_mobitems:leather", 9, 12 }, E1 },
|
||||
|
@ -1008,7 +1008,15 @@ end
|
|||
----- JOBSITE LOGIC
|
||||
local function get_profession_by_jobsite(js)
|
||||
for k,v in pairs(professions) do
|
||||
if v.jobsite == js then return k end
|
||||
if v.jobsite == js then
|
||||
return k
|
||||
-- Catch Nitwit doesn't have a jobsite
|
||||
elseif v.jobsite and v.jobsite:find("^group:") then
|
||||
local group = v.jobsite:gsub("^group:", "")
|
||||
if minetest.get_item_group(js, group) > 0 then
|
||||
return k
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# textdomain: mcl_beehives
|
||||
Beehive=Улей
|
||||
Artificial bee nest.=Искусственное пчелиное гнездо.
|
||||
Bee Nest=Пчелиное гнездо
|
||||
A naturally generating block that houses bees and a tasty treat...if you can get it.=Блок естественной выработки, в котором живут пчелы, и вкусное угощение... если вы сможете его достать.
|
Loading…
Reference in New Issue