Documented the spray cans, barely.

This commit is contained in:
Kiri 2023-09-09 16:54:49 -07:00
parent 3f4ceb4afd
commit da6670956d
2 changed files with 26 additions and 3 deletions

View File

@ -131,3 +131,23 @@ Caution: May bite.
Loadout code: kac Loadout code: kac
## Spraypaint Cans
![Spray can sprite](sprites/spraycan/ksprb0.png)
It's just spraypaint.
Use it to cause property damage to the tyrant. Be creative while doing
so!
### How to use
Loadout code: ksp
Shake before attempting to spray.
Use firemode to select spray pattern.
Use the CVar snektech_spraypattern to directly set a spray pattern
name.

View File

@ -1,6 +1,9 @@
// ----------------------------------------------------------------------
// FIXME: Make consts and enums consistent formatting. // Spraypaint cans
// FIXME: Add bulk. // ----------------------------------------------------------------------
//
// Super cheap.
//
const KIRI_SPRAY_DISTANCE = 96; const KIRI_SPRAY_DISTANCE = 96;
const KIRI_SPRAY_SHAKEANIM_MAXANGLE = 20.0; const KIRI_SPRAY_SHAKEANIM_MAXANGLE = 20.0;