Compare commits

...

5 Commits

Author SHA1 Message Date
bc55cde65c Merge branch 'master' into 'master'
Fix digging of locked inventory nodes

Closes #34 and #33

See merge request VanessaE/homedecor_modpack!21
2021-01-30 13:45:35 +00:00
e049380408 fix digging of locked inventory nodes 2021-01-31 00:02:17 +11:00
e57c4a55e6 Merge branch 'littlefix' into 'master'
homedecor_exterior locale fix and homedecor_books mod.conf

See merge request VanessaE/homedecor_modpack!20
2021-01-26 12:55:28 +00:00
e73b4affe7 homedecor books can work without unifieddyes 2021-01-26 09:34:23 +00:00
62cdcc5795 ES locale fix 2021-01-26 09:33:32 +00:00
3 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,4 @@
name = homedecor_books
description = Homedecor mod: books
depends = homedecor_common, default, unifieddyes, creative
depends = homedecor_common, default, creative
optional_depends = unifieddyes

View File

@ -141,9 +141,9 @@ function homedecor.handle_inventory(name, def, original_def)
stack:get_count()
end
local can_dig = def.can_dig
local can_dig = def.can_dig or default_can_dig
def.can_dig = function(pos, player)
return default.can_interact_with_node(player, pos) and (can_dig and (can_dig(pos, player) or true))
return default.can_interact_with_node(player, pos) and (can_dig and can_dig(pos, player) == true)
end
def.on_key_use = function(pos, player)

View File

@ -7,14 +7,14 @@ Barbecue=Barbacoa
Doghouse=Casa de perros
Garden Lattice (@1)=Enrejado de jardín (@1)
Garden stone path=Camino de piedra de jardín
No room in your inventory to add a filled bucket!=
No room under there to hang a swing.=
No room in your inventory to add a filled bucket!=No hay espacio en tu inv para el cubo
No room under there to hang a swing.=No hay espacio para colgar el columpio
Shrubbery (@1)=Arbustos (@1)
Shrubbery (large, @1)=Arbustos (@1)
Tree's swing=Columpio
Water well=Pozo de agua
You have to point at the bottom side of an overhanging object to place a swing.=
You have to point at the bottom side of an overhanging object to place a swing.=Debe ser la parte inferior de un objeto para colocar el columpio.
green=verde
red=roja