mirror of
https://github.com/0ptera/Logistic-Train-Network.git
synced 2025-09-06 20:34:47 +00:00
Version: 1.18.5
Date: 2023-08-30 Features: - moved logistic ports to their own technology - new icon for logistic ports
This commit is contained in:
Binary file not shown.
@@ -1,4 +1,10 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.18.5
|
||||
Date: 2023-08-30
|
||||
Features:
|
||||
- moved logistic ports to their own technology
|
||||
- new icon for logistic ports
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.18.4
|
||||
Date: 2023-07-28
|
||||
Features:
|
||||
|
BIN
graphics/icons/port.png
Normal file
BIN
graphics/icons/port.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
BIN
graphics/technology/lsn_technology.png
Normal file
BIN
graphics/technology/lsn_technology.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "LogisticTrainNetwork",
|
||||
"version": "1.18.4",
|
||||
"version": "1.18.5",
|
||||
"title": "LTN - Logistic Train Network",
|
||||
"author": "Optera",
|
||||
"contact": "https://forums.factorio.com/memberlist.php?mode=viewprofile&u=21729",
|
||||
|
@@ -25,6 +25,7 @@ ltn-port=__ENTITY__ltn-port__
|
||||
|
||||
[technology-name]
|
||||
logistic-train-network=Logistisches Bahnnetzwerk
|
||||
logistic-ship-network=Logistisches Schiffsnetzwerk
|
||||
|
||||
[technology-description]
|
||||
logistic-train-network=Logistik Haltestellen fordern Gegenstände und Flüssigkeiten an oder stellen sie zur Verfügung und ermöglichen automatisch generierte Fahrpläne.
|
||||
|
@@ -25,6 +25,7 @@ ltn-port=__ENTITY__ltn-port__
|
||||
|
||||
[technology-name]
|
||||
logistic-train-network=Logistic Train Network
|
||||
logistic-ship-network=Logistic Ship Network
|
||||
|
||||
[technology-description]
|
||||
logistic-train-network=Logistic Train Stops request and provide items and fluids for automatically generated train schedules.
|
||||
|
@@ -215,6 +215,9 @@ if mods["cargo-ships"] then
|
||||
port.next_upgrade = "ltn-port"
|
||||
|
||||
ltn_port = flib.copy_prototype(port, "ltn-port")
|
||||
ltn_port.icon = "__LogisticTrainNetwork__/graphics/icons/port.png"
|
||||
ltn_port.icon_size = 64
|
||||
ltn_port.icon_mipmaps = 4
|
||||
ltn_port.next_upgrade = nil
|
||||
ltn_port.selection_box = {{-0.01, -0.6}, {1.9, 0.6}}
|
||||
-- ltn_port.collision_box = {{-0.01, -0.1}, {1.9, 0.4}}
|
||||
|
@@ -35,6 +35,9 @@ data:extend({
|
||||
-- support for cargo ship ports
|
||||
if mods["cargo-ships"] then
|
||||
ltn_port =flib.copy_prototype(data.raw["item"]["port"], "ltn-port")
|
||||
ltn_port.icon = "__LogisticTrainNetwork__/graphics/icons/port.png"
|
||||
ltn_port.icon_size = 64
|
||||
ltn_port.icon_mipmaps = 4
|
||||
ltn_port.order = ltn_port.order.."-c"
|
||||
|
||||
data:extend({
|
||||
|
@@ -34,9 +34,31 @@ data:extend({
|
||||
|
||||
-- support for cargo ship ports
|
||||
if mods["cargo-ships"] then
|
||||
table.insert( data.raw["technology"]["logistic-train-network"].effects,
|
||||
data:extend({
|
||||
{
|
||||
type = "technology",
|
||||
name = "logistic-ship-network",
|
||||
icon = "__LogisticTrainNetwork__/graphics/technology/lsn_technology.png",
|
||||
icon_size = 128,
|
||||
icon_mipmaps = 1,
|
||||
prerequisites = {"circuit-network", "automated_water_transport" },
|
||||
effects =
|
||||
{
|
||||
{
|
||||
type = "unlock-recipe",
|
||||
recipe = "ltn-port"
|
||||
} )
|
||||
}
|
||||
},
|
||||
unit =
|
||||
{
|
||||
count = 300,
|
||||
ingredients = {
|
||||
{"automation-science-pack", 1},
|
||||
{"logistic-science-pack", 1}
|
||||
},
|
||||
time = 30
|
||||
},
|
||||
order = "c-g-d"
|
||||
}
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user