aboutsummaryrefslogtreecommitdiffstats
path: root/data/devices.lua
diff options
context:
space:
mode:
Diffstat (limited to 'data/devices.lua')
-rw-r--r--data/devices.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/devices.lua b/data/devices.lua
index e5309dc..dd1b3a9 100644
--- a/data/devices.lua
+++ b/data/devices.lua
@@ -1,7 +1,7 @@
-- Device catalog (reactor / mine / turbine / battery). Values scaled from Forts'
--- devices/*.lua. `texture` may use a "forts:REL" path to load real art from your
--- own Forts install at runtime (nothing copyrighted is stored in the repo); if
--- the game isn't present it falls back to the flat `color`.
+-- devices/*.lua. `texture_forts` is a "forts:REL" path that loads real art from
+-- your own Forts install at runtime (nothing copyrighted is stored in the repo);
+-- it falls back to `texture` (a CC0 placeholder), then to the flat `color`.
DeviceDefs =
{
@@ -10,7 +10,7 @@ DeviceDefs =
hp = 100, -- Forts reactor HP 100 (fragile)
energy_rate = 100, metal_rate = 5, -- also the base generator
half_w = 0.7, half_h = 0.9,
- texture = "forts:devices/reactor/reactor_core01.tga",
+ texture_forts = "forts:devices/reactor/reactor_core01.tga",
color = { 0.3, 1.0, 0.5 },
},
{
@@ -18,7 +18,7 @@ DeviceDefs =
hp = 60, wind_max_rate = 16, wind_max_height = 22,
half_w = 0.5, half_h = 1.3,
cost_metal = 30, cost_energy = 50,
- texture = "forts:devices/windturbine/base.tga",
+ texture_forts = "forts:devices/windturbine/base.tga",
color = { 0.6, 0.8, 1.0 },
},
{
@@ -26,7 +26,7 @@ DeviceDefs =
hp = 80, energy_rate = -5, metal_rate = 4, -- Forts mine: -5 e, +4 metal
half_w = 0.6, half_h = 0.5,
cost_metal = 0, cost_energy = 100,
- texture = "",
+ texture_forts = "forts:devices/mine/base.png",
color = { 0.75, 0.55, 0.2 },
},
{
@@ -34,7 +34,7 @@ DeviceDefs =
hp = 100, energy_storage = 2000, -- Forts battery cap 2000
half_w = 0.6, half_h = 0.6,
cost_metal = 20, cost_energy = 100,
- texture = "",
+ texture_forts = "forts:devices/battery/base.tga",
color = { 0.9, 0.85, 0.3 },
},
}