diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/devices.lua | 14 | ||||
| -rw-r--r-- | data/materials.lua | 6 | ||||
| -rw-r--r-- | data/weapons.lua | 3 |
3 files changed, 15 insertions, 8 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 }, }, } diff --git a/data/materials.lua b/data/materials.lua index a2f876c..3725aa9 100644 --- a/data/materials.lua +++ b/data/materials.lua @@ -19,6 +19,7 @@ Materials = half_width = 0.15, color = { 1.0, 1.0, 1.0, 1.0 }, -- white = show texture untinted texture = "data/textures/wood.png", + texture_forts = "forts:materials/wood_panel.tga", }, { name = "bgbrace", -- background bracing @@ -32,6 +33,7 @@ Materials = half_width = 0.15, color = { 1.0, 1.0, 1.0, 0.45 }, -- translucent texture = "data/textures/bgbrace.png", + texture_forts = "forts:materials/bracing-bg.tga", }, { name = "rope", @@ -43,7 +45,9 @@ Materials = flammable = true, burn_rate = 25, spread_time = 1.0, -- burns through fast blocks_projectiles = false, blocks_beam = false, -- shells AND beams pass through half_width = 0.04, - color = { 0.15, 0.12, 0.10, 1.0 }, + color = { 0.72, 0.66, 0.55, 1.0 }, -- tan: tints the cable art, and is + -- the visible rope when it is absent + texture_forts = "forts:materials/cable.tga", }, } diff --git a/data/weapons.lua b/data/weapons.lua index 8fd2a6b..a6e23d5 100644 --- a/data/weapons.lua +++ b/data/weapons.lua @@ -17,6 +17,8 @@ Weapons = energy_cost = 120, -- energy per shot (Forts EnergyFireCost) texture = "data/textures/weapon_turret.png", projectile_texture = "data/textures/projectile_laser.png", + texture_forts = "forts:weapons/cannon/base.tga", + projectile_texture_forts = "forts:weapons/media/CannonShell.tga", }, { name = "laser", -- line-of-sight beam; ignites what it hits @@ -30,6 +32,7 @@ Weapons = max_fire_angle = 45, -- Forts laser MaxFireAngle 45 energy_cost = 200, -- beam is energy-hungry texture = "data/textures/weapon_turret.png", + texture_forts = "forts:weapons/beamlaser/base.tga", }, } |
