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