guilemouse / Overthrow

An effort to balance and fix the dynamic and persistent revolution platform for Arma 3.
https://steamcommunity.com/sharedfiles/filedetails/?id=2572102841
GNU General Public License v2.0
0 stars 3 forks source link

Documentation of Priest-dev(temp) adding player to player currency transaction. #42

Open guilemouse opened 3 years ago

guilemouse commented 3 years ago

Currently priest currency manipulations is based on a static variable that does not change much quickly, It's handled with looping through Town variables as in abandoned and reputation averages.

Thinking about making a public variable so it's JIP friendly and sync'd as best as it can be across players and server to dictate this currency cap expanding and shrinking among many players modifying it instantly with buttons.

//Obtains the select 1 value from existing loop calculating town rep and abandoned averages, see blackboard for detail;
server setVariable ["OT_CryptoCap", 0.0000];

Not sure about relying on a global variable JIP and sync'd with all players as a tracker for currency. Will test but might break saves over real multiplayer. image

Originally posted by @guilemouse in https://github.com/guilemouse/Overthrow/issues/24#issuecomment-915033400