DUXPLIMA Documentation

Menu files

The keys of a window file, view lists, and every source, condition and action the windows know.

Every window in menus/ is a file: move a slot, change a material, take a button out, and the plugin draws what you wrote.

KeyMeaning
title@menu.title.<window>, or your own words
rowsOne to six
open-actionsWhat runs when it opens
layout, layout-charRows of characters, and the character an item fills
slot, slotsWhere an item sits
priorityWhich item wins a shared slot
typeprevious or next
clickleft, right, shift_left, shift_right; a click may carry requirements, click and deny
viewConditions that decide whether an item is drawn; ! reverses one
listsource and template

lore = ["tile:<colour> @<block> <facts>"] draws a tile; a fact named -action drops the click line.

Sources, conditions and actions

NameKindWindow
jobs:all, jobs:actions, jobs:rewards, jobs:top, jobs:boostersSourceBoard, job, levels, leaderboard, boosters
jobs:contracts, jobs:signed, jobs:shop, jobs:report, jobs:editor-listSourceContracts, shop, report, editor
jobs:held, jobs:can-join, jobs:contract-signedConditionBoard, contract
jobs:join, jobs:leaveActionBoard, leave
jobs:open-job, jobs:open-quit, jobs:open-levels, jobs:open-contractActionOpens that window
jobs:sign, jobs:cancelActionContract
jobs:buyActionShop
jobs:editor-properties, jobs:editor-newActionEditor

Every window also knows close, open:<menu>, command:<line>, message:<line> and sound:<name> <volume> <pitch>.

Related: Menus, Messages