Skip to content

five-on-it / packages/ai/src/police-news / newsSay

Function: newsSay() ​

newsSay(book, tick, line): NewsLine

Defined in: packages/ai/src/police-news.ts:54

Runs a headline (see the module documentation); the book keeps the last few.

Parameters ​

book ​

LockdownBook

tick ​

number

line ​

client? ​

number

kind ​

"stars" | "tow" | "extraction" | "lockdown" | "unicorn" | "unitDown" | "overrun" | "restored"

place? ​

string

stars? ​

number

Returns ​

NewsLine