mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2025-08-20 20:50:21 +02:00
Compare commits
21 Commits
2021-02-25
...
df9e8aea4b
Author | SHA1 | Date | |
---|---|---|---|
df9e8aea4b | |||
99a01301a8 | |||
2ef259fa24 | |||
caaa963eaf | |||
e5866b7928 | |||
b6ecc0b95f | |||
320cd1d449 | |||
3675e9c266 | |||
3567b42c39 | |||
bd67ba2499 | |||
5612f4c884 | |||
7bcfbbca3a | |||
e372ccb4d8 | |||
5c6a994698 | |||
1eec6e3615 | |||
0753606eb0 | |||
778b5493c7 | |||
fb0ca9a15c | |||
1520d27a73 | |||
5d4c64d3b2 | |||
4eb9ffb088 |
@ -4,3 +4,6 @@ dofile(modpath.."/alias.lua")
|
||||
dofile(modpath.."/node_stairs.lua")
|
||||
dofile(modpath.."/others.lua")
|
||||
dofile(modpath.."/recipes.lua")
|
||||
|
||||
minetest.log("action", "[building_blocks] loaded.")
|
||||
|
||||
|
@ -96,3 +96,5 @@ dofile(MODPATH.."/computers.lua")
|
||||
dofile(MODPATH.."/printers.lua")
|
||||
dofile(MODPATH.."/recipes.lua")
|
||||
dofile(MODPATH.."/tetris.lua")
|
||||
|
||||
minetest.log("action", "[computer] loaded.")
|
||||
|
@ -309,3 +309,5 @@ minetest.register_lbm({
|
||||
fire_particles_on(pos)
|
||||
end
|
||||
})
|
||||
|
||||
minetest.log("action", "[fake_fire] loaded.")
|
||||
|
@ -121,3 +121,6 @@ if minetest.get_modpath("doors") then
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
minetest.log("action", "[homedecor_3d_extra] loaded.")
|
||||
|
||||
|
@ -27,7 +27,7 @@ for _, c in ipairs(bookcolors) do
|
||||
local color, hue = unpack(c)
|
||||
|
||||
local function book_dig(pos, node, digger)
|
||||
if not digger or minetest.is_protected(pos, digger:get_player_name()) then return end
|
||||
if minetest.is_protected(pos, digger:get_player_name()) then return end
|
||||
local meta = minetest.get_meta(pos)
|
||||
local data = minetest.serialize({
|
||||
title = meta:get_string("title") or "",
|
||||
|
@ -1,4 +1,3 @@
|
||||
name = homedecor_books
|
||||
description = Homedecor mod: books
|
||||
depends = homedecor_common, default, creative
|
||||
optional_depends = unifieddyes
|
||||
depends = homedecor_common, default, unifieddyes, creative
|
||||
|
@ -69,6 +69,6 @@ dofile(modpath.."/water_particles.lua")
|
||||
dofile(modpath.."/sit.lua")
|
||||
dofile(modpath.."/crafts.lua")
|
||||
|
||||
if minetest.settings:get_bool("log_mod") then
|
||||
if minetest.settings:get_bool("log_mods") then
|
||||
minetest.log("action", "[HomeDecor API] Loaded!")
|
||||
end
|
||||
|
@ -141,9 +141,9 @@ function homedecor.handle_inventory(name, def, original_def)
|
||||
stack:get_count()
|
||||
end
|
||||
|
||||
local can_dig = def.can_dig or default_can_dig
|
||||
local can_dig = def.can_dig
|
||||
def.can_dig = function(pos, player)
|
||||
return default.can_interact_with_node(player, pos) and (can_dig and can_dig(pos, player) == true)
|
||||
return default.can_interact_with_node(player, pos) and (can_dig and (can_dig(pos, player) or true))
|
||||
end
|
||||
|
||||
def.on_key_use = function(pos, player)
|
||||
|
@ -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 hay espacio en tu inv para el cubo
|
||||
No room under there to hang a swing.=No hay espacio para colgar el columpio
|
||||
No room in your inventory to add a filled bucket!=
|
||||
No room under there to hang a swing.=
|
||||
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.=Debe ser la parte inferior de un objeto para colocar el columpio.
|
||||
You have to point at the bottom side of an overhanging object to place a swing.=
|
||||
|
||||
green=verde
|
||||
red=roja
|
||||
|
@ -162,10 +162,7 @@ if minetest.get_modpath("digilines") then
|
||||
if puncher:get_player_control().sneak then
|
||||
local name = puncher:get_player_name()
|
||||
player_last_clicked[name] = pos
|
||||
local form = "formspec_version[4]"..
|
||||
"size[8,4]"..
|
||||
"button_exit[3,2.5;2,0.5;proceed;Proceed]"..
|
||||
"field[1.75,1.5;4.5,0.5;channel;Channel;]"
|
||||
local form = "field[channel;Channel;]"
|
||||
minetest.show_formspec(name, "homedecor:lamp_set_channel", form)
|
||||
end
|
||||
end
|
||||
@ -1882,3 +1879,4 @@ if minetest.get_modpath("darkage") then
|
||||
end
|
||||
end
|
||||
|
||||
minetest.log("action", "[homedecor_lightning] loaded.")
|
||||
|
@ -82,3 +82,5 @@ dofile(modpath.."/longsofas.lua")
|
||||
dofile(modpath.."/sofas.lua")
|
||||
dofile(modpath.."/armchairs.lua")
|
||||
dofile(modpath.."/misc.lua")
|
||||
|
||||
minetest.log("action", "[homedecor_seating] loaded.")
|
||||
|
@ -124,3 +124,5 @@ function inbox.get_inbox_insert_formspec(pos)
|
||||
"listring[]"
|
||||
return formspec
|
||||
end
|
||||
|
||||
minetest.log("action", "[inbox] loaded.")
|
||||
|
@ -328,3 +328,4 @@ if minetest.get_modpath("mesecons_mvps") then
|
||||
mesecon.register_mvps_stopper("itemframes:pedestal")
|
||||
end
|
||||
|
||||
minetest.log("action", "[itemframes] loaded.")
|
||||
|
@ -185,3 +185,5 @@ minetest.register_craft({
|
||||
{'group:stick', 'default:coal_lump', 'group:stick'},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.log("action", "[plasmascreen] loaded.")
|
||||
|
Reference in New Issue
Block a user