DUXPLIMA Documentation

Editor windows

The editor list, the property editor of one enchantment, and the list window.

All three need uxmenchants.admin.editor and are off when editor.enabled is false.

The list

menus/editor.conf, six rows titled "Enchantments", drawn from a layout:

layout = [
  "#########"
  "#xxxxxxx#"
  "#xxxxxxx#"
  "#xxxxxxx#"
  "#xxxxxxx#"
  "<###b##+>"
]
SlotItemClick
10 to 16, 19 to 25, 28 to 34, 37 to 43An enchanted book per enchantment, with its whole tooltipLeft: its properties
45Arrow, previous
49Feather, backCloses
52Lime dye, newAsks for an id
53Arrow, next

placeholders.tile-colour (5) is the colour of the tiles. Tokens: %editor_enchant% (the name in the viewer's language), %tile_editor_enchant% (the whole tooltip).

Properties

menus/editor-enchant.conf is not shaped like the other window files, but the rows, slots and materials are there:

KeyShips as
rows6
property-slots10 to 16, 19 to 25, 28 to 34, 37 to 43
back-slot, back-icon49, FEATHER
delete-slot, delete-icon53, BARRIER

Every property needs a slot; add a row before adding a setting. A file that is missing or wrong costs the layout, not the editor: the shipped numbers are used and the reason goes to the console. The buttons are on In-game editor.

Lists

menus/editor-list.conf edits a list of lines (targets, anvil items, table items, conflicts) and is where a rarity or a type is picked.

KeyShips as
rows6
entry-slots10 to 16, 19 to 25, 28 to 34
add-slot, add-icon53, LIME_DYE
back-slot, back-icon45, FEATHER
entry-iconPAPER

Left click a line to change it, right click twice to remove it, and the lime dye adds one.

Related: In-game editor