chrismdp / tinyking

Tiny King
GNU General Public License v3.0
8 stars 1 forks source link

Basic actions rules engine #18

Closed chrismdp closed 4 years ago

chrismdp commented 4 years ago
chrismdp commented 4 years ago

Think: should tiredness be a stat or a trait? (Eg: tired, very tired, exhausted, then only two rested in a row will work?

chrismdp commented 4 years ago

Need to add action filtering on "needs" that I'm happy with (the current setup isn't nice at all, and quite limited).

Also need to come up with a decent language for specifying effects correctly.

chrismdp commented 4 years ago

Probably best to use json-rules-engine rather than rolling my own: https://www.npmjs.com/package/json-rules-engine

chrismdp commented 4 years ago

Actually https://github.com/RXNT/json-rules-engine-simplified looks more suitable.