Law Examples
These Law Examples are player-created laws, made on the Web UI. These laws can be used to accomplish common goals in-game, such as reward players for cleaning up tree debris, impose a wealth tax, or punish inactive players.
Keep in mind that some of the laws here may have been created in older versions of Eco, therefore their appearance, clauses, or effects in-game may be outdated.
Old Law Translation
Translation from symbols In one of the v0.8.2.x updates the mathematical symbols were changed to their wordy definition. To help translate from the symbols used in the old examples to the new version, see this list.
Numeric comparison options:
<
equalsless than
>
equalsgreater than
=
equalsequal to
Calculated value options:
+
equalssum
-
equalsdifference
*
equalsproduct
/
equalsquotient
%
equalsremainder
(this is a modulus function)
For further help, ask in the #law-help channel on the Eco Discord server.
Wages and Taxes
Wage and tax law examples.
Citizen Wage and Wealth Tax
Tax money from the wealthy and allocate money to the poor once per day.
Player Inactivity
Law examples to clean up after inactive players.
Inactivity Demographics
Simple demographics that will make it a lot easier to make future laws that only affect people that haven't been online for a long time.
You are declared Inactive if you are not online for 4 days.
You are declared a Deserter if you have not been online for 8 days.
(Remember >
is greater than
)
Abandonment Tax
Requires Inactivity Demographics law.
Every 12 hours, tax players that have been declared Inactive 5%.
Take all money from players that have been declared Deserters.
Abandonment Unclaim
Requires Inactivity Demographics law.
Every 24 hours, unclaim all property of players are declared deserters.