<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shaver</id>
	<title>Dwarf Fortress Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dwarffortresswiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Shaver"/>
	<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php/Special:Contributions/Shaver"/>
	<updated>2026-07-11T08:42:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.11</generator>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Lever&amp;diff=15012</id>
		<title>40d:Lever</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Lever&amp;diff=15012"/>
		<updated>2009-01-03T19:34:35Z</updated>

		<summary type="html">&lt;p&gt;Shaver: Added explicit note that levers can't be unlinked, only deconstructed and rebuilt.  Some wording tweaks.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''A lever''' is a device that can be linked to one or more other devices, permitting you to control these other devices through the lever's {{k|q}} menu.  It needs one [[mechanism]] to be constructed (if you have a mechanism, you can build the lever with {{k|b}}{{k|T}}{{k|l}}). A lever is pulled through its {{k|q}} menu with {{k|a}}{{k|P}}. A nearby [[dwarf]] will then pull it. [[Pressure plate]]s are like levers, but are activated automatically by [[creatures]] stepping on it. Levers, when linked to objects, will never require more than two mechanisms, and will always be able to activate the linked objects across even the longest map with ease.&lt;br /&gt;
&lt;br /&gt;
Levers normally have an 'on' and a 'off' state. Upon being flipped, everything they're connected to updates to the lever's new state. This becomes important if you have several levers attached to the same device, which is permitted.  Note, however, that gearboxes are an important exception to this: Instead of On/Off triggers, they simply ''toggle''.  It is unknown at this time if this behaviour extends to pressure pads and gearboxes, but this mechanic would suspect so.&lt;br /&gt;
&lt;br /&gt;
Several devices, such as [[floodgate]]s and [[bridge]]s, have a delayed response to all incoming signals, and will not respond to subsequent signals until the first has taken effect.  For instance, if you pull a lever attached to a floodgate on then off in rapid succession, the floodgate will only respond to the 'on' (open) signal.&lt;br /&gt;
&lt;br /&gt;
Once an device is connected to a lever, it can only be unlinked by deconstructing the lever and reconstructing it. This will obviously require you to relink any other devices that you want to still be connected to this lever.&lt;br /&gt;
&lt;br /&gt;
Objects that can be controlled by levers include:&lt;br /&gt;
&lt;br /&gt;
=== Multiple Uses ===&lt;br /&gt;
&lt;br /&gt;
* [[Bridge]] &amp;amp;ndash;  Bridges have a delay of 100 steps when the lever is pulled.&lt;br /&gt;
** '''On:''' Turns the bridge into either a raised drawbridge, or a retracted bridge, depending on which option was chosen when the the bridge was constructed. &lt;br /&gt;
** '''Off:''' Returns the bridge to normal.&lt;br /&gt;
&lt;br /&gt;
* [[Door]] &amp;amp;ndash; Note that once you connect a door, it is either completely open or locked. There is no &amp;quot;closed, but can be opened by a dwarf&amp;quot; state anymore.&lt;br /&gt;
** '''On:''' Opens the door. &lt;br /&gt;
** '''Off:''' Closes the door. &lt;br /&gt;
&lt;br /&gt;
* [[Floodgate]] &amp;amp;ndash;  After the lever is installed, it works exactly like a door. Floodgates, however, have a 100 tick delay. Therefore, it is more logical to use doors, at least until doors aren't usable for holding back water.&lt;br /&gt;
** '''On:''' Opens the floodgate. &lt;br /&gt;
** '''Off:''' Closes the floodgate.&lt;br /&gt;
&lt;br /&gt;
* [[Floor hatch|Hatch]] &amp;amp;ndash; When open it just disappears and allows water through. Note that, like doors, once you connect a hatch, it is either completely open or locked.&lt;br /&gt;
** '''On:''' Opens the hatch.&lt;br /&gt;
** '''Off:''' Closes the hatch.&lt;br /&gt;
&lt;br /&gt;
* [[Grate]] &amp;amp;ndash; When it is open, it just disappears. Water goes through it just the same, but it cannot be walked on anymore. Anybody on it will fall.&lt;br /&gt;
** '''On:''' Opens the grate. &lt;br /&gt;
** '''Off:''' Closes the grate. &lt;br /&gt;
&lt;br /&gt;
* [[Bars]] &amp;amp;ndash; When it is open, it just disappears. Water goes through it just the same, but it cannot be walked on anymore. Anybody on it will fall.&lt;br /&gt;
** '''On:''' Opens the bars. &lt;br /&gt;
** '''Off:''' Closes the bars.&lt;br /&gt;
&lt;br /&gt;
* [[Trap|Upright Spear/Spikes]]&lt;br /&gt;
** '''On:''' Retracts spears/spikes.&lt;br /&gt;
** '''Off:''' Extends spears/spikes.&lt;br /&gt;
&lt;br /&gt;
* [[Gear assembly]] &amp;amp;ndash; When it is disengaged, no power goes through it and anything that is being kept up by its presence (like a [[windmill]] right on top of it) falls down.&lt;br /&gt;
** '''On:''' Disengages the gear assembly.&lt;br /&gt;
** '''Off:''' Engages the gear assembly.&lt;br /&gt;
&lt;br /&gt;
=== One-Shot ===&lt;br /&gt;
&lt;br /&gt;
* [[Cage]]/[[Restraint]] &amp;amp;ndash; Opens the cage/[[chain]]/[[rope]] and releases whatever it held. This is permanent and you will have to reinstall and relink the cages/restraints after one use. You recover the [[mechanism]] used in the cage/restraint but you do not recover the mechanism used in the lever.&lt;br /&gt;
&lt;br /&gt;
* [[Support]] &amp;amp;ndash; Deconstructs the support, except without a dwarf next to it. Most commonly used to cause [[cave-in]]s.&lt;br /&gt;
&lt;br /&gt;
== Computing ==&lt;br /&gt;
&lt;br /&gt;
Elaborate combinations of levers (or pressure plates) and other objects can be used to create mechanical systems that can perform various forms of [[computing]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Buildings}}&lt;br /&gt;
[[Category:Buildings]][[Category:Physics]]&lt;/div&gt;</summary>
		<author><name>Shaver</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d:Trading&amp;diff=35902</id>
		<title>40d:Trading</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d:Trading&amp;diff=35902"/>
		<updated>2009-01-03T19:30:05Z</updated>

		<summary type="html">&lt;p&gt;Shaver: /* Liaisons */ Added how to find trade agreement details later.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Building|name=Trade depot|key=D&lt;br /&gt;
