This commit is contained in:
parent
50034e37af
commit
3c1d0ef40a
@ -185,9 +185,10 @@ for _, i in ipairs({
|
||||
end
|
||||
|
||||
local iron = S("Iron")
|
||||
local steel = S("Steel")
|
||||
for_each_registered_item(function(item_name)
|
||||
local item_def = minetest.registered_items[item_name]
|
||||
if steel_to_iron[item_name] and string.find(item_def.description, "Steel") then
|
||||
minetest.override_item(item_name, { description = string.gsub(item_def.description, "Steel", iron) })
|
||||
if steel_to_iron[item_name] and string.find(item_def.description, steel) then
|
||||
minetest.override_item(item_name, { description = string.gsub(item_def.description, steel, iron) })
|
||||
end
|
||||
end)
|
||||
|
@ -1,5 +1,4 @@
|
||||
# textdomain: technic_worldgen
|
||||
|
||||
Uranium Lump=Кусок урана
|
||||
Uranium Ingot=Урановый слиток
|
||||
Chromium Lump=Кусок хрома
|
||||
@ -14,6 +13,7 @@ Cast Iron Ingot=Чугунный слиток
|
||||
Carbon Steel Ingot=Слиток углеродистой стали
|
||||
Stainless Steel Ingot=Слиток нержавеющей стали
|
||||
Iron=Железо
|
||||
Steel=Сталь
|
||||
Uranium Ore=Урановая руда
|
||||
Chromium Ore=Хромовая руда
|
||||
Zinc Ore=Цинковая руда
|
||||
|
@ -13,6 +13,7 @@ Cast Iron Ingot=
|
||||
Carbon Steel Ingot=
|
||||
Stainless Steel Ingot=
|
||||
Iron=
|
||||
Steel=
|
||||
Uranium Ore=
|
||||
Chromium Ore=
|
||||
Zinc Ore=
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- Code of rubber tree by PilzAdam
|
||||
|
||||
local S = technic.worldgen.gettext
|
||||
local S = minetest.get_translator("technic_worldgen")
|
||||
|
||||
minetest.register_node(":moretrees:rubber_tree_sapling", {
|
||||
description = S("Rubber Tree Sapling"),
|
||||
|
Loading…
Reference in New Issue
Block a user