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:
Optera
2023-08-30 07:57:16 +02:00
parent 9d2a025ecf
commit f4e3a14b3f
10 changed files with 42 additions and 6 deletions

Binary file not shown.

View File

@@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -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",

View File

@@ -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.

View File

@@ -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.

View File

@@ -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}}

View File

@@ -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({

View File

@@ -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,
{
type = "unlock-recipe",
recipe = "ltn-port"
} )
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