1
0
Fork 0

Compare commits

..

1 Commits

Author SHA1 Message Date
José Muñoz 26504cd36a Fix typos 2023-07-29 22:40:42 -06:00
5 changed files with 12 additions and 15 deletions

View File

@ -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

View File

@ -169,9 +169,10 @@ local professions = {
jobsite = "mcl_fletching_table:fletching_table",
trades = {
{
{ { "mcl_core:stick", 32, 32 }, E1 },
{ { "mcl_mobitems:string", 15, 20 }, E1 },
{ E1, { "mcl_bows:arrow", 8, 12 } },
{ { "mcl_core:gravel", 10, 10, "mcl_core:emerald", 1, 1 }, { "mcl_core:flint", 6, 10 } },
{ { "mcl_core:stick", 32, 32 }, E1 },
},
{
{ { "mcl_core:flint", 26, 26 }, E1 },
@ -182,7 +183,7 @@ local professions = {
{ { "mcl_core:emerald", 3, 3 }, { "mcl_bows:crossbow", 1, 1 } },
},
{
{ { "mcl_mobitems:feather", 24, 24 }, E1 },
{ { "mcl_mobitems:string", 24, 24 }, E1 },
{ { "mcl_core:emerald", 7, 21 } , { "mcl_bows:bow_enchanted", 1, 1 } },
},
{
@ -350,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 },
@ -1007,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

View File

@ -0,0 +1 @@
-- This mod has no code and is only a collection of textures.

View File

@ -0,0 +1,3 @@
name = mcl_base_textures
author = Wuzzy
description = Provides core textures needed by Minetest.

View File

@ -11,7 +11,7 @@ To use the bow, you first need to have at least one arrow anywhere in your inven
Bow=Arco
Ammunition=Munición
Damage from bow: 1-10=Daño con arco: 1-10
Damage from dispenser: 3=Daño por dispendsador: 3
Damage from dispenser: 3=Daño por dispensador: 3
Launches arrows=Lanza flechas
Crossbow=Ballesta
Crossbows are ranged weapons to shoot arrows at your foes.=Las ballestas son armas a distancia para disparar flechas a tus enemigos.