EcoE
Eco
Jul 1

New law trigger to fetch price information of a specified item

A law trigger that can compare and/or average the price of a specified item and currency over the X number of days. Example how it could be used: Let's say you want to subsidize a specific crop and provide a 20% rebate to the seller. So naturally you implement this law to reward the farmers and thus lowering the price of essential foodcrops, all good right? Well usually no, as there's no way to check if the farmer actually lowered the price of his produce in relation to the rebate they recieved. With this function you could reward the farmer if they actually lowered the price of crops by comparing their selling price to the average retail price of said crop over the past 48 hours! A small example how it could be used, but I've thought of a lot of neat ways it could be utilized with such a flexible trigger included in the law system!
PendingPending