From 0807c89343480b15c7b63a0e864782179eb28ef5 Mon Sep 17 00:00:00 2001 From: "Emil A. Overbeck" Date: Sat, 18 Jul 2026 02:40:25 +0200 Subject: More Forts assets --- data/devices.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'data/devices.lua') 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 }, }, } -- cgit v1.3