Improve FR construction plan

master
Joachim Stolberg 2022-01-21 21:44:04 +01:00
parent 67ff7af651
commit 59e2e630ee
20 changed files with 19 additions and 3 deletions

View File

@ -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

View File

@ -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",

View File

@ -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},

View File

@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 347 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 127 KiB

BIN
images/fusion_reactor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 453 KiB

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 KiB

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -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

View File

@ -597,6 +597,7 @@ TA4 LED Grow Light=
No plan available=
Plan=
Sectional view=
Side view=
Top view=

View File

@ -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]

View File

@ -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]

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB