Sorry for messy post
So i have 4 feedback parts.
One is that i want more stats from players.
Two i want variables in the law making. (Laws can be a hurt for the eyes when you need to select the same group of items over and over again.)
Three i want JSON support, so we can easy import and export laws into the law editor.
When i use the calculate part of the law i want to have stats from players.
So i can get the current money (and other stats) they have and use that to set laws for those who control the most money. (Example below).
And/or just make a json file for export and import (Download/Upload laws).
json files are good because they are easy to modify and my guess is that the law system already is in a json variable when you post it to the server(?) so converting it to a downloadable file on the server should be no problem (Also unity have JsonUtility class in C#).
Example of advance law:
const trees = ["Birch", "Fir", "Oak", "Cedar"];
const totalTrees = world.getPopulation(trees);
/* YOU beeing a global const value of "you player" */
const player = world.getPlayer(YOU);
if(totalTrees < 5)
else if(totalTrees < 500)
const playerCurrencyRatio = (player.getCurrency("Dollar") / world.getCurrency("Dollar"));
var taxBase = 5;
if(playerCurrencyRatio >= 0.75)
taxBase = 25;
else if(playerCurrencyRatio >= 0.5)
taxBase = 15;
else if(playerCurrencyRatio >= 0.25)
taxBase = 10;
player.tax("Dollar", (500 / totalTrees) * taxBase);