View Issue Details

IDProjectCategoryView StatusLast Update
0003049Dwarf FortressDwarf Mode -- Buildings, Machinespublic2012-02-21 07:33
ReporterThrelicus Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0003049: Linked doors cannot be re-linked if lever is removed/destroyed
DescriptionIf a lever is attached to a door and pulled (so that the door is open), then the lever is removed, the mechanisms used fall out on the ground but the door remains open and is indicated as 'controlled by mechanism'.
Steps To Reproduce1) Build a door
2) Build a lever
3) Link the lever to the door
4) Pull the lever
5) Destroy the lever
TagsIntentional/Expected?

Activities

madman

2010-08-17 00:49

reporter   ~0011844

How is this a bug? The door is still controlled by the mechanism in the door - just there's nothing left controlling it.

Threlicus

2010-08-17 06:24

reporter   ~0011850

The door is stuck open and cannot close, cannot be linked to another lever, and the only way to recover it is to remove it. The mechanism in the linkage falls to the ground. I suppose it is vaguely possible that this is intended but I very much doubt it.

I would think the door ought to revert to its 'uncontrolled' state, i.e., closed and forbiddable, etc. I think that is what happens if you destroy a lever when the linked door is closed -- at least I hope so. If not, then the bug is that the only way to unlink is to remove the built object, not the lever controlling it.

madman

2010-08-17 07:48

reporter   ~0011853

OK, if you cannot link it with another lever, that is a bug (I haven't tested it yet). AFAIK, doors should be able to be linked with more than one lever.

Threlicus

2010-08-17 16:05

reporter   ~0011867

OK, I need to revise my first statement. The mechanisms only fall out when you destroy the door, regardless of what state the lever was in. The door is left wherever it was.

I think this is not the right behavior. Destorying the lever should, IMHO:
a) Free up the mechanisms used so they can be used again
b) Unlink the door so it can be used (unless some other lever is controlling it, of course)
c) Set the door in the normal state -- i.e., closed unless a dwarf is going through it.

Auto Slaughter

2010-09-20 08:36

reporter   ~0012840

I experienced a similar thing with floodgates. The floodgates were stuck open and I was able to link another lever to them but pulling the lever did not close them. The only remedy was to deconstruct everything and start over.

Quietust

2010-09-20 11:53

reporter   ~0012842

Auto Slaughter: that shouldn't be the case - while the first lever pull would have done nothing (because it sent an "open" signal and the floodgate was already open), a second lever pull should have closed it.

hyndis

2010-09-20 16:33

reporter   ~0012848

I don't see how this is a bug. You linked the door to a switch. This requires a mechanism for both the door and switch.

Pull switch to toggle the door open and shut. If the switch is destroyed then you cannot toggle the door open and shut. The mechanism on the door is still there, but the two mechanisms in the lever are now sitting on the floor because the lever got smashed.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-08-16 21:10 Threlicus New Issue
2010-08-17 00:49 madman Note Added: 0011844
2010-08-17 06:24 Threlicus Note Added: 0011850
2010-08-17 07:48 madman Note Added: 0011853
2010-08-17 16:05 Threlicus Note Added: 0011867
2010-08-17 18:35 user6 Tag Attached: Intentional/Expected?
2010-09-20 08:36 Auto Slaughter Note Added: 0012840
2010-09-20 11:53 Quietust Note Added: 0012842
2010-09-20 16:33 hyndis Note Added: 0012848
2012-02-21 07:33 user6 Summary Linked doors do not close when lever is destroyed => Linked doors cannot be re-linked if lever is removed/destroyed