spacebuild/spacebuild

View on GitHub
lua/caf/stools/ls3_energysystems/extra_fusion_gens.lua

Summary

Maintainability
Test Coverage
DEVICEGROUP.type = "generator_energy_fusion"

--[[
    You can also use skin = number here to define a skin to make the Module spawn with
    You can also use material = "path/to/material" to set a material to make it spawn with
]]

DEVICEGROUP.devices = {
    add_one = {
        Name = "CE Medium Fusion Gen",
        model = "models/ce_ls3additional/fusion_generator/fusion_generator_medium.mdl",
        skin = 0
    },
    add_two = {
        Name = "Levy Huge Fusion Gen",
        model = "models/LifeSupport/Generators/fusiongen.mdl",
        skin = 0
    },
    -- This one is Purely cosmetic, the texture fades between red and blue on a sine wave, I improved some of the my textures a good bit using proxies. Oh, Also, the selfilium lighting fades as well, on the same curve. :V
    add_again = {
        Name = "Levy Pulsing Fusion Gen",
        model = "models/LifeSupport/Generators/fusiongen.mdl",
        skin = 1
    },
    add_3 = {
        Name = "CE Large Fusion Gen",
        model = "models/ce_ls3additional/fusion_generator/fusion_generator_large.mdl",
        skin = 0
    },
    add_4 = {
        Name = "CE Small Fusion Gen",
        model = "models/ce_ls3additional/fusion_generator/fusion_generator_small.mdl",
        skin = 0
    },
    add_5 = {
        Name = "CE Huge Fusion Gen",
        model = "models/ce_ls3additional/fusion_generator/fusion_generator_huge.mdl",
        skin = 0
    },
}