aboutsummaryrefslogtreecommitdiff
path: root/prototypes/energy-pad.lua
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-04-14 07:56:28 -0700
committerPaul Oliver <contact@pauloliver.dev>2025-04-15 01:44:25 +0200
commit9e163491a56ff4fb8eadc7dd22142c4ee539f24d (patch)
tree111c528719973bfe8cf5d00226e4b86c57834c03 /prototypes/energy-pad.lua
parent5d77cdfd76be425181d218a2d5dd0e5e3a624304 (diff)
Adds README and build/install scripts (linux only)
Diffstat (limited to 'prototypes/energy-pad.lua')
-rw-r--r--prototypes/energy-pad.lua51
1 files changed, 0 insertions, 51 deletions
diff --git a/prototypes/energy-pad.lua b/prototypes/energy-pad.lua
deleted file mode 100644
index 4c79661..0000000
--- a/prototypes/energy-pad.lua
+++ /dev/null
@@ -1,51 +0,0 @@
-local portable_nuclear_reactor = data.raw["generator-equipment"]["fission-reactor-equipment"]
-local clp = data.raw["cargo-landing-pad"]["cargo-landing-pad"]
-local energy_source = util.table.deepcopy(data.raw["electric-energy-interface"]["hidden-electric-energy-interface"])
-
-energy_source.name = "clp-electric-source"
-energy_source.localised_name = {"entity-name.cargo-landing-pad"}
-energy_source.icon = clp.icon
-energy_source.energy_source = {
- type = "electric",
- buffer_capacity = "5MJ",
- usage_priority = "tertiary"
-}
-energy_source.energy_production = portable_nuclear_reactor.power
-energy_source.collision_box = clp.collision_box
-energy_source.selection_box = clp.selection_box
-
-
-local clp_recipe = util.table.deepcopy(data.raw["recipe"]["cargo-landing-pad"])
-clp_recipe.ingredients =
-{
- {type = "item", name = "concrete", amount = 250},
- {type = "item", name = "processing-unit", amount = 35},
- {type = "item", name = "steel-plate", amount = 80},
- {type = "item", name = "accumulator", amount = 1},
- {type = "item", name = "fission-reactor-equipment", amount = 1},
- {type = "item", name = "construction-robot", amount = 10}
-}
-
-
-local thermal_pad = util.table.deepcopy(data.raw["heat-interface"]["heat-interface"])
-thermal_pad.minable = nil
-thermal_pad.gui_mode = "none"
-thermal_pad.heat_buffer.default_temperature = 15
-thermal_pad.heat_buffer.max_temperature = 31
-thermal_pad.heat_buffer.min_working_temperature = 30
-thermal_pad.flags = {"placeable-neutral", "player-creation", "not-deconstructable"}
-thermal_pad.name = "clp-heat-interface"
-
---entity.set_heat_setting{temperature = 1000, mode = "exactly"}
-
-local heat_pipe = util.table.deepcopy(data.raw["heat-pipe"]["heat-pipe"])
-heat_pipe.name = "clp-heat-pipe"
-heat_pipe.flags = {"placeable-neutral", "player-creation", "not-deconstructable"}
-heat_pipe.minable = nil
-
-data:extend({
- energy_source,
- clp_recipe,
- heat_pipe,
- thermal_pad
-})