Item Network SA

by djmalk

This mod adds a network for transporting items and fluids. Now with QUALITY support.

Tweaks
3 days ago
2.0
373
Logistics Fluids Logistic network Storage Cheats
Owner:
djmalk
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
24 days ago
Latest Version:
0.9.7 (3 days ago)
Factorio version:
2.0
Downloaded by:
373 users

Original description https://mods.factorio.com/mod/item-network
Original Item Network creator " y_e_a_r "
2.0-compatible update.

0.9.7 is the final planned update. I might fix major issues or crashes.
➤Works without the Quality mod — GUI adapts automatically.

How to Add Custom Qualities to Item Network SA:

Step 1: Register the Quality in data.lua

Open data.lua and add your quality name to this list:
local qualities = {
"normal",
"uncommon",
"rare",
"epic",
"legendary",
"prismatic",
"mythic",
"normal-plus",
"uncommon-plus",
"rare-plus",
"epic-plus",
"legendary-plus"
}
These names must match actual quality tiers used in your mod.
This does not create new quality levels — it just tells Item Network SA to look for icons and support them in the UI.

Step 2: Add Icon Sprites

For each custom quality, add a sprite file to:
graphics/quality/quality-<name>.png
Example for mythic:
graphics/quality/quality-mythic.png
The filename must match the name in the list exactly.

Step 3: Add Tooltip Colors in Quality.lua

Inside src/Quality.lua, add your new quality name to the color map:
M.QUALITY_COLORS = {
normal = "white",
uncommon = "green",
rare = "blue",
epic = "purple",
legendary = "orange",
prismatic = "red",
mythic = "cyan",
["normal-plus"] = "white",
["uncommon-plus"] = "green",
["rare-plus"] = "blue",
["epic-plus"] = "purple",
["legendary-plus"] = "orange"
}
This affects tooltip text color in the UI only.

Step 4: Test in Game

If any item is marked with your custom quality (from another mod or your own patch), the GUI will:
Show a badge icon.
Display the correct tooltip color.
Sort and display properly in the network view.