--[[ TechAge ======= Copyright (C) 2019 Joachim Stolberg AGPL v3 See LICENSE.txt for more information Constructioon Plans for TA machines ]]-- local plans = {} local IMG_1 = {"", "techage_ta1.png"} local IMG_2 = {"", "techage_ta2.png"} local IMG_3 = {"", "techage_ta3.png"} local IMG31 = {"", "techage_ta3b.png"} local IMG_4 = {"", "techage_ta4.png"} local IMG41 = {"", "techage_ta4_tes.png"} 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 IMG47 = {"5x4", "techage_collider_plan2.png"} local TOP_V = {"top_view", ""} local SIDEV = {"side_view", ""} local SECTV = {"sectional_view", ""} -- -- TA1: Coal Pile -- local DDIRT = {"default_dirt.png", "default:dirt"} local DWOOD = {"default_wood.png" , "default:wood"} local LIGTR = {"techage_lighter.png", "techage:lighter"} plans["coalpile"] = { {false, false, SIDEV, false, false, false, false, false, TOP_V, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, false, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT}, {DDIRT, DWOOD, DWOOD, DWOOD, DDIRT, false, DDIRT, DWOOD, DWOOD, DWOOD, DDIRT}, {DDIRT, DWOOD, DWOOD, DWOOD, DDIRT, false, DDIRT, DWOOD, LIGTR, DWOOD, DDIRT}, {DDIRT, DWOOD, LIGTR, DWOOD, DDIRT, false, DDIRT, DWOOD, DWOOD, DWOOD, DDIRT}, {DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, false, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT}, {false, false, false, false, false, false, false, false, false, false, false}, } -- -- TA1: Coal Burner -- local COBBL = {"default_cobble.png", "default:cobble"} local CCOAL = {"techage_charcoal.png", "techage:charcoal"} local MEPOT = {"default_cobble.png^techage_meltingpot.png", "techage:meltingpot"} local FLAME = {"techage_flame.png", nil} plans["coalburner"] = { {false, false, SIDEV, false, false, false, false}, {false, false, MEPOT, false, false, IMG_1, false}, {false, false, FLAME, false}, {false, COBBL, CCOAL, COBBL}, {false, COBBL, CCOAL, COBBL}, {false, COBBL, CCOAL, COBBL}, {false, COBBL, CCOAL, COBBL}, {false, false, LIGTR, COBBL}, {false, COBBL, COBBL, COBBL}, } -- -- Hopper + Sieve -- local CHEST = {"default_chest_lock.png", "default:chest_locked"} local HOPPR = {"techage_hopper.png^[transformFX", "minecart:hopper"} local SIEVE = {"techage_sieve_sieve_ta1.png", "techage:sieve3"} plans["hoppersieve"] = { {false, false, false, false, false}, {false, false, false, false, false}, {false, CHEST, false, false, false}, {false, HOPPR, SIEVE, false, false}, {false, false, HOPPR, CHEST, false}, } -- -- TA1: Watermill -- local WATR1 = {"default_water.png" , "techage:water_flowing"} local WATR3 = {"techage_water_flowing.png" , "techage:water_flowing"} local WATR4 = {"default_water.png" , "default:water_source"} local WMILL = {"default_wood.png" , "techage:ta1_board1_apple"} local SLUC1 = {"techage_sluice2_inv.png" , "techage:ta1_sluice_closed"} local SLUC2 = {"techage_sluice1_inv.png" , "techage:ta1_sluice_handle_closed"} local MIL11 = {"techage_watermill1_inv.png" , "techage:ta1_watermill"} local MIL12 = {"techage_watermill1_inv.png^[transformR90" , "techage:ta1_watermill"} local MIL13 = {"techage_watermill1_inv.png^[transformR180" , "techage:ta1_watermill"} local MIL14 = {"techage_watermill1_inv.png^[transformR270" , "techage:ta1_watermill"} local MIL21 = {"techage_watermill2_inv.png" , "techage:ta1_watermill"} local MIL22 = {"techage_watermill2_inv.png^[transformR90" , "techage:ta1_watermill"} local MIL23 = {"techage_watermill2_inv.png^[transformR180" , "techage:ta1_watermill"} local MIL24 = {"techage_watermill2_inv.png^[transformR270" , "techage:ta1_watermill"} local MIL31 = {"techage_watermill3_inv.png" , "techage:ta1_watermill"} local MIL32 = {"techage_watermill3_inv.png^[transformR90" , "techage:ta1_watermill"} local MIL33 = {"techage_watermill3_inv.png^[transformR180" , "techage:ta1_watermill"} local MIL34 = {"techage_watermill3_inv.png^[transformR270" , "techage:ta1_watermill"} local MIL40 = {"techage_watermill4_inv.png" , "techage:ta1_watermill"} local BEARG = {"default_stone_brick.png^techage_axle_bearing_front.png", "techage:ta1_axle_bearing2"} local BRICK = {"default_stone_brick.png", "default:stonebrick"} plans["watermill1"] = { {false, false, false, false, false, false, false, false, false, false, false, false}, {false, false, SLUC2, false, false, false, false, false, false, false, false, false}, {WATR4, WATR4, SLUC1, WMILL, WMILL, WMILL, WMILL, WMILL, WATR3, false, false, false}, {WATR4, WATR4, DDIRT, false, false, MIL31, MIL21, MIL11, MIL21, MIL34, false, false}, {WATR4, DDIRT, DDIRT, false, false, MIL22, MIL40, MIL40, MIL40, MIL24, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, false, MIL12, MIL40, BEARG, MIL40, MIL14, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, false, MIL22, MIL40, BRICK, MIL40, MIL24, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, MIL32, MIL23, BRICK, MIL23, MIL33, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, WATR1, WATR1, WATR1, WATR1}, } local MILLF = {"default_wood.png" , "techage:ta1_watermill"} local AXLE1 = {"techage_axle_bearing.png", "techage:ta1_axle"} local MILLG = {"techage_wood50.png^techage_axle_bearing.png", "techage:ta1_mill_gear"} local MILL_ = {"techage_mill_side.png", "techage:ta1_mill"} local MILLB = {"default_stone_brick.png", "techage:ta1_mill_base"} local FURNE = {"default_furnace_front.png", "default:furnace"} local HOPER = {"techage_hopper.png", "minecart:hopper"} plans["watermill2"] = { {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, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, MILLF, false, false, false}, {false, false, false, false, false, false, false, false, MILLF, false, false, false}, {false, false, false, false, false, MILLG, AXLE1, BEARG, MILLF, BEARG, false, false}, {false, false, false, false, false, MILL_, false, BRICK, MILLF, BRICK, false, false}, {false, CHEST, HOPER, FURNE, HOPER, MILLB, false, BRICK, MILLF, BRICK, false, false}, {DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, DDIRT, WATR1, DDIRT, DDIRT, DDIRT}, } -- -- Steam Engine -- local PK000 = {"techage_steam_knee.png", "techage:steam_pipeS"} local PK090 = {"techage_steam_knee.png^[transformR90", "techage:steam_pipeS"} local PK270 = {"techage_steam_knee.png^[transformR270", "techage:steam_pipeS"} local PI000 = {"techage_steam_pipe.png", "techage:steam_pipeS"} local PI090 = {'techage_steam_pipe.png^[transformR90', "techage:steam_pipeS"} local BOIL1 = {"techage:boiler1", "techage:boiler1"} local BOIL2 = {"techage:boiler2", "techage:boiler2"} local FIBOX = {"techage_firebox.png^techage_appl_firehole.png^techage_frame_ta2.png", "techage:firebox"} local CYLIN = {"techage_filling_ta2.png^techage_cylinder.png^techage_frame_ta2.png", "techage:cylinder"} local FLYWH = {"techage_filling_ta2.png^techage_frame_ta2.png^techage_flywheel.png^[transformFX]", "techage:flywheel"} plans["steamengine"] = { {false, false, false, false, false, IMG_2, false}, {false, false, false, false, false, false, false}, {false, PK000, PI000, PK270, false, false, false}, {false, BOIL2, false, PI090, false, false, false}, {false, BOIL1, false, PI090, false, false, false}, {false, FIBOX, false, PK090, CYLIN, FLYWH, false}, } -- -- TA2 Storage -- local GRBOX = {"techage_filling_ta2.png^techage_axle_gearbox.png^techage_frame_ta2.png", "techage:gearbox"} local AXL00 = {"techage_axle.png", "techage:axle"} local AXL90 = {"techage_axle.png^[transformR90", "techage:axle"} local WINCH = {"techage_filling_ta2.png^techage_appl_winch.png^techage_frame_ta2.png", "techage:ta2_winch"} local ROPE_ = {"techage_rope_inv.png", "techage:ta2_rope"} local WCHST = {"techage_filling_ta2.png^techage_frame_ta2.png^techage_appl_chest_back_ta3.png^techage_weight_side.png", "techage:ta2_weight_chest"} local CLTCH = {"techage_filling_ta2.png^techage_appl_clutch.png^techage_frame_ta2.png", "techage:ta2_clutch_off"} plans["ta2_storage"] = { {false, false, false, GRBOX, WINCH, false, SIDEV}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, ROPE_, false, false}, {false, false, false, AXL90, WCHST, false, false}, {false, false, false, AXL90, false, false, false}, {AXL00, CLTCH, AXL00, GRBOX, false, false, false}, } -- -- Item Transport -- local PUSHR = {"techage_appl_pusher.png^techage_frame_ta2.png", "techage:ta2_pusher_pas"} local TB000 = {"techage_tube_tube.png", "techage:tubeS"} local GRIND = {"techage_filling_ta2.png^techage_appl_grinder2.png^techage_frame_ta2.png", "techage:ta2_grinder_pas"} local DISTR = {"techage_filling_ta2.png^techage_frame_ta2.png^techage_appl_distri_blue.png", "techage:ta2_distributor_pas"} local SIEV2 = {"techage_filling_ta2.png^techage_appl_sieve.png^techage_frame_ta2.png", "techage:ta2_gravelsieve_pas"} plans["itemtransport"] = { {false, false, false, false, false, false, false, false, false, false, false}, {false}, {false}, {CHEST, PUSHR, TB000, GRIND, PUSHR, DISTR, TB000, SIEV2, PUSHR, TB000, CHEST}, } -- -- Gravel Rinser -- local RINSR = {"techage_filling_ta2.png^techage_appl_rinser.png^techage_frame_ta2.png", "techage:ta2_rinser_pas"} local GLASS = {"default_glass.png", "default:glass"} local WATER = {"default_water.png^default_glass.png", "default:water_source"} local WATR2 = {"default_water.png", "default:water_source"} local TK000 = {"techage_tube_knee.png", "techage:tubeS"} -- like 'r' local TK090 = {"techage_tube_knee.png^[transformR90", "techage:tubeS"} -- '7' local TK180 = {"techage_tube_knee.png^[transformR180", "techage:tubeS"} local TK270 = {"techage_tube_knee.png^[transformR270", "techage:tubeS"} plans["gravelrinser"] = { {false, false, false, SIDEV, false, false, false, false}, {false, GLASS, WATER, GLASS, GLASS, GLASS, GLASS, GLASS}, {false, DDIRT, DDIRT, TK000, RINSR, TK270, HOPPR, CHEST}, {false, false, false, false, false, false, false, false}, {false, false, false, TOP_V, false, false, false, false}, {false, GLASS, GLASS, GLASS, GLASS, GLASS, GLASS, GLASS}, {false, GLASS, WATR2, TK000, RINSR, TK270, HOPPR, GLASS}, {false, GLASS, GLASS, GLASS, GLASS, GLASS, GLASS, GLASS}, } -- -- Coal Power Station -- local BOIL3 = {"techage:coalboiler_top", "techage:coalboiler_top"} local BOIL4 = {"techage:coalboiler_base", "techage:coalboiler_base"} local FBOX3 = {"techage:coalfirebox", "techage:coalfirebox"} local TURB3 = {"techage_filling_ta3.png^techage_appl_turbine.png^techage_frame_ta3.png", "techage:turbine"} local GENE3 = {"techage_filling_ta3.png^techage_frame_ta3.png^techage_appl_generator.png", "techage:generator"} local COOL3 = {"techage_filling_ta3.png^techage_frame_ta3.png^techage_cooler.png", "techage:cooler"} local PK180 = {"techage_steam_knee.png^[transformR180", "techage:steam_pipeS"} plans["coalpowerstation"] = { {false, false, false, false, false, false, false, false}, {false, PK000, PI000, PI000, PI000, PI000, PI000, PK270}, {false, PI090, BOIL3, PI000, PK270, PK000, COOL3, PK180}, {false, PK090, BOIL4, false, PI090, PI090}, {false, false, FBOX3, false, PK090, TURB3, GENE3}, } -- -- TA3 Industrial Furnace -- local Cable = {"techage_electric_cable_inv.png", "techage:electric_cableS"} local Tubes = {"techage_tube_tube.png", "techage:tubeS"} local PushR = {"techage_appl_pusher.png^techage_frame_ta3.png", "techage:ta3_pusher_pas"} local PushL = {"techage_appl_pusher.png^techage_frame_ta3.png^[transformFX", "techage:ta3_pusher_pas"} local Boost = {"techage_filling_ta3.png^techage_appl_compressor.png^[transformFX^techage_frame_ta3.png", "techage:ta3_booster"} local Fibox = {"techage_concrete.png^techage_appl_firehole.png^techage_frame_ta3.png", "techage:furnace_firebox"} local Furnc = {"techage_concrete.png^techage_appl_furnace.png^techage_frame_ta3.png", "techage:ta3_furnace_pas"} plans["ta3_furnace"] = { {false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false}, {false, Tubes, PushR, Tubes, Furnc, Tubes, PushR, Tubes}, {false, false, Cable, Boost, Fibox, false, false, false}, } -- -- TA3 Tank Pump Pusher -- local Pump = {"techage_filling_ta3.png^techage_appl_pump.png^techage_frame_ta3.png", "techage:t3_pump"} local TANK3 = {"techage_filling_ta3.png^techage_frame_ta3.png^techage_appl_tank.png", "techage:ta3_tank"} local Fillr = {"techage_filling_ta3.png^techage_appl_liquid_hopper.png^techage_frame_ta3.png", "techage:filler"} local PIPEH = {"techage_gaspipe.png", "techage:ta4_pipeS"} local PIPEV = {"techage_gaspipe.png^[transformR90", "techage:ta4_pipeS"} local PN000 = {"techage_gaspipe_knee.png", "techage:ta4_pipeS"} -- r local PN090 = {"techage_gaspipe_knee.png^[transformR90", "techage:ta4_pipeS"} -- L local PN180 = {"techage_gaspipe_knee.png^[transformR180", "techage:ta4_pipeS"} -- J local PN270 = {"techage_gaspipe_knee.png^[transformR270", "techage:ta4_pipeS"} -- 7 plans["ta3_tank"] = { {false, false, false, false, SIDEV, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false}, {false, Tubes, PushR, Tubes, Fillr, Tubes, PushR, Tubes, false, false}, {false, false, false, false, TANK3, PIPEH, PIPEH, Pump, PIPEH, false}, {false, false, false, false, false, false, false, false, false, false}, } -- -- TA3 Oil Loading station -- local MCART = {minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png^minecart_logo.png", "carts_cart_side.png^minecart_logo.png"), "minecart:cart"} local PRAIL = {"carts_rail_straight_pwr.png", "carts:powerrail"} local PRAIH = {"carts_rail_straight_pwr.png^[transformR90", "carts:powerrail"} local TRAIL = {"carts_rail_t_junction.png^[transformR90", "carts:rail"} local RAILH = {"carts_rail_straight.png^[transformR90", "carts:rail"} local CRAIL = {"carts_rail_curved.png^[transformR90", "carts:rail"} local BUFFR = {"default_junglewood.png^minecart_buffer.png", "minecart:buffer"} plans["ta3_loading"] = { {false, false, PIPEH, Pump, PIPEH, PN270, SIDEV, false, false, false, false}, {false, false, false, false, false, PIPEV, false, false, false, false, false}, {false, MCART, false, false, false, PN090, TANK3, false, false, false, false}, {false, HOPPR, CHEST, Tubes, PushR, Tubes, Fillr, PushR, Tubes, MCART, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, BUFFR, false, false, false, TOP_V, false, false, false, BUFFR, false}, {false, PRAIL, false, false, false, false, false, false, false, PRAIL, false}, {false, CRAIL, RAILH, PRAIH, RAILH, RAILH, PRAIH, RAILH, RAILH, TRAIL, RAILH}, } -- -- Distiller -- local DIST4 = {"techage_distiller_inv.png", "techage:ta3_distiller4"} local DIST3 = {"techage_distiller_inv.png", "techage:ta3_distiller3"} local DIST2 = {"techage_distiller_inv.png", "techage:ta3_distiller2"} local DIST1 = {"techage_distiller_inv.png", "techage:ta3_distiller1"} local DBASE = {"techage_concrete.png", "techage:ta3_distiller_base"} local REBIO = {"techage_filling_ta3.png^techage_appl_reboiler.png^techage_frame_ta3.png", "techage:ta3_reboiler"} plans["ta3_distiller"] = { {false, false, false, false, false, SIDEV, false, PN000, PIPEH, TANK3, false}, {false, IMG31, false, false, false, false, false, DIST4, false, false, false}, {false, false, false, false, false, false, false, DIST3, PIPEH, TANK3, false}, {false, false, false, false, false, false, false, DIST2, false, false, false}, {false, false, false, false, false, false, false, DIST3, PIPEH, TANK3, false}, {false, false, false, false, false, false, false, DIST2, false, false, false}, {false, false, false, false, false, false, false, DIST3, PIPEH, TANK3, false}, {false, false, false, false, false, false, false, DIST2, false, false, false}, {false, TANK3, PIPEH, Pump, PIPEH, REBIO, PIPEH, DIST1, false, false, false}, {false, false, false, false, false, false, false, DBASE, PIPEH, TANK3, false}, } -- -- Chemical Reactor -- local RBASE = {"techage_concrete.png", "techage:ta4_reactor_base"} local STAND = {"techage_reactor_stand_side.png", "techage:ta4_reactor_stand"} local REACT = {"techage_reactor_plan.png", "techage:ta4_reactor"} local FILLR = {"techage_reactor_filler_plan.png", "techage:ta4_reactor_fillerpipe"} local DOSER = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_pump_up.png", "techage:ta4_doser"} local SILO4 = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_silo.png", "techage:ta4_silo"} local TANK4 = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_tank.png", "techage:ta4_tank"} plans["ta4_reactor"] = { {false, false, false, false, false, false, SIDEV, false, false, false, false}, {false, IMG43, false, false, false, false, false, false, false, false, false}, {false, false, false, false, PN000, PIPEH, PIPEH, PN270, false, false, false}, {false, false, false, false, PIPEV, false, false, FILLR, false, false, false}, {false, false, false, false, PIPEV, false, false, REACT, false, false, false}, {false, false, false, false, PIPEV, false, false, STAND, PIPEH, PIPEH, SILO4}, {false, TANK4, PIPEH, PIPEH, DOSER, PN270, false, RBASE, PIPEH, PIPEH, TANK4}, {false, SILO4, PIPEH, PIPEH, PIPEH, PN180, false, false, false, false, false}, } -- -- Wind Turbine -- local ROTOR = {"techage_wind_turbine_inv.png", "techage:ta4_wind_turbine"} local NCLLE = {"techage_rotor.png", "techage:ta4_wind_turbine_nacelle"} local PILLR = {"techage:pillar", "techage:pillar"} local SLAMP = {"techage:rotor_signal_lamp_off", "techage:rotor_signal_lamp_off"} plans["ta4_windturbine"] = { {false, false, false, SIDEV, false, false, false}, {false, false, false, SLAMP, false, false, IMG_4, false}, {false, false, false, ROTOR, NCLLE, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, {false, false, false, PILLR, false, false, false}, } -- -- Thermal Storage System -- local CONCR = {"basic_materials_concrete_block.png", "basic_materials:concrete_block"} local HEXR1 = {"techage_filling_ta4.png^techage_frameT_ta4.png^techage_appl_ribsT.png", "techage:heatexchanger3"} local HEXR2 = {"techage_filling_ta4.png^techage_frameM_ta4.png^techage_appl_ribsB.png", "techage:heatexchanger2"} local HEXR3 = {"techage_filling_ta4.png^techage_frameB_ta4.png^techage_appl_hole_electric.png", "techage:heatexchanger1"} local TURBN = {"techage_filling_ta4.png^techage_appl_turbine.png^techage_frame_ta4.png", "techage:ta4_turbine"} local GENER = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_generator.png^[transformFX]", "techage:ta4_generator"} local GRAVL = {"default_gravel.png", "default:gravel"} local INLET = {"basic_materials_concrete_block.png^techage_gaspipe.png^[transformR90", "techage:ta4_pipe_inlet"} local OGLAS = {"default_obsidian_glass.png", "default:obsidian_glass"} plans["ta4_storagesystem"] = { {false, false, TOP_V, false, false, false, false, SIDEV, false, IMG41, false}, {false, false, PN000, PIPEH, PIPEH, PIPEH, PN270, false, false, false, false}, {CONCR, CONCR, INLET, CONCR, CONCR, false, PIPEV, false, false, false, false}, {CONCR, GRAVL, GRAVL, GRAVL, CONCR, false, PN090, HEXR1, PIPEH, PN270, false}, {OGLAS, GRAVL, GRAVL, GRAVL, CONCR, false, false, HEXR2, false, PIPEV, false}, {CONCR, GRAVL, GRAVL, GRAVL, CONCR, false, PN000, HEXR3, PIPEH, TURBN, GENER}, {CONCR, CONCR, INLET, CONCR, CONCR, false, PIPEV, false, false, false, false}, {false, false, PN090, PIPEH, PIPEH, PIPEH, PN180, false, false, false, false}, } -- -- Solar Plant -- local SOLAR = {"techage_solar_module_top.png", "techage:ta4_solar_module"} local RCBLE = {"techage_ta4_cable_inv.png", "techage:ta4_power_cableS"} local CARRI = {"techage:ta4_solar_carrier", "techage:ta4_solar_carrier"} local INVAC = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_inverter.png", "techage:ta4_solar_inverter"} plans["ta4_solarplant"] = { {false, false, false, false, false, false, false, false, false, IMG42, false}, {false, false, TOP_V, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, SOLAR, SOLAR, SOLAR}, {false, CARRI, CARRI, CARRI, RCBLE, RCBLE, RCBLE, INVAC, Cable}, {false, SOLAR, SOLAR, SOLAR}, } -- -- Liquid Filter -- local LFSNK = {"basic_materials_concrete_block.png^techage_appl_arrow.png", "techage:ta4_liquid_filter_sink"} local PWETR = {"basic_materials_concrete_block.png^techage_gaspipe.png", "techage:ta3_pipe_wall_entry"} local TANK4 = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_appl_tank.png", "techage:ta4_tank"} local LFFIL = {"basic_materials_concrete_block.png^techage_gaspipe_hole.png", "techage:ta4_liquid_filter_filler"} plans["ta4_liquid_filter_base"] = { {false, false, false, false, false, false, false, false, IMG44, false}, {false, false, false, TOP_V, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, {false, CONCR, CONCR, LFSNK, PWETR, PWETR, PIPEH, PIPEH, TANK4}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, } plans["ta4_liquid_filter_gravel"] = { {false, false, false, false, false, false, false, false, IMG44, false}, {false, false, false, TOP_V, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false}, {false, CONCR, OGLAS, OGLAS, OGLAS, CONCR}, {false, OGLAS, GRAVL, GRAVL, GRAVL, OGLAS}, {false, OGLAS, GRAVL, GRAVL, GRAVL, OGLAS}, {false, OGLAS, GRAVL, GRAVL, GRAVL, OGLAS}, {false, CONCR, OGLAS, OGLAS, OGLAS, CONCR}, } plans["ta4_liquid_filter_top"] = { {false, false, false, false, false, false, false, false, IMG44, false}, {false, false, false, TOP_V, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, {false, CONCR, false, false, false, CONCR}, {false, CONCR, false, LFFIL, false, CONCR}, {false, CONCR, false, false, false, CONCR}, {false, CONCR, CONCR, CONCR, CONCR, CONCR}, } -- -- TA4 Collider -- local STEEL = {"default_steel_block.png", "techage:ta4_colliderblock"} local COOL4 = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_cooler.png", "techage:ta4_collider_cooler"} plans["techage_collider_plan"] = { {IMG45, false, false, false}, {false, false, false, false}, {false, false, false, false}, {false, false, false, false}, {false, false, false, false}, {false, false, false, false}, } plans["techage_collider_plan2"] = { {false, false, false, false}, {false, false, false, false}, {false, false, IMG47, false}, {false, false, false, false}, {false, false, false, false}, {false, false, false, false}, } -- -- TA4 Detector Cooler -- local STEEL = {"default_steel_block.png", "techage:ta4_colliderblock"} local COOL4 = {"techage_filling_ta4.png^techage_frame_ta4.png^techage_cooler.png", "techage:ta4_collider_cooler"} plans["ta4_cooler"] = { {false, false, false, SIDEV, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false}, {false, STEEL, PIPEH, HEXR1, PIPEH, COOL4, PN270, false, false}, {false, STEEL, false, HEXR2, false, false, PIPEV, false, false}, {false, STEEL, PIPEH, HEXR3, PIPEH, PIPEH, PN180, false, false}, {false, false, false, false, false, false, false, false, false}, } -- -- TA5 Teleport Blocks -- local TELEP = {"techage_filling_ta4.png^techage_frame_ta5.png^techage_appl_teleport.png", "techage:ta5_tele_pipe"} local TELET = {"techage_filling_ta4.png^techage_frame_ta5.png^techage_appl_teleport.png", "techage:ta5_tele_tube"} local PUMP4 = {"techage_filling_ta4.png^techage_appl_pump.png^techage_frame_ta4.png", "techage:t4_pump"} local ARROW = {"techage_form_arrow.png"} plans["ta5_teleport"] = { {false, false, false, false, false, false, false, false, false, false, false}, {false, CHEST, PushR, TELET, false, ARROW, false, TELET, Tubes, CHEST, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, CHEST, Tubes, TELET, false, ARROW, false, TELET, PushR, CHEST, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false, false, false, false}, {false, TANK4, PUMP4, TELEP, false, ARROW, false, TELEP, PIPEH, TANK4, false}, } -- -- TA5 Fusion Reactor -- local SHELL = {"techage_reactor_shell.png", "techage:ta5_fr_shell"} local NUCLS = {"techage_reactor_shell.png^techage_collider_detector_core.png", "techage:ta5_fr_nucleus"} local MAGN1 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png", "techage:ta5_magnet1"} local MAGN2 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png^[transformR90]", "techage:ta5_magnet1"} local MAGN3 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png^[transformR180]", "techage:ta5_magnet1"} local MAGN4 = {"techage_collider_magnet.png^techage_steel_tiles_top3.png^[transformR270]", "techage:ta5_magnet1"} plans["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, 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, NUCLS, MAGN4, false, MAGN2, SHELL, false}, {false, SHELL, SHELL, MAGN1, SHELL, SHELL, SHELL, MAGN1, SHELL, SHELL, false}, {false, false, SHELL, SHELL, SHELL, false, SHELL, SHELL, SHELL, false, false}, } -- -- TA5 Heat Exchanger -- local PIPEG = {"techage_ta5_gaspipe.png", "techage:ta5_pipe1S"} local PIPEB = {"techage_ta5_gaspipeB.png", "techage:ta5_pipe2S"} local HEX51 = {"techage_filling_ta4.png^techage_frameT_ta5.png^techage_appl_ribsT.png", "techage:ta5_heatexchanger3"} local HEX52 = {"techage_filling_ta4.png^techage_frameM_ta4.png^techage_appl_ribsB.png", "techage:ta5_heatexchanger2"} local HEX53 = {"techage_filling_ta4.png^techage_frameB_ta4.png^techage_appl_hole_electric.png", "techage:ta5_heatexchanger1"} local TURB5 = {"techage_filling_ta4.png^techage_appl_turbine.png^techage_frame_ta5.png", "techage:ta5_turbine"} local GENE5 = {"techage_filling_ta4.png^techage_frame_ta5.png^techage_appl_generator.png^[transformFX]", "techage:ta5_generator"} plans["ta5_heatexchanger"] = { {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, PIPEG, PIPEG, HEX51, PIPEH, PN270, false}, {false, false, false, false, HEX52, false, PIPEV, false}, {false, false, PIPEB, PIPEB, HEX53, PIPEH, TURB5, GENE5}, {false, false, false, false, false, false, false, false}, {false, false, false, false, false, false, false, false}, } -- Bring into legacy format local function reformat(plan) for y=1,#plan do for x=1,#plan[1] do local item = plan[y][x] or false if item ~= false then local var1, var2 = item[1], item[2] if var1 == "top_view" then plan[y][x] = {"text", var1} elseif var1 == "side_view" then plan[y][x] = {"text", var1} elseif var1 == "sectional_view" then plan[y][x] = {"text", var1} elseif var1 == "" then plan[y][x] = {"img", var2, "2.2,2.2"} elseif var1 == "10x10" then plan[y][x] = {"img", var2, "10,10"} elseif var1 == "5x4" then plan[y][x] = {"img", var2, "5,4"} else plan[y][x] = {"item", var1, var2} end end end end return plan end for name, plan in pairs(plans) do local plan2 = reformat(plan) doclib.add_manual_plan("techage", "EN", name, plan2) doclib.add_manual_plan("techage", "DE", name, plan2) doclib.add_manual_plan("techage", "RU", name, plan2) end