fixed bugs

This commit is contained in:
Monica Moniot
2022-10-16 14:48:15 -04:00
parent eb19dd80e4
commit 503c847bcd
11 changed files with 120 additions and 75 deletions

View File

@@ -4,12 +4,14 @@ cybersyn_station_entity.icon = "__cybersyn__/graphics/icons/station.png"
cybersyn_station_entity.icon_size = 64
cybersyn_station_entity.icon_mipmaps = 4
cybersyn_station_entity.next_upgrade = nil
cybersyn_station_entity.color = {.5, .1, .9}
cybersyn_depot_entity = flib.copy_prototype(data.raw["train-stop"]["train-stop"], DEPOT_STATION_NAME)
cybersyn_depot_entity.icon = "__cybersyn__/graphics/icons/depot.png"
cybersyn_depot_entity.icon_size = 64
cybersyn_depot_entity.icon_mipmaps = 4
cybersyn_depot_entity.next_upgrade = nil
cybersyn_depot_entity.color = {1, .9, .9}
cybersyn_station_in = flib.copy_prototype(data.raw["lamp"]["small-lamp"], STATION_IN_NAME)
cybersyn_station_in.icon = "__cybersyn__/graphics/icons/station.png"

View File

@@ -0,0 +1,31 @@
--By Mami
cybersyn_subgroup = {
type = "item-subgroup",
name = "cybersyn-signal",
group = "signals",
order = "cybersyn0[cybersyn-signal]"
}
cybersyn_priority = {
type = "virtual-signal",
name = SIGNAL_PRIORITY,
icon = "__cybersyn__/graphics/icons/priority.png",
icon_size = 64,
subgroup = "cybersyn-signal",
order = "a-a"
}
cybersyn_p_threshold = {
type = "virtual-signal",
name = PROVIDE_THRESHOLD,
icon = "__cybersyn__/graphics/icons/p_threshold.png",
icon_size = 64,
subgroup = "cybersyn-signal",
order = "a-b"
}
cybersyn_r_threshold = {
type = "virtual-signal",
name = REQUEST_THRESHOLD,
icon = "__cybersyn__/graphics/icons/r_threshold.png",
icon_size = 64,
subgroup = "cybersyn-signal",
order = "a-b"
}