NidToolbox: Laws Module 1.7.4

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.

Adds new law clauses, improving the checking system. Provides fixes for found problems in laws and exposes buried game values and checkers.

1573-nidtoolbox-design01-nid-64-png

Laws module

for NidToolbox Light

requries nid-core module available here


* Eco 9.7 *



NEW - if you would like to have your server logo appear in the notifications area in messages that come from NidToolbox. Please join my Discord https://discord.nidaren.net/ and post them in #server-logos channel.

Support is provided as well as suggestions are accepted on my Discord here

Laws module functionality:

  • Added new law clauses related to current citizen's professions and skills number (and exposed game stats), to be used instead of the in game bugged one. They expose current number of professions and specializations player has. Currently available vanilla one that is buried under Citizen Statistics counts level up button presses (event based), does not take into account the unlearnt professions/specializations and becomes unreliable very quickly.
  • Added new law clauses related to Demographics: Demographic having at least set number of members, and Demographic having less than set number of members.
  • Added new law clauses for Maximum Allowed Deeds and Maximum Allowed Claimed Plots. This allows for setting prevention or taxing players who own extended lands.
  • Added Adds new law clauses related to maximum allowed debts, and maximum allowed amount of debt in given currency.
  • Added new game value related to Demographic: Demographic's members - returns the current member of members of the Demographic. Usable in all Logic comparisons.
  • Added new game values related to amount on specific bank account in given currency, number of debts of the citizen as well as amount of debt in given currency.
  • Added new game value in World category, related to World Time: Server time 12h clock and Server time 24h clock. Usable in all return and logic blocks. It allows returning server time action that happened, rather than currently available world age. When used in comparison it allows checking if something happened before or after set date, as the time is converted to comparable value in the background.
  • New law clauses and stats can be used in laws in the top-most IF section, or in any logic comparing block. They expose current, always up to date information.
  • Law clauses have custom made descriptions that explain what happens as well as pass and reject reasons, that are displayed to player when conditions are met, or when planning the related law in the Law Panel. This will hopefully make drafting stats related laws a bit easier for newbie players.

Requirements:

As any module of NidToolbox set, it requires Eco.Nid.Core module, available in the main forum thread: here

How to install:

  1. Unpack .zip archive
  2. Copy Eco.Nid.Laws.dll to Mods\NidToolbox\Modules
  • Version 1.7.4

    • Added Character Age game value, it exposes the data about world age of the character since its creation in world age time. Units can be chosen: seconds, hours and days.
    • Improved return strings from values: Bank account balance, Character Age, Number of Debts and amount in debt per currency, when the value is returned as string in resulting message. Now, it returns a nicely formatted string instead of just the pure value.
  • Version 1.7.3

    • Adds new law clauses: maximum allowed debts, maximum allowed amount of debt in given currency.
    • Adds game values: amount on specific bank account in given currency, number of debts of the citizen as well as amount of debt in given currency.
    • Thanks to BeanHeaD for contributing and Dave247 for the suggestions.
  • Version 1.7.2

    * Added new law clauses related to Demographics: Demographic having at least set number of members, and Demographic having less than set number of members.

    * Added new game value related to Demographic: Demographic's members - returns the current member of members of the Demographic. Usable in all Logic comparisons.

    * Added new game value in World category, related to World Time: Server time 12h clock and Server time 24h clock. Usable in all return and logic blocks. It allows returning server time action that happened, rather than currently available world age. When used in comparison it allows checking if something happened before or after set date, as the time is converted to comparable value in the background.

  • Version 1.7.1

    * Updated project to net7.

  • Version 1.7.0

    Compatibility with Eco 9.7.

  • Version 1.6.0

    * Updated module to Eco version 9.6.0


    * Updated to net6.


    * REQUIRES: EM-Framework 3.3.0-beta2 or higher .

  • Version 1.5.1

    • Added new law clauses for Maximum Allowed Deeds and Maximum Allowed Claimed Plots. This allows for setting prevention or taxing players who own extended lands.
  • Version 1.5.0