|job= &lt;br /&gt;
1 of:&lt;br /&gt;
* [[Broker]] noble&lt;br /&gt;
* None (See description)&lt;br /&gt;
|construction=&lt;br /&gt;
3 of&lt;br /&gt;
* [[Block]]&lt;br /&gt;
* [[Metal bar]]&lt;br /&gt;
* [[Stone]]&lt;br /&gt;
* [[Wood]]&lt;br /&gt;
|construction_job=&lt;br /&gt;
* [[Architecture]]&lt;br /&gt;
* and 1 of:&lt;br /&gt;
** [[Metalsmithing]]&lt;br /&gt;
** [[Masonry]]&lt;br /&gt;
** [[Carpentry]]&lt;br /&gt;
|purpose=&lt;br /&gt;
Trade goods with other races.&lt;br /&gt;
}}&lt;br /&gt;
'''Trading''' in Dwarf Fortress first occurs in the first [[autumn]] after establishing your fortress, with the arrival of the [[dwarf|Dwarven]] [[Trading#Caravans|caravan]]. Trading is a good way to acquire resources that are not available or are rare in the local area. It also allows for more freedom in selecting starting gear, because items can always be obtained through trade later, e.g. one can drop the expensive [[anvil]] to bring 500 extra units of [[alcohol|booze]] or purchase additional skills for the expedition party.  New players can [[Your_first_fortress#Trading|look here]] for advice on trading with the first caravan.&lt;br /&gt;
&lt;br /&gt;
== Trade Depot ==&lt;br /&gt;
Building a '''Trade Depot''' ({{K|b}} - {{K|D}}) will allow you the opportunity to trade with caravans that arrive at your fortress. Trade depots can be created from almost any material, and construction requires the [[Architecture]] skill along with the appropriate craft labor ([[Carpentry]], [[Masonry]], or [[Metalsmithing]]). &lt;br /&gt;
&lt;br /&gt;
While it may be convenient to build a Trade Depot outside first, it is usually a good idea to move it inside or build fortifications around it to protect caravans and your goods from [[thief|thieves]] and [[goblin]]s.&lt;br /&gt;
&lt;br /&gt;
Hit {{K|q}} to bring up the building interaction mode, and then move your cursor over the Trade Depot to gain access to the following options.&lt;br /&gt;
&lt;br /&gt;
=== Move Goods to/from Depot ===&lt;br /&gt;
{{K|g}}: This command becomes active when a caravan arrives on your map.  Choosing items from this menu will mark them as [PENDING] and [[dwarves]] will begin moving them to the depot (all dwarves regardless of labor settings will move goods to the depot when necessary).  Items that have been brought to the depot are ready for trade and will be marked as [TRADING].  Items nominated for trading will remain at the depot until the caravan leaves, or the [PENDING] / [TRADING] flag is cleared by choosing the item again.  Once no longer required at the depot, items will be available for use or hauling to stockpiles as normal.&lt;br /&gt;
&lt;br /&gt;
=== No trader needed at depot or Trader requested at depot ===&lt;br /&gt;
{{K|r}}: This requests a dwarf to come to the depot. To conduct trades with caravans, a trader must be present at the Trade Depot.  Once requested, a dwarf will make their way to the depot, and remain there until released with this setting, or the dwarf decides to drink, sleep, or eat.&lt;br /&gt;
&lt;br /&gt;
=== Only broker may trade or Anyone may trade ===&lt;br /&gt;
{{K|b}}: This setting determines who will perform the trade.  If '''Only broker may trade''' is active, then only the [[Broker]] [[noble]] will respond to the trader request.  This can become a problem when the broker is sleeping or otherwise occupied, but dwarves with low [[Broker skills]] will receive poorer deals when trading.&lt;br /&gt;
&lt;br /&gt;
=== Trade ===&lt;br /&gt;
{{K|t}}: This option becomes available once the caravan and your broker are both at the depot. It begins trading.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Trading==&lt;br /&gt;
{{:Trading/Flowchart}}&lt;br /&gt;
After entering the trade menu, select the items to offer from the right, and the desired items from the left. All caravans have a weight limit which cannot be exceeded, and the allowed additional weight is displayed in the lower right corner. If the acting broker has at least Novice or better [[Appraisal]] skill, the value of all items will be displayed.  Once the proposal is ready, press {{K|t}} to make an offer, but merchants will not agree unless they make adequate profit.  Be sure to use '''trade''', not '''offer''' {{K|o}}, as this will make a gift of the selected items. The amount of acceptable profit is determined by the broker's [[Broker skills|skills]] and the merchant's mood, described below.  Merchants may attempt to propose counteroffers if they do not accept the proposal, which can then be accepted, rejected, or further amended by the broker.&lt;br /&gt;
&lt;br /&gt;
A good rule of thumb for inexperienced brokers is to give merchants a 50% or better profit. For example, if the desired goods are worth 500☼, make sure their profit is at least 250☼ (which would make the total worth of the offered goods 750☼). This should ensure that the merchants are happy with the trading and that they accept the trade immediately without making ridiculous counteroffers. With more experienced brokers or pleased merchants, even marginally profitable trades can be successful, and counteroffers can be rejected safely, offering the same trade again.&lt;br /&gt;
&lt;br /&gt;
=== Trading cue colors ===&lt;br /&gt;
&lt;br /&gt;
* Items in brown have been created (or modified) by your fortress. They can be traded away or offered as a gift.&lt;br /&gt;
* Items in white were created by another source. They can be traded, but if one of these items has been selected, the entire selection cannot be offered as a gift.&lt;br /&gt;
* Items in purple are under a no-export mandate and should not be traded away unless exceptional circumstances (or masochism) push you to do this.&lt;br /&gt;
&lt;br /&gt;
=== Merchant mood ===&lt;br /&gt;
If your broker has Novice or better [[Judge of Intent]] skill, there will be a line added below the merchant's dialogue describing the caravan's attitude. Their attitude rises with successful trades (especially if they get lots of profit) and falls when you propose deals they don't like. &lt;br /&gt;
&lt;br /&gt;
* (trader) seems ecstatic with the trading&lt;br /&gt;
* (trader) seems very happy about the trading&lt;br /&gt;
* (trader) seems pleased with the trading&lt;br /&gt;
* (trader) seems willing to trade (Default, at least for humans)&lt;br /&gt;
* (trader) seems to be rapidly losing patience&lt;br /&gt;
* (trader) is not going to take much more of this&lt;br /&gt;
* (trader) is unwilling to trade&lt;br /&gt;
&lt;br /&gt;
The happier you make a merchant, the less profit margin he will demand in a trade. If merchants reach the lowest level, no further trade will be possible, and they will immediately pack up and leave your depot. Since annoyed traders are more likely to reject deals, you should be generous in initial negotiations. Skilled negotiators seem less likely to offend traders with unsuccessful deals. &lt;br /&gt;
&lt;br /&gt;
=== Seizing items ===&lt;br /&gt;
&lt;br /&gt;
Pressing {{K|s}} from the trade menu will seize the selected items of the merchant's.  If you seize goods from a caravan, the merchant will respond &amp;quot;Take what you want. I can't stop you.&amp;quot; and then leave immediately without the seized goods.  Items cannot be seized from the dwarven caravan, and other races will not buy stolen goods (marked in red) unless they are tricked into asking for them via counteroffer, or the items are &amp;quot;naturalized&amp;quot; by decoration or used to create other goods.  Seizing goods will hurt diplomatic relations, but is not grounds for an automatic [[siege]].&lt;br /&gt;
&lt;br /&gt;
As a side note, if you remove your trade depot, all the caravan's items will drop to the ground, to be readily hauled away by your dwarves. This does not mark the item as stolen, and the caravan will leave.&lt;br /&gt;
&lt;br /&gt;
===Offering items===&lt;br /&gt;
&lt;br /&gt;
{{key|o}} You can also give away items, as gifts to the leaders of the [[civilization]] you are trading with. This presumably helps relations between yourself and the other faction. The exact effects are unknown but it is believed that offering goods increases the quantity and variety of trade goods brought by next year's caravan.  Also the [[King]] may require offerings before his arrival.&lt;br /&gt;
&lt;br /&gt;
== Caravans ==&lt;br /&gt;
Each friendly race will send a caravan once per year, but only if that race considers the fortress site accessible (as denoted on the embark screen).  The exception is dwarves, who always arrive.  Caravans appear to enter the map from a random direction which does not coincide with the relative direction of the originating [[civilization]], and they may appear from different directions or z-levels each year.  Caravans may leave without trading if it takes too long to reach the trade depot, and they cannot use stairs.  Caravans will embark on their journey exactly one month after their arrival, whether they have succeeded in reaching the depot or not.&lt;br /&gt;
&lt;br /&gt;
=== Wagons ===&lt;br /&gt;
[[Image:Depot alley.png|thumb|right|A depot in the fortress, with a narrow, trapped accessway.]]&lt;br /&gt;
[[Image:Depot accessible.png|thumb|right|Composite image of depot access screen.  Strategically arranged walls and natural obstacles (boulders) force wagons to enter and exit the map immediately to the east of the depot.]]&lt;br /&gt;
All races except elves will send [[wagon]]s with their caravans, which have a much greater capacity for bringing foreign imports and accepting dwarven exports.  Unfortunately, wagons require paths that are three tiles wide to pass.  Wagons may enter the map in a location different from merchants with pack [[animals]], if the point the animals entered was inaccessible to the wagons.  If wagons are unable to find an open path to your trade depot (or if you have not built a depot at all), they will bypass your site and you will only be able to trade for what is available on the pack animals. &lt;br /&gt;
&lt;br /&gt;
Wagons cannot cross [[stair]]s or [[door]]s (even if the doors span an area ordinarily wide enough for the wagon to pass).  Obstructing [[boulder]]s must be smoothed ( {{K|d}} - {{K|s}} ), and [[tree]]s must be cut down ( {{K|d}} - {{K|t}} ).  [[Shrub]]s do not obstruct wagons, and neither do [[ramp]]s, [[bridge]]s, [[road]]s, or [[floor]] tiles. (However, ramps covered by a [[hatch]] do obstruct.)  The impassable tiles of [[workshop]]s and other buildings will obstruct, but the passable tiles of those buildings will not.  Any buildings which are normally passable, including [[restraint]]s and [[trap]]s, will not obstruct wagons either, nor will creatures, whether restrained or free.&lt;br /&gt;
&lt;br /&gt;
To keep trees from growing and blocking a path, you should build roads, bridges, or floor tiles over any [[soil]] tiles that make up part of the path.  Ramps must be used to adjust [[z-level]] elevation.&lt;br /&gt;
&lt;br /&gt;
After a trade depot is built, you can use {{K|D}} to check wagon accessibility.  The display is somewhat misleading: tiles marked in green mean a wagon can ''fit'' in that space, not that it can necessarily reach it from the edge of the map.  Further, the green {{Raw Tile|W|{{COLOR:2:0:1}}|{{COLOR:2:0:0}}}}s only represent where the ''center'' of the wagon can fit -- so a three-tile wide path, which can fit a wagon, will only show up as one-tile wide line of {{Raw Tile|W|{{COLOR:2:0:1}}|{{COLOR:2:0:0}}}}s.  When the route they would take goes over hills (ramps), it's hard to eye whether it is continuous all the way to the edge of the map, so be sure you see the words &amp;quot;depot accessible&amp;quot; on the depot access screen.&lt;br /&gt;
&lt;br /&gt;
As long as you have a three-tile wide path to the depot that reaches ''any'' edge of the map, wagons will be able to reach the depot.  If there is only one path they can take, they will take that path.  You can force them to enter and exit the map in an exact spot -- preferably very near your depot -- by erecting walls or digging channels so that all paths but the one you want them to take are blocked.&lt;br /&gt;
&lt;br /&gt;
=== Liaisons ===&lt;br /&gt;
[[Liaison]]s may be sent with caravans to speak to important dwarves.  They will allow you to choose the type of items that your fortress is interested in, and will focus on bringing more of that kind of item on the next caravan (however those items will also be more expensive).  They will also present you with a list of the items they're willing to pay more for, which will be effective upon their next arrival.&lt;br /&gt;
&lt;br /&gt;
Trade agreements can be viewed at a later time through the Civilization menu ({{k|c}}).&lt;br /&gt;
&lt;br /&gt;
=== Races ===&lt;br /&gt;
The following races send caravans.&lt;br /&gt;
&lt;br /&gt;
==== [[Dwarves]] ====&lt;br /&gt;
The dwarven caravan:&lt;br /&gt;
* arrives in [[Calendar|autumn]].&lt;br /&gt;
* employs wagons to bring more goods.&lt;br /&gt;
* typically carries [[food]], [[alcohol|booze]], [[leather]], and supplies.  Dwarves alone may carry [[steel]] and steel goods.&lt;br /&gt;
* tends to be well guarded.&lt;br /&gt;
* sends a liaison who will speak with the [[Expedition leader]] (or [[Mayor]]) to negotiate prices.&lt;br /&gt;
* is responsible for the number of immigrants received (when the caravan escapes alive).&lt;br /&gt;
* will not cause sieges when repeatedly destroyed or lost.&lt;br /&gt;
* is the only caravan to arrive during a fortress' first year.&lt;br /&gt;
* always arrives regardless of embark location.&lt;br /&gt;
* cannot have its goods seized from the trade menu.&lt;br /&gt;
&lt;br /&gt;
==== [[elf|Elves]] ====&lt;br /&gt;
[[Image:Evil_elves.png|thumb|400px|A typical elven caravan.]]&lt;br /&gt;
&lt;br /&gt;
The elven caravan:&lt;br /&gt;
* arrives in [[Calendar|spring]].&lt;br /&gt;
* does not send wagons.&lt;br /&gt;
* typically carries [[cloth]], [[rope]], various above ground [[plants]] and their byproducts, [[log]]s, [[wood]]en [[craft]]s &amp;amp; [[weapon]]s, large-sized clothing and [[armor]], and may carry tame [[creatures]].&lt;br /&gt;
* carries more wood the less trees you cut down{{verify}}.&lt;br /&gt;
* tends to be unguarded.&lt;br /&gt;
* may send a diplomat who imposes a tree cutting quota.&lt;br /&gt;
* does not accept some items in trade.&lt;br /&gt;
&lt;br /&gt;
Elven traders do not like to be offered any tree byproducts. Forbidden items include{{ver|0.28.181.40d}}: &lt;br /&gt;
&lt;br /&gt;
* [[Wood]]en items, and items derived from wood (including [[tower-cap]] logs), such as [[charcoal]] and [[pearlash]]&lt;br /&gt;
* Clear and crystal [[glass]] (because [[pearlash]] is used in their creation)&lt;br /&gt;
* Items [[decoration|decorated]] with any of the above materials&lt;br /&gt;
* [[Obsidian]] shortswords (since they have wooden handles)&lt;br /&gt;
* [[Soap]] (made with [[ash]])&lt;br /&gt;
&lt;br /&gt;
[[Metal]] items are acceptable, even when [[charcoal]] is used in their production. Items made from [[silk]] are acceptable, as are all non-wooden plant-derived products such as [[cloth]] and [[thread]]. Different from previous versions, items made of bone and shell are acceptable. You can also transport your goods to the [[trade depot]] in a wooden [[bin]], as long as you do not try to sell the bin. Living animals are acceptable, as long as the [[cage]] or [[trap]] is not made of [[wood]].&lt;br /&gt;
&lt;br /&gt;
Be especially careful with reselling items from other caravans, as decorated items made out of a non-living material may include decorative materials that were made of living materials.  All items that elven caravans sell are also unacceptable to sell back to elves, as the dwarves have no means of proving that they were made in an &amp;quot;elf kosher&amp;quot; way &amp;amp;mdash; and all dwarves know that elves have terrible memory.&lt;br /&gt;
&lt;br /&gt;
==== [[Human]]s ====&lt;br /&gt;
The human caravan:&lt;br /&gt;
* arrives in [[Calendar|summer]].&lt;br /&gt;
* employs wagons to bring more goods.&lt;br /&gt;
* typically carries a very large quantity and variety of goods.&lt;br /&gt;
* tends to be moderately guarded.&lt;br /&gt;
* sends a liaison who will speak with the broker to negotiate prices.&lt;br /&gt;
&lt;br /&gt;
==== [[Goblin]]s ====&lt;br /&gt;
A goblin caravan may arrive if your civilization is at peace with the goblins.&lt;br /&gt;
&lt;br /&gt;
The goblin caravan:&lt;br /&gt;
*does not send wagons&lt;br /&gt;
*tends to be unguarded&lt;br /&gt;
*brings mostly food and cloth&lt;br /&gt;
*does not send a liaison or a guild representative&lt;br /&gt;
*does not make import/export agreements&lt;br /&gt;
&lt;br /&gt;
=== Destruction ===&lt;br /&gt;
If caravans are destroyed (intentionally or unintentionally), the items may remain for use. Traders caught in a [[cave-in]] will flee as if they were attacked but will leave all the items dropped by the caravan behind. Pack animals carrying items are affected just like a normal tamed [[mule]] and must be killed in the cave-in for them to drop items on the ground. It is however much more likely that the pack animal(s) will only be stunned or rendered unconscious and flee shortly after recovering from the hit. Wagons will collapse if caught in a cave-in, leaving all that it was carrying on the ground as a result. Wagons can also be destroyed by [[ocean]] waves coming up onto the shore if you have settled in the appropriate area. The only difference between collapsing under waves or a cave-in is a higher probably of recovering items if the wagon is destroyed by a wave.&lt;br /&gt;
&lt;br /&gt;
Repeated caravan destruction (intentional or unintentional) will strain diplomatic relations and may result in a [[siege]].&lt;/div&gt;</summary>
		<author><name>Shaver</name></author>
	</entry>
	<entry>
		<id>https://dwarffortresswiki.org/index.php?title=40d_Talk:Lever&amp;diff=23303</id>
		<title>40d Talk:Lever</title>
		<link rel="alternate" type="text/html" href="https://dwarffortresswiki.org/index.php?title=40d_Talk:Lever&amp;diff=23303"/>
		<updated>2009-01-02T17:53:56Z</updated>

		<summary type="html">&lt;p&gt;Shaver: how to disconnect levers?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== floodgates vs. doors misinformation? ==&lt;br /&gt;
&amp;quot;''Therefore, it is more logical to use doors, at least until doors aren't usable for holding back water.''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
I'm fairly certain that doors can't be closed while flooded.  They work as described for opening via lever, but cannot close when blocked by water or creatures.&lt;br /&gt;
Granted, the last time i've levered doors was back in 2d.  Please verify or change the wording? --[[User:Vaevictus|Vaevictus]] 15:49, 2 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:In the current version{{version|0.27.176.38c}} doors can close if water currently occupies the same square. I believe elsewhere the wiki states this destroys the water, but I have not verified if the water is destroyed. --[[User:Quartic|quartic]] 16:18, 2 June 2008 (EDT)&lt;br /&gt;
::Does it matter how much water? -- [[User:Vaevictus|Vaevictus]] 13:35, 3 June 2008 (EDT)&lt;br /&gt;
:::I have verified this with water of depth 1 and 7, but not values in between.--[[User:Quartic|quartic]] 13:38, 3 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
Todo: Check whether two levers connected to the same door operate it in the same way the older versions did - that is, pulling each lever once would open the door, then do nothing as the second lever is pulled. -- [[User:Zaratustra|Zaratustra]] 19:23, 7 November 2007 (EST)&lt;br /&gt;
&lt;br /&gt;
I'm using vertical bars as portcullis for my keep, and they attach to levers.  Perhaps a comment that bars and grates operate identically in this version, specifically with respect to levers? -Gotthard&lt;br /&gt;
&lt;br /&gt;
Doesn't the delay come from the floodgate grinding to close the water/magma channel/tunnel compared to a door slamming shut right away? --[[User:Karpatius|Karp]] 08:51, 31 October 2008 (EDT)&lt;br /&gt;
:That is what it is meant to simulate.  Like people mentioned above, though, Toady's said that doors shouldn't work as well as floodgates, so in some later version your doors will probably leak. --[[User:ThunderClaw|ThunderClaw]] 10:09, 31 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== controlling at a distance ==&lt;br /&gt;
&lt;br /&gt;
Does the lever need to be adjacent to the item it is controlling?&lt;br /&gt;
&lt;br /&gt;
I want to put a floodgate at the end of a channel... [[User:GarrieIrons|GarrieIrons]] 02:52, 23 January 2008 (EST)&lt;br /&gt;
:No, it can be anywhere.--[[User:Dorten|Dorten]] 02:57, 23 January 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
so, analog to the support-cave-in-trap how about building a nice water basin, say 4x4 for a start and covering it with grates, all connected to a lever - do grates have to be attached to a wall or floor on one side? I will try *broad grin* --[[User:Koltom|Koltom]] 21:45, 22 February 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Grates must be attached to a wall on one side, although you can put grates next to only grates and the dwarves will build them.  Followed by their collapse.  Like walls off bridges.--[[User:Draco18s|Draco18s]] 18:31, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Try building supports under them. SL's hand of armok uses supports under hatches in a similar way. [[User:VengefulDonut|VengefulDonut]] 23:37, 2 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
::Yeah, its not working like i wanted it too. The support thing will probably work. Or I will just leave a few walls in the basin..will try that later, busy right now. *watches goblin fly away in high arc* --[[User:Koltom|Koltom]] 19:52, 3 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
Regarding remote activation/control: I just spent 10 minutes berating my dwarves for completely ignoring two Pull Lever commands while vile forces of darkness approached, only to find that once I removed the Dwarves Stay Indoors restriction, they happily stepped up to the, uh, lever.  The bridges are outside, the levers are on the level below.  Has anyone else experienced this?  [[User:Holyfool|Holyfool]] 17:49, 22 March 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:Was the lever and/or any part of the path to the lever marked as &amp;quot;outside&amp;quot;? Use {{k|k}} to check. --[[User:Savok|Savok]] 10:25, 23 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::I checked and one of the levers was indeed marked &amp;quot;outside&amp;quot;.  In fact, there are several squares on my first underground level that are marked &amp;quot;outside&amp;quot;.  Is that because they are in the general area of the stairway leading outside?  Thank you for the info.  --[[User:Holyfool|Holyfool]] 18:42, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::When I quit reading all new forum messages and stayed at the wiki, I thought this would stop. [[Outside|Read The Wiki]]. Really. Read it. No, really, click on that link. --[[User:Savok|Savok]] 19:57, 29 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Megabeasts ==&lt;br /&gt;
&lt;br /&gt;
I have noticed that a bridge that a hydra is standing on cannot be retracted {{version|0.27.176.38c}}. Has anyone else had similar experiences? [[User:VengefulDonut|VengefulDonut]] 00:15, 13 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Titans cause the same problem. I conjecture that bridged can't be retracted while megabeasts are standing on them. [[User:VengefulDonut|VengefulDonut]] 02:08, 13 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Also elephants, it seems. Possibly creature size. [[User:VengefulDonut|VengefulDonut]] 13:18, 13 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Dragons cause the same problem. Are megabeasts supposed to all show up at once like this? [[User:VengefulDonut|VengefulDonut]] 21:43, 13 March 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Proposed addition: Mechanism sequence ==&lt;br /&gt;
&lt;br /&gt;
Given the problems that arise when using non magma-safe materials for mechanisms on floodgates, it is quite handy to know which mechanisms go where at the link selection (When for example you're really low on bauxite).&amp;lt;br&amp;gt;&lt;br /&gt;
From my experimentation with floodgate-lever, the first mechanism selected goes at the gate and the second one at the lever. I still haven't activated the contraption, but I'm assuming it's going to be ok.&amp;lt;br&amp;gt;&lt;br /&gt;
I'm also assuming the same is usefull for grates and bars. --[[User:Nonickch]], unsigned&lt;br /&gt;
&lt;br /&gt;
:There is some lower-down text that tells you which mechanism goes in where. --[[User:Savok|Savok]] 08:30, 15 June 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Finding Links ==&lt;br /&gt;
&lt;br /&gt;
Is it possible to determine what a lever is linked to without pulling it and checking to see what happens? -[[User:Fuzzy|Fuzzy]] 00:43, 6 September 2008 (EDT)&lt;br /&gt;
:AFAIK the only way is to attempt to link the lever to a built object and notice which one if any is not available.&lt;br /&gt;
:eg if you have two bridges but only one is available to be linked to, it is because you are already linked to the other one.&lt;br /&gt;
:This would be a really good feature if it was implemented.&lt;br /&gt;
:[[User:GarrieIrons|GarrieIrons]] 09:55, 6 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:I guess this is one good use for the new note-feature: Just use the same note for lever and target. --[[User:Doub|Doub]] 10:17, 6 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:Right now your best way to remember what lever does what is to build a reference behind the lever as a reminder: a one-tile bridge behind the&amp;lt;br /&amp;gt;&amp;quot;front door/bridge&amp;quot; lever, a support behind the &amp;quot;collapse the mountain&amp;quot; lever and so forth... or write down what does what on paper.&amp;lt;br /&amp;gt;Even naming levers would be useful but for now you need the &amp;quot;references.&amp;quot; -[[User:Karpatius|Karp]] 06:10, 19 December 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== Max number of links? ==&lt;br /&gt;
&lt;br /&gt;
''Is there a limit to the amount of objects that can be linked to a lever?''--[[User:Thendash|Thendash]] 22:56, 19 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Speeding the job of linking ==&lt;br /&gt;
&lt;br /&gt;
Is it just me or does it not only take forever to finish the job of linking the lever to something, but also the dwarves treat it as extremely low priority? I've sometimes had to had an entire year for one of them to deign to hook it up. Incidentally, it is the Mechanics job that they use for that, right? -[[User:Fuzzy|Fuzzy]] 15:48, 27 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I haven't noticed anything about the priority of the job, but yes, it take hella long to finish it. Some big linking job (eg. linking a large bridge to a remote lever) are virtually impossible to complete without an experienced mecanic... dwarves don't manage to end the job before feeling the urge to eat or drink or something, and all their work is lost when they return, ending in an infinite loop. [[User:Timst|Timst]] 19:47, 27 September 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Unless it's changed in the year since I've played, the mechanic must move the mechanisms to the lever and the &amp;quot;something&amp;quot;, then spend time working on both the lever and the &amp;quot;something&amp;quot;, all without being interrupted. Consider a 1-square stockpile next to both the lever and the something and choosing those unique mechanisms when you assign the linkage job. -- [[User:Qwip|Qwip]] 16:42, 15 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:: The catch, so far, is figuring out the &amp;quot;unique&amp;quot; mechanisms in the list. Short of making sure that that stockpile is the only one that carries Schist Mechanisms or something similar... Unlike the other &amp;quot;pick an item&amp;quot; lists, you can't specify a sort and there's nothing zooming you to the item that you will use. On a mildly unrelated note, I realized that part of the reason for my delay was that I was building large amounts of stone traps, so the nearest mechanism that was not already tied up in a trap building job was quote some distance away. I had this problem with the nearby stockpile as well, as it was also fairly close to the traps. It would be nice to even get a distance count on the mechanisms. -[[User:Fuzzy|Fuzzy]] 11:48, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::When you choose the mechanism for the lever or trap, it does tell you its distance.--[[User:Maximus|Maximus]] 12:33, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::: Addendum to Maximus's comment: When selecting the material to be used, you can e{{k|x}}pand the list of materials, and then select a particular item. Therefore, you can build a single-tile stockpile, then customize it (using {{k|q}} then {{k|s}}settings) to only allow a certain quality mechanism. Link the lever after these stockpiles have been filled. [[User:RomeoFalling|RomeoFalling]] 16:21, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Inverting a Lever ==&lt;br /&gt;
&lt;br /&gt;
I think I found a way to automatically invert the signal of a lever, say if you wanted one lever to open one door and close another. It involves a bridge and water, so it would not be instant. I haven't tested it yet. Anyone know if it would work?&lt;br /&gt;
&amp;lt;pre&amp;gt;Side view: (Sorry, I realize this isn't the standard tileset, but my text editor doesn't have them all.)&lt;br /&gt;
#####&lt;br /&gt;
#_~@W&lt;br /&gt;
##D##&lt;br /&gt;
&lt;br /&gt;
W - Water source (Under at least 7/7 pressure)&lt;br /&gt;
D - Water drain&lt;br /&gt;
_ - Pressure plate, set to activate under water of depth 4-7&lt;br /&gt;
@ - Hinge of a raisable bridge, connected to the main lever (offscreen)&lt;br /&gt;
~ - Bridge over channel&lt;br /&gt;
# - Solid rock&amp;lt;/pre&amp;gt;&lt;br /&gt;
When the main lever is OFF, the bridge is down. It allows water to flow past its hinge, and it covers the drain. Water fills the room, triggering the plate, which sends an ON signal.&amp;lt;br&amp;gt;&lt;br /&gt;
When the main lever is ON, the bridge raises. The hinge blocks water from flowing in, and the uncovered drain empties the room. The plate detriggers, sending OFF.&amp;lt;br&amp;gt;&lt;br /&gt;
WARNING: The drain must not fill! If it does, you wont be able to get into the room to connect more mechanisms to the plate.&lt;br /&gt;
Option: If your water source is infinite, make your drain a hallway, at least 3 long, with a raising bridge that comes down from the far end. When the main lever is activated, the hallway floods. Shortly afterwards, the plate detriggers. After a short delay, the bridge slams down, destroying the water. &amp;lt;br&amp;gt;&lt;br /&gt;
--17:52, 1 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: Isn't it simpler to build two levers?  Especially considering the pressure plate takes as many mechanisms?  I don't really understand what you are trying to accomplish here.&lt;br /&gt;
:--[[User:MagicGuigz|MagicGuigz]] 17:34, 15 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::If you want a single action to do some &amp;quot;on&amp;quot; actions and some &amp;quot;off&amp;quot; actions - e.g. if from a stylistic point of view you want to have a single &amp;quot;activate outer defenses&amp;quot; lever that raises bridges over moats and puts down bridges blocking catapults.&lt;br /&gt;
::--[[User:Random832|Random832]] 19:35, 15 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::: It's more than stylistic. My designs are complex systems, created on the assumption that only certain combinations of states are possible - that when ''this'' bridge is down, ''that'' bridge is always up, and that when ''this'' floodgate is open, ''that'' door is always closed. If I allow things to enter a condition I hadn't planned for - either because I forgot to throw both leavers, or the dwarf died between them, or whatever - there is literally no telling what would happen. It could drop civilians into a line of fire, or flood the fortress, or expose the marksdwarves to the enemy without also releasing their infantry guards. &lt;br /&gt;
:::--[[User:Macdjord|Macdjord]] 16:08, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:I'd say you should consult the [[Computing]] and [[Mechanical Logic]] pages then. Should find all the components you need there. &lt;br /&gt;
:--[[User:Bilkinson|Bilkinson]] 16:13, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
::Doesn't help. That's all about power transfer - gears, axels, waterwheels... It only uses  levers for input, not output - I could connect my controll leaver to a not-gate like [[Mechanical_Logic#NOT_or_BUFFER|this one]], but how do i connect ''that'' to a bridge?&lt;br /&gt;
::--[[User:Macdjord|Macdjord]] 17:17, 16 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::Connect that power to a screw pump, that pours water onto a pressure plate. There's an example of such a device on the mechanics page. Take a look as Water/Fluid logic as well (Linked to on the mechanical page) for some other pump-based devices.&lt;br /&gt;
:::--[[User:Bilkinson|Bilkinson]] 06:56, 17 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::It's... ''workable'', I suppose. It's much more complex than the bridge system. It might be faster responding, depending on the speed at which a pump works, since there is no 100 step delay like a bridge. It would take a lot more room and mechanisms, not to mention a seperate power source for each one. Remember, each leaver you invert need its own, independent setup.&lt;br /&gt;
::::--[[User:Macdjord|Macdjord]] 13:09, 17 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
:::: Check out this page, it might help.. www.dwarffortresswiki.net/index.php/User:SL/Logic_Gates.&lt;br /&gt;
::::[[User:Martinuzz|Martinuzz]] 8:54, 28 October 2008 (EDT)&lt;br /&gt;
&lt;br /&gt;
: So the goal here is to have water on a pressure plate when a lever is set to ON.  Don't hatch covers respond quicker than bridges?&lt;br /&gt;
&lt;br /&gt;
: Gee, this sucks.  I thought things just toggled whenever you flipped the lever.  That's how it should be IMHO.  [[User:Gairabad|Gairabad]] 20:31, 13 November 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Side view:&lt;br /&gt;
&lt;br /&gt;
####&lt;br /&gt;
#^HW&lt;br /&gt;
##D#&lt;br /&gt;
&lt;br /&gt;
^ = Pressure Plate&lt;br /&gt;
W - Water Inlet&lt;br /&gt;
D - Drain&lt;br /&gt;
H - Hatch Cover&lt;br /&gt;
# - Solid rock&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
:Main lever linked to Hatch Cover (H).  When the lever is OFF, the hatch is closed and the Pressure Plate (^) chamber fills.  When the lever is ON, the Hatch Cover (H) disappears and water drains away before reaching the pressure plate ledge.&lt;br /&gt;
:[[User:Wangcommander|Wangcommander]] 01:27, 12 November 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
:: But since you're not actually blocking off the water, you are dependent on the fickleness of the water pressure simulation. Sure, the room would never fill with an open hatch between the water source and the hatch, but after the first use it ''starts off'' filled. Are you certain it will drain? If the water comes in from the source as fast as it goes out the drain, will it not stay full? That's the advantage of using the bridge - it is the only piece of equipment that blocks water in the ON position.&lt;br /&gt;
:: A hybrid design might be useful, using a bridge to block the input bu a hatch to control the output. When you switch it, the hatch instantly starts draining the water, then the bridge seals the inlet 100 ticks later to guarantee a complete drain.&lt;br /&gt;
:: --[[User:Macdjord|Macdjord]] 16:04, 12 November 2008 (EST)&lt;br /&gt;
&lt;br /&gt;
== how to disconnect levers? ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to disconnect a lever from an object without destroying the lever and rebuilding it? --[[User:Shaver|Shaver]] 12:53, 2 January 2009 (EST)&lt;/div&gt;</summary>
		<author><name>Shaver</name></author>
	</entry>
</feed>