H-Anna / Clover

GNU General Public License v3.0
0 stars 0 forks source link

Conditional pools #13

Open H-Anna opened 3 years ago

H-Anna commented 3 years ago

Some talks within pools should only activate when certain conditions involving variables are met. They should be stored in string form within a JSON file. Examples for possible formatting:

flag == true
flag != 0
mood == 'happy' && relationship > 15

Reverse Polish Notation could be used to evaluate these conditions. Since variables are stored as QVariant types, it could be difficult for the program to understand when to compare strings vs int or real values. Another challenge is telling variable names apart from string values.