Documented the spray cans, barely.

main
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
## 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.
// FIXME: Add bulk.
// ----------------------------------------------------------------------
// Spraypaint cans
// ----------------------------------------------------------------------
//
// Super cheap.
//
const KIRI_SPRAY_DISTANCE = 96;
const KIRI_SPRAY_SHAKEANIM_MAXANGLE = 20.0;