Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: After a mission rooms are unassigned?  (Read 1700 times)

srifenbyxp

  • Bay Watcher
    • View Profile
After a mission rooms are unassigned?
« on: August 12, 2018, 09:02:12 pm »

Wanted to see if anyone knows of a way to keep the rooms assigned after a squad return from a raze, or is this a bug/feature?
« Last Edit: August 12, 2018, 09:03:55 pm by srifenbyxp »
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #1 on: August 13, 2018, 03:40:20 am »

It's a known bug.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #2 on: August 13, 2018, 07:50:22 am »

This is a side effect of how building ownership is handled.  They are assigned to a unit, and unit has info about the building. Problem is that the missionaries disappear as units when they go away (assignment is lost when they go off-site, even before actual mission has started).

Another effect is that if the soldier has a spouse, but is listed as the first owner of a room, then the room is listed as unassigned after the soldier goes on mission, and you can assign it to someone else. This is despite the fact that the spouse still considers the building their own, and keeps things there (at least until save and load). Real messy. Save and load clears the building assignment from the spouse so by sending one person on mission, you effectively take room from two.
Logged

PatrikLundell

  • Bay Watcher
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #3 on: August 13, 2018, 07:58:15 am »

Yes, I've wondered if it wouldn't have been a better design choice to keep the units as inactive (as is currently the case with units in the process of entering and leaving) while on missions and not unload them. I think they'd stop showing up in the units lists, but they'd still have inventories, and I suspect they'd still be capable of holding on to rooms, etc. while in that state. However, I'm sure Toady have reasons for unloading the units completely.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #4 on: August 13, 2018, 02:15:52 pm »

Yes, I've wondered if it wouldn't have been a better design choice to keep the units as inactive (as is currently the case with units in the process of entering and leaving) while on missions and not unload them. I think they'd stop showing up in the units lists, but they'd still have inventories, and I suspect they'd still be capable of holding on to rooms, etc. while in that state. However, I'm sure Toady have reasons for unloading the units completely.

Yeah, they would still count as units, but would be absent from the u-screen, which would be preferable anyway. Alternatively he could offload more information to historical figures or wherever this info is stored. I'm not sure Toady had a good reason to do as he did. It may be artefact of other mechanisms, decade long. In adventurer mode the fast-travelling adventurer and his companions are also off-loaded. In fortress mode there are some differences (apparently the counters for food and the like are not used but frozen, but I made mostly very short missions).

Some things I noticed:
  • pregnancy timer, as well as others like hunger or thirst are frozen/remembered, and restored to previous value upon return. I don't know where are they stored, and if they are stored in the savefile (because I didn't save).
  • mayor-soldier has offices removed too, like other rooms. If he is elected relatively shortly before the mission, he retains his position during mission and after return. If the election happens while on mission, someone else will be elected, even if the mayor is normally re-elected with 100% probability.
  • if the soldier is a spouse of owner of the room, he or she will have the room reassigned upon return. So a way to not have to reassign rooms is to have only married people in military, but assign their civilian spouses as the owners of the bedroom.
Logged

Leonidas

  • Bay Watcher
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #5 on: August 13, 2018, 03:18:20 pm »

Strangely, dwarves keep their workshop assignments when they're on missions. I wonder what happens if a dwarf accused of a crime leaves for a mission.
Logged

Rafatio

  • Bay Watcher
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #6 on: August 13, 2018, 03:48:20 pm »

I wonder what happens if a dwarf accused of a crime leaves for a mission.
Visitor crimes take quite a while to lose the name, so it might depend on how long the squad is gone.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: After a mission rooms are unassigned?
« Reply #7 on: August 13, 2018, 04:04:03 pm »

Strangely, dwarves keep their workshop assignments when they're on missions. I wonder what happens if a dwarf accused of a crime leaves for a mission.

I wouldn't know, because I really don't do justice. But about the workshop, I just checked, and they keep their assignment as nemesis IDs, which like histfig IDs are retained on mission (unlike unit IDs). So yes, they won't be cleared.
Logged