1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-13 13:49:33 +02:00

translations

This commit is contained in:
MewMew 2019-12-05 10:18:37 +01:00
parent 70c613e839
commit 05ad79632d
2 changed files with 42 additions and 5 deletions

View File

@ -11,6 +11,29 @@ map_info_main_caption=M O U N T A I N F O R T R E S S
map_info_sub_caption= ..diggy diggy choo choo..
map_info_text=The biters have catched the scent of fish in the cargo wagon.\nGuide the choo into the mountain and protect it as long as possible!\nThis however will not be an easy task,\nsince their strength and numbers increase over time.\n\nIn additon, the southern grounds collapse over time.\nStone bricks, concrete or other solid tiles, might improve the stability of the floor.\n\nDelve deep for greater treasures, but also face increased dangers.\nMining productivity research, will overhaul your mining equipment,\nreinforcing your pickaxe as well as increasing the size of your backpack.\n\nAs you dig, you will encounter impassable dark chasms or rivers.\nSome explosives may cause parts of the ceiling to crumble, filling the void, creating new ways.\nAll they need is a container and a well aimed shot.\n\nYou may find some supply goods, if you enter the wagon.\nGood luck on your journey!
[rocks_yield_ore_veins]
coal=coal
iron-ore=iron
copper-ore=copper
uranium-ore=uranium
stone=stone
mixed=mixed ore
giant=giant
huge=huge
big=big
small=smol
tiny=tiny
player_print=You notice something __1__ underneath the rubble. It's a __2__ vein of __3__!! __4__
game_print= __1__ found a __2__ vein of __3__! __4__
[rocks_yield_ore_veins_colors]
coal=dark
iron-ore=shiny
copper-ore=glimmering
uranium-ore=glowing
stone=solid
mixed=glitter
[wave_defense]
gui_1=First wave in
gui_2=Wave:

View File

@ -30,7 +30,7 @@ local size_raffle = {
{"giant", 65, 96},
{"huge", 33, 64},
{"big", 17, 32},
{"smol", 9, 16},
{"small", 9, 16},
{"tiny", 4, 8},
}
@ -80,12 +80,26 @@ local function ore_vein(event)
local player = game.players[event.player_index]
for _, p in pairs(game.connected_players) do
if p.index == player.index then
p.print("You notice something " .. ore_prints[ore][1] .. " underneath the rubble. It's a " .. size[1] .. " vein of " .. ore_prints[ore][2] .. "!! " .. ore_prints[ore][3], { r=0.80, g=0.80, b=0.80})
if p.index == player.index then
p.print(
{"rocks_yield_ore_veins.player_print",
{"rocks_yield_ore_veins_colors." .. ore},
{"rocks_yield_ore_veins." .. size[1]},
{"rocks_yield_ore_veins." .. ore},
ore_prints[ore][3]
},
{r=0.80, g=0.80, b=0.80}
)
else
game.print(
"[color=" .. player.chat_color.r .. "," .. player.chat_color.g .. "," .. player.chat_color.b .. "]" .. player.name
.. "[/color] found a " .. size[1] .. " vein of " .. ore_prints[ore][2] .. "! " .. ore_prints[ore][3], { r=0.80, g=0.80, b=0.80})
{"rocks_yield_ore_veins.game_print",
"[color=" .. player.chat_color.r .. "," .. player.chat_color.g .. "," .. player.chat_color.b .. "]" .. player.name .. "[/color]",
{"rocks_yield_ore_veins." .. size[1]},
{"rocks_yield_ore_veins." .. ore},
ore_prints[ore][3]
},
{r=0.80, g=0.80, b=0.80}
)
end
end