Cursor modes

March 11, 2022

More and more actions were added that happen at the current cursor position, with the most recent being unmodularize.
For these to work I kept introducing shortcuts, but these force the player to memorize them.

I therefore added the posibility to attach specific actions to the Cursor. It was already possible to attach a Structure for placement or an Item for setting an Assembler’s recipe.
Previously it was also possible to have both an Item and a Structure attached to the Cursor, which was rather confusing.
I added a CursorMode to take care of this:

pub enum CursorMode {
    Structure(Rot, StructureModuleTemplate),

With the new Hotbar theme, choosing a cursor mode now looks like this: