forked from nalc/homedecor_modpack
remove debug statements
This commit is contained in:
parent
7402f30c3a
commit
2d433f9652
@ -42,7 +42,6 @@ homedecor.register("desk_fan", {
|
|||||||
local entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
|
local entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
meta:set_string("active", "no")
|
meta:set_string("active", "no")
|
||||||
print (meta:get_string("active"))
|
|
||||||
if entity_remove[1] == nil then
|
if entity_remove[1] == nil then
|
||||||
minetest.add_entity({x=pos.x, y=pos.y, z=pos.z}, "homedecor:mesh_desk_fan") --+(0.0625*10)
|
minetest.add_entity({x=pos.x, y=pos.y, z=pos.z}, "homedecor:mesh_desk_fan") --+(0.0625*10)
|
||||||
entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
|
entity_remove = minetest.get_objects_inside_radius(pos, 0.1)
|
||||||
@ -62,10 +61,8 @@ homedecor.register("desk_fan", {
|
|||||||
local speedy_meta = minetest.get_meta(pos)
|
local speedy_meta = minetest.get_meta(pos)
|
||||||
if speedy_meta:get_string("active") == "no" then
|
if speedy_meta:get_string("active") == "no" then
|
||||||
speedy_meta:set_string("active", "yes")
|
speedy_meta:set_string("active", "yes")
|
||||||
print (speedy_meta:get_string("active"))
|
|
||||||
elseif speedy_meta:get_string("active") == "yes" then
|
elseif speedy_meta:get_string("active") == "yes" then
|
||||||
speedy_meta:set_string("active", "no")
|
speedy_meta:set_string("active", "no")
|
||||||
print (speedy_meta:get_string("active"))
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if entity_anim[1] == nil then
|
if entity_anim[1] == nil then
|
||||||
|
@ -281,8 +281,6 @@ function homedecor.register_furnace(name, furnacedef)
|
|||||||
inv:add_item("dst", cooked.item)
|
inv:add_item("dst", cooked.item)
|
||||||
-- take stuff from "src" list
|
-- take stuff from "src" list
|
||||||
inv:set_stack("src", 1, aftercooked.items[1])
|
inv:set_stack("src", 1, aftercooked.items[1])
|
||||||
else
|
|
||||||
print(S("Could not insert '%s'"):format(cooked.item:to_string()))
|
|
||||||
end
|
end
|
||||||
meta:set_string("src_time", 0)
|
meta:set_string("src_time", 0)
|
||||||
end
|
end
|
||||||
|
@ -202,8 +202,6 @@ Two-drawer Nightstand = Nachttisch mit zwei Schubladen
|
|||||||
### oven.lua ###
|
### oven.lua ###
|
||||||
Oven = Herd
|
Oven = Herd
|
||||||
Microwave Oven = Mikrowelle
|
Microwave Oven = Mikrowelle
|
||||||
## 1: Item descrition
|
|
||||||
Could not insert '%s' = Kann '%s' nicht einfuegen
|
|
||||||
## 1: Item description, 2: Percentage
|
## 1: Item description, 2: Percentage
|
||||||
%s active: %d%% = %s ist aktiv: %d%%
|
%s active: %d%% = %s ist aktiv: %d%%
|
||||||
## 1: Item description
|
## 1: Item description
|
||||||
|
@ -167,8 +167,6 @@ Two-drawer Nightstand = Mesa de Noche de dos Cajones
|
|||||||
|
|
||||||
### oven.lua ###
|
### oven.lua ###
|
||||||
Oven = Estufa
|
Oven = Estufa
|
||||||
## 1: Item name
|
|
||||||
Could not insert '%s' = No se pudo insertar '%s'
|
|
||||||
## 1: Percentage
|
## 1: Percentage
|
||||||
Oven active: %d%% = Estufa activa: %d%%
|
Oven active: %d%% = Estufa activa: %d%%
|
||||||
Oven out of fuel = Estufa sin combustible
|
Oven out of fuel = Estufa sin combustible
|
||||||
|
@ -154,8 +154,6 @@ Two-drawer Nightstand = Table de chevet avec deux tiroirs
|
|||||||
|
|
||||||
### oven.lua ###
|
### oven.lua ###
|
||||||
Oven = Four
|
Oven = Four
|
||||||
## 1: Item name
|
|
||||||
Could not insert '%s' = Ne peut insérer '%s'
|
|
||||||
## 1: Percentage
|
## 1: Percentage
|
||||||
Oven active: %d%% = Four actif : %d%%
|
Oven active: %d%% = Four actif : %d%%
|
||||||
Oven out of fuel = Four sans carburant
|
Oven out of fuel = Four sans carburant
|
||||||
|
@ -171,8 +171,6 @@ Two-drawer Nightstand = Criado-mudo com duas gavetas
|
|||||||
|
|
||||||
### oven.lua ###
|
### oven.lua ###
|
||||||
Oven = Forno
|
Oven = Forno
|
||||||
## 1: Item name
|
|
||||||
Could not insert '%s' = Não foi possível inserir '%s'
|
|
||||||
## 1: Percentage
|
## 1: Percentage
|
||||||
Oven active: %d%% = Forno ativo: %d%%
|
Oven active: %d%% = Forno ativo: %d%%
|
||||||
Oven out of fuel = O forno está sem combustível
|
Oven out of fuel = O forno está sem combustível
|
||||||
|
@ -203,8 +203,6 @@ Two-drawer Nightstand =
|
|||||||
### oven.lua ###
|
### oven.lua ###
|
||||||
Oven =
|
Oven =
|
||||||
Microwave Oven =
|
Microwave Oven =
|
||||||
## 1: Item descrition
|
|
||||||
Could not insert '%s' =
|
|
||||||
## 1: Item description, 2: Percentage
|
## 1: Item description, 2: Percentage
|
||||||
%s active: %d%% =
|
%s active: %d%% =
|
||||||
## 1: Item description
|
## 1: Item description
|
||||||
|
Loading…
Reference in New Issue
Block a user