From da6670956d01b11fe3491a67701e1a12176dedf4 Mon Sep 17 00:00:00 2001 From: Kiri Date: Sat, 9 Sep 2023 16:54:49 -0700 Subject: [PATCH] Documented the spray cans, barely. --- README.md | 20 ++++++++++++++++++++ zscript/spraycan.zs | 9 ++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0de1346..af56f6b 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/zscript/spraycan.zs b/zscript/spraycan.zs index 37b214e..e65fe74 100644 --- a/zscript/spraycan.zs +++ b/zscript/spraycan.zs @@ -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;