Closed ihh closed 6 years ago
@bored,@quiet:
{hello|{clickhole|the onion&daily mash}} => @interested {$Surprised!}
@bored:
10 => @bored {$Hurry!}
20 => @quiet {So $bored.}
@interested:
=> @bored {$Never_say_die.}
Rates are expressed as time parameters: when in state @bored
, roughly every ten seconds you'll get a $Hurry!
, and after roughly twenty seconds it'll print So $bored.
and go quiet.
Per-player rate limits
If a bot's reaction rate in any given state exceeds this limit, its rate will be rounded to that
Effective update rate needs to be scaled by (T,B,S)
Each Player has own values for these parameters: they are model attributes, but attributes that cannot be edited via web API, and have sensible default parameters
NB no need for JSON schema; controller should just try PEGjs parser
Domain-specific language for moods and reactions; edit in simple textbox
@src?{keyword}rate=>@dest{output}
?{keyword}
,rate
,@dest
and{output}
are all optional, but at least one of@dest
or{output}
must be present@src
is initial mood