DUXPLIMA Documentation

In-game editor

Making, changing and deleting jobs from inside the game, and what the editor writes.

/uxmjobs editor (uxmjobs.admin.editor) opens a window with every job and a button that makes another.

Making one

Click the lime dye and type an id: lower case letters, digits, a dash or an underscore (editor.bad-id otherwise). A new job starts as the shipped template, comments and all, and its property editor opens. An id a file already carries answers editor.exists.

The properties

ButtonWrites
Namename.default
Descriptiondescription.default
Iconicon
Curve shapecurve.shape: geometric or linear
Curve basecurve.base, 1 to 1000000
Curve factorcurve.factor, set in hundredths (108 is 1.08)
Highest levelcurve.maximum-level, 1 to 10000
Level caplevel-cap.default
Level cap nodelevel-cap.node
Seatsseats, 0 to 10000
Paid incurrency
Join costjoin-cost
Leave costleave-cost.default
Requirementsrequirements, in a list window

The price table and the rewards have no button, on purpose: a row is a behaviour, a target and an expression per currency, and a button that flattened it would lie about the file. They stay in the file, whose comments teach the grammar. A linear curve's step is in the file too.

Every save writes the file and reads the content again. Comments survive; keys come back in alphabetical order.

Deleting

The barrier deletes the job's file after a second click.

Off

editor.enabled = false: no editor windows, no input listener, and the command says editor.off. It takes a restart.

Related: Editor windows