Itangalo / Bot-Playtesting-Toolkit

A toolkit for simulating board games with Google spreadsheets. Intended use is board game development.
GNU General Public License v3.0
9 stars 1 forks source link

Market: Multiple alternative prices #34

Open Itangalo opened 2 years ago

Itangalo commented 2 years ago

Wood can cost 2 sheep or 4 of any kind of resource. How could that be handled?

Itangalo commented 2 years ago

After giving it some thought I think that alternative prices should be added separately, somehow. Perhaps by having a property 'alternativePriceFor' or something.

How alternative prices should be resolved when buying is another matter. Perhaps prices should be processed in the order they were added, and the first that can be paid is used. On the other hand – alternative prices can often be better prices, unlocked after playing a while. So prices added later should perhaps be preferred.

Maybe prices (and alternative prices) should have an optional weight or preference ranking.