Skip to content

v1.12.0

Choose a tag to compare

@exdal exdal released this 21 Oct 21:03
· 72 commits to master since this release

New features

  • Added modular map previews. Codebases that load map modules at runtime, like tgstation's /obj/modular_map_root, now show those modules on the map. See Modular Maps below.
  • Added bundled profiles for Monke’s Paw, Nova Sector, Oculis Station, and TGMC. Choose one under Settings > Compiler > Forced bundled profile.
    • The TGMC profile has a "Fully grown" checkbox under Weeds. Weed nodes then draw the weeds they spread to.
  • Moving a selection is now live. The tiles move while you drag, and whatever the selection passes over comes back as it leaves. The map bakes once when you drop the selection, so dragging a large region stays smooth. Press Escape while you drag to put it back. See Selection Tool below.
  • Renamed the tools. The Select tool is now Pick, and Block Select is now Select. Your keybindings carry over. Copy, cut, paste, delete, and fill actions and their undo entries now say "region" instead of "block".
  • Dialog buttons now name their action, for example "Create Map", "Resize Map", or "Delete Level". Buttons that delete or discard are red.
    • Enter presses the main button and Escape cancels. Enter never triggers an action you cannot undo, like "Discard Changes" or "Exit Without Saving".
  • rmd now builds with stable Rust. A nightly toolchain is no longer needed.

Fixes

  • Fixed locate() in list, which searched the whole world instead of the list. locate() without a type now uses the declared type of the variable it is stored in, for example var/obj/item/I = locate() in contents.
  • Fixed moving an atom with the Pick tool, which put it after the turf and area of its new tile. It now keeps the usual order.
  • Fixed runtime faults raised in a profile's light() hook, which disappeared from the Runtimes panel once the bake finished. They now stay listed until light() runs cleanly for that atom.

Modular Maps

Screencast_20261021_234333.mp4
  • A profile marks the root type with demir_modular_root() and decides what each root loads in process_modular_root(). The bundled tgstation, Monkestation, Monke’s Paw, SecondCity, and TGMC profiles support it. Uncheck "Preview modules" in the profile panel to hide the previews.
  • Click a module's marker to choose its variant from the list, or step through variants with < and >. Variants that cannot load are disabled, and their tooltip says why. The open button opens the module's map. Nested modules cannot be moved.
  • Previews are read-only. You cannot edit the tiles under them, and the Inspector shows "Module preview, read only".
  • Edits in an open module map show up in every map that contains it, before you save.
  • In co-op, previews and variant choices stay local. A shared map that another open map uses as a module is read-only.
  • New profile procedures: demir_modular_root(), process_modular_root(), demir_place_modular(), demir_modular_preview(), demir_set_modular_preview(), demir_toml_decode(), and demir_map_path(). file2text(), fexists(), flist(), and file2list() now read files under the codebase directory. See docs/demir.md for details.

Selection Tool

  • Moving a fresh paste stays one paste, and one undo takes it back.
  • Canceling a move leaves the undo and redo history as it was.

Before:

Screencast_20261021_234044.mp4

After:

Screencast_20261021_233821.mp4