forked from VoxeLibre/VoxeLibre
Compare commits
1 Commits
master
...
cherry_boa
Author | SHA1 | Date |
---|---|---|
|
0143ee1cc5 |
|
@ -96,8 +96,8 @@ function mcl_damage.finish_reason(mcl_reason)
|
|||
end
|
||||
|
||||
function mcl_damage.from_mt(mt_reason)
|
||||
if mt_reason._mcl_cached_reason then
|
||||
return mt_reason._mcl_cached_reason
|
||||
if mt_reason._mcl_chached_reason then
|
||||
return mt_reason._mcl_chached_reason
|
||||
end
|
||||
|
||||
local mcl_reason
|
||||
|
|
|
@ -351,7 +351,7 @@ local professions = {
|
|||
leatherworker = {
|
||||
name = N("Leatherworker"),
|
||||
texture = "mobs_mc_villager_leatherworker.png",
|
||||
jobsite = "group:cauldron",
|
||||
jobsite = "mcl_cauldrons:cauldron",
|
||||
trades = {
|
||||
{
|
||||
{ { "mcl_mobitems:leather", 9, 12 }, E1 },
|
||||
|
@ -1008,15 +1008,7 @@ end
|
|||
----- JOBSITE LOGIC
|
||||
local function get_profession_by_jobsite(js)
|
||||
for k,v in pairs(professions) do
|
||||
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
|
||||
if v.jobsite == js then return k end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# 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.=Блок естественной выработки, в котором живут пчелы, и вкусное угощение... если вы сможете его достать.
|
Binary file not shown.
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 413 B |
Binary file not shown.
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 489 B |
Loading…
Reference in New Issue