mirror of
https://github.com/minetest-mods/technic.git
synced 2025-10-23 21:05:47 +02:00
remove these spaces
This commit is contained in:
@@ -140,7 +140,7 @@ minetest.register_tool("wrench:wrench", {
|
||||
lists[listname] = list
|
||||
end
|
||||
metadata.lists = lists
|
||||
|
||||
|
||||
local metas = {}
|
||||
for name, meta_type in pairs(def.metas or {}) do
|
||||
if meta_type == wrench.META_TYPE_INT then
|
||||
@@ -152,7 +152,7 @@ minetest.register_tool("wrench:wrench", {
|
||||
end
|
||||
end
|
||||
metadata.metas = metas
|
||||
|
||||
|
||||
stack:set_metadata(minetest.serialize(metadata))
|
||||
minetest.remove_node(pos)
|
||||
itemstack:add_wear(65535 / 20)
|
||||
|
||||
@@ -11,7 +11,7 @@ Syntax:
|
||||
store_meta_always = true,
|
||||
}
|
||||
owned - nodes that are protected by owner requirements (Ex. locked chests)
|
||||
store_meta_always - when nodes are broken this ensures metadata and
|
||||
store_meta_always - when nodes are broken this ensures metadata and
|
||||
inventory is always stored (Ex. active state for machines)
|
||||
--]]
|
||||
|
||||
@@ -19,7 +19,7 @@ wrench.META_TYPE_INT = 0
|
||||
wrench.META_TYPE_FLOAT = 1
|
||||
wrench.META_TYPE_STRING = 2
|
||||
|
||||
local INT, STRING, FLOAT =
|
||||
local INT, STRING, FLOAT =
|
||||
wrench.META_TYPE_INT,
|
||||
wrench.META_TYPE_STRING,
|
||||
wrench.META_TYPE_FLOAT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
local INT, STRING, FLOAT =
|
||||
local INT, STRING, FLOAT =
|
||||
wrench.META_TYPE_INT,
|
||||
wrench.META_TYPE_STRING,
|
||||
wrench.META_TYPE_FLOAT
|
||||
@@ -294,7 +294,7 @@ wrench:register_node("technic:mv_centrifuge_active", {
|
||||
|
||||
local chest_mark_colors = {
|
||||
'_black',
|
||||
'_blue',
|
||||
'_blue',
|
||||
'_brown',
|
||||
'_cyan',
|
||||
'_dark_green',
|
||||
|
||||
Reference in New Issue
Block a user