diff options
| author | Emil A. Overbeck <emil.a.overbeck@gmail.com> | 2026-07-19 03:14:53 +0200 |
|---|---|---|
| committer | Emil A. Overbeck <emil.a.overbeck@gmail.com> | 2026-07-19 03:14:53 +0200 |
| commit | c217861ab62987b798835194786dc99424e1804e (patch) | |
| tree | 37baf5b0a9ae9141da4556515caccedc7b5ab6dc /src/game/data.hpp | |
| parent | d42411ef884484c9c49482dd944a8394e78d8e15 (diff) | |
| download | forts_clone-c217861ab62987b798835194786dc99424e1804e.tar.gz forts_clone-c217861ab62987b798835194786dc99424e1804e.zip | |
Recoil and armor
Diffstat (limited to 'src/game/data.hpp')
| -rw-r--r-- | src/game/data.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/data.hpp b/src/game/data.hpp index fdf9e08..9b9aec1 100644 --- a/src/game/data.hpp +++ b/src/game/data.hpp @@ -24,6 +24,8 @@ struct WeaponDef { float beam_dps; // HP damage per second to the struck strut float beam_duration; // seconds the beam stays on float energy_cost; // energy spent per shot (Forts EnergyFireCost) + float recoil; // velocity kick shoved back into the FIRING + // structure on each shot (Forts Recoil); 0 = none std::string texture; // turret/base sprite (CC0 placeholder) std::string projectile_texture; // shell sprite (CC0 placeholder) std::string texture_forts; // preferred BYO Forts turret art |
