H-Anna / Clover

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

Better Hotspot variables #11

Open H-Anna opened 2 years ago

H-Anna commented 2 years ago

Hotspots are defined under each surface. Currently, Hotspot variable definitions do nothing. Hotspot variables should have unique names, and types that tell them how they can be increased. They may have a threshold, which when reached may cause a signal to fire, with the variable name as a parameter. When reaching the threshold, these variables should reset to their initial value.

H-Anna commented 2 years ago

As of 5b61807, hotspot variables can be defined in surfaces.json, and also in variables.ini. At this point, the threshold for hotspot variables is 100, at which point corresponding anchor talks activate.