Drafting Motions - Development Log #427

Michi continues to work on the new commands for the politics update.

Avatar Michi

Michi (molp)

This week I continued working on the new commands for the upcoming politics update. Last week was all about the new GOV command (see devlog #426). You might have seen an empty section in the GOV command screenshot that should show the relevant motions for the selected term. Motions are not a thing yet, so I started to work on those.

I went with a UI pattern that we often use: a command without parameters will show a list with all entries. Clicking an entry will open the same command, but with details for the selected entry. A button allows to add a new entry.

The new MOTS (motions) command looks like this at the moment:

MOTS showing a list of motions

A motion consists of a few basic fields: the natural id (MOT-1-47493 for example), a name that should describe what the motion is about ("Raise taxes by 50%"), the creation date and creator as well as the current state of the motion.

This information is also visible when displaying a single motion:

MOTS showing a single motion

The "components part" is coming next. Here we'll list all the elements the motion consists of: This could be payouts of funds to a company, local rules adjustments, etc. I have a feeling that this will be the most difficult part to implement of the whole motion system :)

By the way: The MOTS command will only be available for members of parliament. It is the CONTD equivalent of CONTS if you will. Regular players will see an error message like the one below if they try to access it. We will add a MOT command that shows a simplified view of a motion, excluding the buttons to edit it. Motion drafts will also not be visible to the public.

MOTS command not available

As always: we'd love to hear what you think: join us on Discord or the forums!

Happy trading!