mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-15 10:12:49 -06:00
renamed mod
This commit is contained in:
37
cybersyn/prototypes/entity.lua
Normal file
37
cybersyn/prototypes/entity.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
--By Mami
|
||||
cybersyn_station_entity = flib.copy_prototype(data.raw["train-stop"]["train-stop"], BUFFER_STATION_NAME)
|
||||
cybersyn_station_entity.icon = "__cybersyn__/graphics/icon/station.png"
|
||||
cybersyn_station_entity.icon_size = 64
|
||||
cybersyn_station_entity.icon_mipmaps = 4
|
||||
cybersyn_station_entity.next_upgrade = nil
|
||||
|
||||
cybersyn_depot_entity = flib.copy_prototype(data.raw["train-stop"]["train-stop"], DEPOT_STATION_NAME)
|
||||
cybersyn_depot_entity.icon = "__cybersyn__/graphics/icon/depot.png"
|
||||
cybersyn_depot_entity.icon_size = 64
|
||||
cybersyn_depot_entity.icon_mipmaps = 4
|
||||
cybersyn_depot_entity.next_upgrade = nil
|
||||
|
||||
cybersyn_station_in = flib.copy_prototype(data.raw["lamp"]["small-lamp"], STATION_IN_NAME)
|
||||
cybersyn_station_in.icon = "__cybersyn__/graphics/icon/station.png"
|
||||
cybersyn_station_in.icon_size = 64
|
||||
cybersyn_station_in.icon_mipmaps = 4
|
||||
cybersyn_station_in.next_upgrade = nil
|
||||
cybersyn_station_in.minable = nil
|
||||
cybersyn_station_in.selection_box = {{-0.5, -0.5}, {0.5, 0.5}}
|
||||
cybersyn_station_in.selection_priority = cybersyn_station_in.selection_priority + 10
|
||||
cybersyn_station_in.collision_box = {{-0.15, -0.15}, {0.15, 0.15}}
|
||||
cybersyn_station_in.collision_mask = {"rail-layer"}
|
||||
cybersyn_station_in.energy_usage_per_tick = "10W"
|
||||
cybersyn_station_in.light = {intensity = 1, size = 6}
|
||||
cybersyn_station_in.energy_source = {type="void"}
|
||||
|
||||
cybersyn_station_out = flib.copy_prototype(data.raw["constant-combinator"]["constant-combinator"],STATION_OUT_NAME)
|
||||
cybersyn_station_out.icon = "__cybersyn__/graphics/icon/station.png"
|
||||
cybersyn_station_out.icon_size = 64
|
||||
cybersyn_station_out.icon_mipmaps = 4
|
||||
cybersyn_station_out.next_upgrade = nil
|
||||
cybersyn_station_out.minable = nil
|
||||
cybersyn_station_out.selection_box = {{-0.5, -0.5}, {0.5, 0.5}}
|
||||
cybersyn_station_out.selection_priority = cybersyn_station_out.selection_priority + 10
|
||||
cybersyn_station_out.collision_box = {{-0.15, -0.15}, {0.15, 0.15}}
|
||||
cybersyn_station_out.collision_mask = {"rail-layer"}
|
||||
12
cybersyn/prototypes/item.lua
Normal file
12
cybersyn/prototypes/item.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
--By Mami
|
||||
cybersyn_station_item = flib.copy_prototype(data.raw["item"]["train-stop"], BUFFER_STATION_NAME)
|
||||
cybersyn_station_item.icon = "__cybersyn__/graphics/icons/station.png"
|
||||
cybersyn_station_item.icon_size = 64
|
||||
cybersyn_station_item.icon_mipmaps = 4
|
||||
cybersyn_station_item.order = cybersyn_station_item.order.."-c"
|
||||
|
||||
cybersyn_depot_item = flib.copy_prototype(data.raw["item"]["train-stop"], DEPOT_STATION_NAME)
|
||||
cybersyn_depot_item.icon = "__cybersyn__/graphics/icons/depot.png"
|
||||
cybersyn_depot_item.icon_size = 64
|
||||
cybersyn_depot_item.icon_mipmaps = 4
|
||||
cybersyn_depot_item.order = cybersyn_depot_item.order.."-d"
|
||||
46
cybersyn/prototypes/tech.lua
Normal file
46
cybersyn/prototypes/tech.lua
Normal file
@@ -0,0 +1,46 @@
|
||||
--By Mami
|
||||
cybersyn_station_recipe = flib.copy_prototype(data.raw["recipe"]["train-stop"], BUFFER_STATION_NAME)
|
||||
cybersyn_station_recipe.ingredients = {
|
||||
{"train-stop", 1},
|
||||
{"advanced-circuit", 5},
|
||||
}
|
||||
cybersyn_station_recipe.enabled = false
|
||||
|
||||
cybersyn_depot_recipe = flib.copy_prototype(data.raw["recipe"]["train-stop"], BUFFER_STATION_NAME)
|
||||
cybersyn_depot_recipe.ingredients = {
|
||||
{"train-stop", 1},
|
||||
{"electronic-circuit", 5},
|
||||
}
|
||||
cybersyn_depot_recipe.enabled = false
|
||||
|
||||
cybersyn_tech = {
|
||||
type = "technology",
|
||||
name = "cybernetic-train-network",
|
||||
icon = "__cybersyn__/graphics/icon/tech.png",
|
||||
icon_size = 64,
|
||||
icon_mipmaps = 4,
|
||||
prerequisites = {
|
||||
"automated-rail-transportation",
|
||||
"circuit-network",
|
||||
"advanced-electronics"
|
||||
},
|
||||
effects = {
|
||||
{
|
||||
type = "unlock-recipe",
|
||||
recipe = BUFFER_STATION_NAME
|
||||
},
|
||||
{
|
||||
type = "unlock-recipe",
|
||||
recipe = DEPOT_STATION_NAME
|
||||
},
|
||||
},
|
||||
unit = {
|
||||
ingredients = {
|
||||
{"automation-science-pack", 1},
|
||||
{"logistic-science-pack", 1}
|
||||
},
|
||||
count = 300,
|
||||
time = 30
|
||||
},
|
||||
order = "c-g-c"
|
||||
}
|
||||
Reference in New Issue
Block a user