diff --git a/doc/guide.lua b/doc/guide.lua index 61a8445..3f5e1a4 100644 --- a/doc/guide.lua +++ b/doc/guide.lua @@ -15,6 +15,8 @@ local function tooltip(item) return "", name elseif img == "10x10" then -- huge image for the plan? return "10x10", name + elseif img == "5x4" then -- huge image for the plan? + return "5x4", name end local ndef = minetest.registered_nodes[name] if ndef and ndef.description then @@ -40,12 +42,17 @@ local function plan(images) tbl[#tbl+1] = "label["..x_offs..","..y_offs..";"..S("Top view").."]" elseif img == "side_view" then tbl[#tbl+1] = "label["..x_offs..","..y_offs..";"..S("Side view").."]" + elseif img == "sectional_view" then + tbl[#tbl+1] = "label["..x_offs..","..y_offs..";"..S("Sectional view").."]" elseif img == "" then img = tooltip -- use tooltip for bigger image tbl[#tbl+1] = "image["..x_offs..","..y_offs..";2.2,2.2;"..img.."]" elseif img == "10x10" then img = tooltip -- use tooltip for bigger image tbl[#tbl+1] = "image["..x_offs..","..y_offs..";10,10;"..img.."]" + elseif img == "5x4" then + img = tooltip -- use tooltip for bigger image + tbl[#tbl+1] = "image["..x_offs..","..y_offs..";5,4;"..img.."]" elseif string.find(img, ":") then tbl[#tbl+1] = "item_image["..x_offs..","..y_offs..";1,1;"..img.."]" else diff --git a/doc/items.lua b/doc/items.lua index 05ba257..abad424 100644 --- a/doc/items.lua +++ b/doc/items.lua @@ -204,6 +204,7 @@ techage.Items = { ta4_autocrafter = "techage:ta4_autocrafter_pas", ta4_recipeblock = "techage:ta4_recipeblock", ---------------------------- + techage_ta5 = "techage:ta5_fr_nucleus", ta5_flycontroller = "techage:ta5_flycontroller", ta5_aichip = "techage:ta5_aichip", ta5_tele_pipe = "techage:ta5_tele_pipe", diff --git a/doc/plans.lua b/doc/plans.lua index 411cb42..e1791a1 100644 --- a/doc/plans.lua +++ b/doc/plans.lua @@ -25,9 +25,11 @@ local IMG42 = {"", "techage_ta4_solar.png"} local IMG43 = {"", "techage_reactor_inv.png"} local IMG44 = {"", "techage_ta4_filter.png"} local IMG45 = {"10x10", "techage_collider_plan.png"} +local IMG46 = {"5x4", "techage_fusion_reactor.png"} local TOP_V = {"top_view", ""} local SIDEV = {"side_view", ""} +local SECTV = {"sectional_view", ""} -- -- TA1: Coal Pile @@ -523,9 +525,11 @@ local MAGN3 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png^[transf local MAGN4 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png^[transformR270]", "techage:ta5_magnet1"} techage.ConstructionPlans["ta5_fusion_reactor"] = { + {false, false, false, false, false, false, IMG46, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, - {false, false, false, SIDEV, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, + {false, false, false, false, false, false, false, false, false, false, false}, + {false, SECTV, false, false, false, false, false, false, false, false, false}, {false, false, SHELL, SHELL, SHELL, false, SHELL, SHELL, SHELL, false, false}, {false, SHELL, SHELL, MAGN3, SHELL, SHELL, SHELL, MAGN3, SHELL, SHELL, false}, {false, SHELL, MAGN4, false, MAGN2, SHELL, MAGN4, false, MAGN2, SHELL, false}, diff --git a/fusion_reactor/heatexchanger2.lua b/fusion_reactor/heatexchanger2.lua index ea30dbf..832782e 100644 --- a/fusion_reactor/heatexchanger2.lua +++ b/fusion_reactor/heatexchanger2.lua @@ -191,6 +191,8 @@ local function steam_management(pos, nvm) heatexchanger1_cmnd(pos, "stop") elseif nvm.temperature == 80 then heatexchanger1_cmnd(pos, "start") + local owner = M(pos):get_string("owner") + minetest.log("action", "[techage] " .. owner .. " starts the TA5 Fusion Reactor") elseif nvm.temperature > 80 then heatexchanger1_cmnd(pos, "trigger") end diff --git a/images/chemical_reactor.png b/images/chemical_reactor.png index 78c56c5..6fbc83e 100644 Binary files a/images/chemical_reactor.png and b/images/chemical_reactor.png differ diff --git a/images/distillation_tower.png b/images/distillation_tower.png index 7e3826b..aa8e1db 100644 Binary files a/images/distillation_tower.png and b/images/distillation_tower.png differ diff --git a/images/drilling_tower.png b/images/drilling_tower.png index 6e098d1..06945dc 100644 Binary files a/images/drilling_tower.png and b/images/drilling_tower.png differ diff --git a/images/fusion_reactor.png b/images/fusion_reactor.png new file mode 100644 index 0000000..5b0f353 Binary files /dev/null and b/images/fusion_reactor.png differ diff --git a/images/melting_furnace.png b/images/melting_furnace.png index 5341921..2c5f614 100644 Binary files a/images/melting_furnace.png and b/images/melting_furnace.png differ diff --git a/images/solar_plant.png b/images/solar_plant.png index 53dc02f..e17ef73 100644 Binary files a/images/solar_plant.png and b/images/solar_plant.png differ diff --git a/images/steam_engine.png b/images/steam_engine.png index f6b5637..8faaa33 100644 Binary files a/images/steam_engine.png and b/images/steam_engine.png differ diff --git a/images/tank_cart.png b/images/tank_cart.png index d641589..c1273a9 100644 Binary files a/images/tank_cart.png and b/images/tank_cart.png differ diff --git a/images/thermal_energy_storage.png b/images/thermal_energy_storage.png index 4fe067f..23527fb 100644 Binary files a/images/thermal_energy_storage.png and b/images/thermal_energy_storage.png differ diff --git a/images/watermill.png b/images/watermill.png index 8c3a8e2..69ac560 100644 Binary files a/images/watermill.png and b/images/watermill.png differ diff --git a/images/wind_plant.png b/images/wind_plant.png index 55210b0..1507582 100644 Binary files a/images/wind_plant.png and b/images/wind_plant.png differ diff --git a/locale/techage.de.tr b/locale/techage.de.tr index feffc7e..d9cd4d5 100644 --- a/locale/techage.de.tr +++ b/locale/techage.de.tr @@ -597,6 +597,7 @@ TA4 LED Grow Light=TA4 LED Pflanzenlampe No plan available=Kein Plan verfügar Plan=Plan +Sectional view=Schnittbild Side view=Seitenansicht Top view=Draufsicht diff --git a/locale/template.txt b/locale/template.txt index e8d862e..bb17203 100644 --- a/locale/template.txt +++ b/locale/template.txt @@ -597,6 +597,7 @@ TA4 LED Grow Light= No plan available= Plan= +Sectional view= Side view= Top view= diff --git a/manuals/manual_ta5_DE.md b/manuals/manual_ta5_DE.md index abd2e6f..b3c6be6 100644 --- a/manuals/manual_ta5_DE.md +++ b/manuals/manual_ta5_DE.md @@ -20,7 +20,7 @@ Ein Fusionskraftwerk benötigt zunächst eine hohe Menge an Energie, da ein Plas Der Plan rechts zeigt einen Schnitt durch den Fusionsreaktor. -Für den Betrieb des Fusionsreaktors werden 60 Erfahrungspunkte benötigt. +Für den Betrieb des Fusionsreaktors werden 60 Erfahrungspunkte benötigt. Der Fusionsreaktur muss komplett in einem Forceload Block Bereich aufgebaut werden. [ta5_fusion_reactor|plan] diff --git a/manuals/manual_ta5_EN.md b/manuals/manual_ta5_EN.md index 9dcf636..c8e26c4 100644 --- a/manuals/manual_ta5_EN.md +++ b/manuals/manual_ta5_EN.md @@ -20,7 +20,7 @@ A fusion power plant initially requires a large amount of energy, since a plasma The plan on the right shows a section through the fusion reactor. -60 experience points are required to operate the fusion reactor. +60 experience points are required to operate the fusion reactor. The fusion reactor must be built entirely in a forceload block area. [ta5_fusion_reactor|plan] diff --git a/textures/techage_fusion_reactor.png b/textures/techage_fusion_reactor.png new file mode 100644 index 0000000..2516d4e Binary files /dev/null and b/textures/techage_fusion_reactor.png differ