v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing v0.34:Minecart
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{quality|Masterwork|22:56, 17 March 2013 (UTC)}}{{av}}{{Buggy}} | {{quality|Masterwork|22:56, 17 March 2013 (UTC)}}{{av}}{{Buggy}} | ||
− | A '''minecart''' is a [[tool]] used mostly for [[hauling]] | + | A '''minecart''' is a [[tool]] used mostly for [[hauling]]. It is made of [[wood]] at a [[carpenter's workshop]], or [[metal]] at a [[metalsmith's forge]] (using the [[Metal crafter|Metalcrafting]] labor. Minecarts store up to five times as many items as [[wheelbarrow]]s and are quite a bit faster than hauling dwarves, but have the disadvantages of requiring a dedicated track network, a complex route planning phase, and the possibility of dwarves [[fun|blundering into the path of carts filled with lead ore]]. Above-ground tracks are possible, but more difficult due to their additional [[building material|material requirements]]. |
− | Just like wheelbarrows, minecarts are considered [[item]]s and are stored in a [[furniture]] [[stockpile]]. Despite their five | + | Just like wheelbarrows, minecarts are considered [[item]]s and are stored in a [[furniture]] [[stockpile]]. Despite their five times greater capacity, they are only one third larger than wheelbarrows and are identical in base [[item value|value]] when made from the same [[material]] (the value may differ due to the [[item quality]]). As items, [[thief|thieves]] or even mischievous animals can steal minecarts, even when moving on a track. If a minecart is moving fast enough, or if it has a rider, thieves will be unable to steal the minecarts. |
Although most of the utility of minecarts is in [[fortress mode]], an [[adventure mode|adventurer]] can also ride in a minecart. Adventurers can also pick up and relocate minecarts. | Although most of the utility of minecarts is in [[fortress mode]], an [[adventure mode|adventurer]] can also ride in a minecart. Adventurers can also pick up and relocate minecarts. | ||
+ | |||
+ | Since their introduction in version 0.34.08, a new [[hauling]] [[labor]] preference was added to all dwarves, called "Push/Haul Vehicles", turned on by default. | ||
The invention of minecarts revolutionized the [[minecart logic|Science of Dwarfputing]] by enabling smaller, faster logic systems to be built. | The invention of minecarts revolutionized the [[minecart logic|Science of Dwarfputing]] by enabling smaller, faster logic systems to be built. | ||
− | == | + | == Tracks == |
− | + | Tracks can be built in two ways: | |
+ | *A single-tile wide strip of natural stone can be designated to be [[Engraver|carved]] (with {{K|d}} {{k|T}}), which will create a straight two-way track. The creation of corners, crossings, and T-junctions is as simple as designating another strip of track that overlaps an existent or newly-designated track. Engraved tracks are removed by [[smoothing]] the rock they're on, which results in a smooth floor (that can be re-engraved if necessary), or by building a [[floor]] on top and subsequently removing it. | ||
+ | **The carving of natural ramps is a little more confusing: to carve a two-way track on a ramp (natural only, does not work on constructed ramps), you must designate the ramp '''and one square beyond''' in the direction you want the track to go. For the side of the ramp square you want to head upward, there '''must''' be either a natural or constructed wall in the square next to it, otherwise the game assumes you are trying to carve it on the same level -- this can result in the track being carved underneath a door or other object. If you have accidentally done this, you can correct it by smoothing the ramp and constructing a single square of wall next to it, then re-carving the ramp correctly. (However, the wall must stay there permanently; removing it will disconnect the track.) | ||
+ | |||
+ | *Tracks can also be built as regular [[construction]]s (through {{K|b}} {{K|C}} {{K|T}}). This method is resource-expensive, since each track tile requires one stone, [[bar]], or [[block]] for construction, and time-consuming, since you can't designate strips larger than 10 tiles at a time. Corners, crossings, T-junctions, and ramps also have to be designated individually. However, it is usually the only way to build tracks above ground or on soil (barring the [[Obsidian farming|creation of obsidian]]), and the only way to create one-way tracks. Constructed tracks are designated for removal like any regular construction; be aware that removing track ramps built on top of natural ones will also remove the original ramp, leaving a flat floor. | ||
+ | |||
+ | *When constructing track ramps, the stated direction is the upper edge of the ramp. For example, a track going up from West to East would require, starting from the West, a Track (EW), a Track/Ramp (E) and a Wall behind the ramp. Incorrectly placed ramps result in minecarts ignoring the ramp and crashing into the supporting wall. They will not, however, display as unusable. | ||
+ | |||
+ | *Ramps on their own cannot be used to make turns for tracks, so it is impossible to build a track system that spans Z levels on turning ramps alone; flat sections must always be added for turns. | ||
+ | |||
+ | Every track, when complete, will designate the tile with a low-priority [[traffic|traffic order]]. This reduces the odds of dwarves walking into a high-speed minecart; however, it should be noted that pets and livestock ignore traffic orders. Note that removing the track doesn't reset that tile back to normal traffic priority, so you may wish to manually clean up traffic designation afterward. Also note that bridges that are used as tracks don't have their traffic priority changed automatically (since they're just normal bridges), which could cause dwarves to pathfind normally through dangerous minecart entrances in your fort's walls if you're not careful. | ||
+ | |||
+ | As constructions or tile features, [[door]]s and other furniture can be built on tracks. A [[door]] or [[floodgate]] can be turned on or off by a [[lever]], effectively controlling the flow of automated minecarts. This may be <s>dangerous</s> [[fun]], however. <!-- How, exactly? --> | ||
+ | |||
+ | [[Bridge]]s can also act as tracks, but only if they're lowered or not retracted. This property can enable levers to turn tracks on and off. However, care should be taken to ensure that such bridges are never operated while a cart is on top of them, as the cart will be flung off the track. It's worth noting that it's often faster, and cheaper, to construct large bridges than long sections of constructed track. | ||
+ | |||
+ | == Hauling route == | ||
+ | The proper setting up of routes is essential for a working rail system. Routes, stops, departure conditions and stockpile links are managed from the {{k|h}}auling menu. | ||
+ | |||
+ | === Route === | ||
+ | New routes are created with the {{k|h}}auling key. Existing ones can be removed (without confirmation) with the {{k|x}} key, and also {{k|n}}icknamed. Before operating, the route must have at least one {{k|v}}ehicle assigned to it (this can be done with either the route or a stop selected). Assigning a full minecart to a route may result in a slow hauling job if the contents are heavy. | ||
+ | |||
+ | === Stop === | ||
+ | Stops are designated by moving the cursor on top of the desired tile and pressing the {{k|s}} key afterwards. They can be removed with and nicknamed with the same hotkeys as routes. Stops can also be reordered with the {{k|p}}romote key. Without a definition, however, a stop is fairly useless: pressing the {{k|Enter}} key with a stop selected in the route menu opens its stop definition screen, from which departure conditions and stockpile links can be set up. | ||
+ | |||
+ | ==== Stockpile links ==== | ||
+ | By placing the cursor on top of a stockpile and using {{k|s}}, you can create stockpile links for a track stop. Links can also be redefined by selecting them, placing the cursor over a different stockpile, and pressing {{k|p}}. | ||
+ | |||
+ | ==== Departure condition ==== | ||
+ | Departure conditions involve setting conditions in which the minecart will leave on the route. Each condition includes: | ||
+ | # A departure mode (Guide, Ride or Push). | ||
+ | # A departure direction (NSEW). | ||
+ | # A timer, before which the departure condition cannot be met. | ||
+ | # Conditions on the amount of items in the cart. | ||
+ | Departure conditions are created with the {{k|n}} key. A new departure condition will read: "guide north immediately when empty of desired items". This condition can be changed between basic presets with {{k|c}}. "Advanced" mode ({{k|C}}) allows for more precise control over departure conditions: fine tuning the percentage from 0 to 100 in 25% steps ({{k|f}} and {{k|F}}), switching it being either the maximum or the minimum amount of items for the condition to be met ({{k|m}}), and whether the cart accepts all or only a specific set of items ({{k|l}}). Common to both screens are the departure mode ({{k|p}}, Push, Ride or Guide), {{k|d}}irection, and timer ({{k|t}} and {{k|T}}) options. | ||
+ | |||
+ | To have a cart only carry a specific set of items, the stop can be set to only carry "desired" items, opening the selection screen with the {{k|Enter}} key while having said stop condition selected, and toggling as desired, or it can simply be linked to a restricted stockpile and set to depart with any items. | ||
+ | |||
+ | == Physics == | ||
+ | <!-- copying template ║ ═ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬ ╞ ╡ ╥ ╨ --> | ||
+ | |||
+ | Minecart physics depend greatly on the departure mode set in the route stop conditions. | ||
+ | |||
+ | When set to "Push" or "Ride", minecarts will move according to the regular laws of momentum, gaining speed when going downhill, losing it slowly due to friction when on a flat plane, and more quickly when going uphill. In these modes, minecarts will move along the track in a straight line until they either run off the tracks or encounter a turn. A minecart will continue straight at a T junction if possible but if it is not possible the track is treated as a dead end and may jump track. The cart's behavior also depends on the weight of its contents (including fluids and dwarves): heavily loaded carts are harder to accelerate and to stop, and gain more momentum when going downhill. In either case, dwarves can not push nor ride an unpowered cart up a ramp, bouncing back the direction it came. At best, this is a waste of time; at worst, it will give your cart-pushing dwarf a [[fun|fun surprise]]. To solve this, the player can either use Rollers (see below) or set the cart to be Guided. | ||
+ | |||
+ | When set to "Guide", minecarts seem to ignore all laws of physics. They: | ||
+ | *Ignore the weight of any and all items inside. Therefore: | ||
+ | **Move at the speed of the dwarf that is guiding them. It is thus recommended to pick the most [[attribute#Agility|agile]] of your dwarves for cart-guiding tasks. | ||
+ | *Ignore working rollers. | ||
+ | *Will ''not'' collide with other guided carts even when a full frontal collision would be expected. | ||
+ | *Will go up ramps like nobody's business. | ||
+ | This is therefore the recommended method of transport for simple non-powered rail systems, despite it diverting a dwarf from other, potentially more important tasks. | ||
+ | |||
+ | Some samples with behavior: | ||
+ | |||
+ | A <-> B A <-> C A <-> B | ||
+ | B╥ B╥ B╥ | ||
+ | ║ ║ ║ | ||
+ | A╞══╝ A╞══╩══╡C A╞══╬╗ | ||
+ | You can only go A->B ╚╝ | ||
+ | Works when the cart Works | ||
+ | is in Guide mode. | ||
− | + | In the second example above, if you attempt to "Push" from B to A or C, [[Fun|''the cart will go careening off of the tracks'']]. | |
− | + | === Skipping === | |
+ | If a minecart is moving fast enough, it can skip over [[water]] or [[magma]], making splashes of [[mist]] (or [[magma mist]]) as it attempts to move on them horizontally. This horizontal movement is independent of the minecart and its content's [[weight]]. | ||
− | === | + | === Track Jumping === |
− | + | If a minecart encounters the end of the track or a T junction where it can not continue straight it may jump off of the track if it is going fast enough. The minecart will now continue in a straight line until in encounters an obstacle, slows to a stop, or encounters another (properly aligned) Track. An escaped minecart will follow another track even if it is a corner. | |
− | + | === Falling === | |
− | + | When falling, a minecart appears to cause no damage upon collision, possibly to allow cart "stacking" across Z-levels. [http://www.bay12games.com/dwarves/#2012-04-06] A dwarf riding in a minecart that is dropped multiple z-levels suffers normal fall damage. Minecarts can fall through up/down stairs. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === Stacking === | |
+ | If a minecart lands on top of another minecart, they may form a stack, with the upper cart on the z-level above the lower. Subsequent carts do not form a stack, but rather quantum stockpile in the same space. This behaviour is useful for [[megaprojects]] and [[trap design]] with minecarts as the weaponry. | ||
− | + | These minecarts on the upper level generally need to be struck with another minecart to move out, or have their support removed. The latter option can be somewhat dangerous, however. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | === Numbers behind the scene === |
− | |||
− | = | + | According to [http://www.bay12forums.com/smf/index.php?topic=112831.msg3536975#msg3536975 this post]: |
− | + | The minecart has a variable for speed. Speed is measured in tiles/100000 per tick, so a speed of one hundred thousand means one tile per tick. The maximum speed is 270,000. You can hit it exactly by going down enough ramps. | |
− | + | Every tick accumulate distance units, as well as slows down depending on current title (speed is reduced by "friction" of the tile). Once cart accumulates 100000 distance units, it moves to the next tile (or several tiles in case of great speed). | |
− | + | When cart is pushed, it will start in the middle of the next tile (so it takes only half of 100.000 to get past it), with the speed of 20000-10 = 19990. | |
− | + | Friction of tiles: | |
− | == | + | *Tracks: 10 |
+ | *Ground/Floor: 200 | ||
+ | *Unusable ramp: 10 | ||
+ | *Going up a ramp: 4910 = 10 + 4900 | ||
+ | *Going down a ramp: -4890 = 10 - 4900 | ||
+ | *Corner tracks are 10, but on leaving the corner tile, you get penalized another 1000 (in addition to the friction of the next tile). | ||
+ | *Track stop | ||
+ | **Highest: 50000 | ||
+ | **High: 10000 | ||
+ | **Medium: 500 | ||
+ | **Low: 50 | ||
+ | **Lowest: 10 | ||
+ | *Water: Additional (WaterLevel - 1) * 100 | ||
+ | *Magma: Additional (MagmaLevel - 1) * 500 | ||
+ | *Empty space is entirely frictionless. | ||
− | ' | + | === Impulse ramps === |
+ | Carts can be given momentum without rollers or changing z-level through a phenomenon called "impulse ramps". If a cart derails onto an upward ramp, the ramp accelerates the cart as though it was dropping a z-level, even if the cart doesn't actually change z-level at all. | ||
− | + | Example: | |
− | + | <pre> | |
+ | ═ : Normal track ╚ : N/E Track/Ramp | ||
+ | ▒▒▒▒▒▒▒▒▒▒ | ||
+ | ═╚╚╚╚╚╚╚╚╚╚═ | ||
+ | </pre> | ||
− | + | If a cart enters from the left, it will speed up on every track/ramp and exit to the right going very very fast. | |
− | + | The other crazy thing about impulse ramps is that they produce slightly more acceleration than it takes to move a cart up one ramp. So you can just make an upward spiral alternating impulse ramps and regular upward ramps. It takes no power, is quick and cheap to build, requiring only channeling and track carving, and the cart goes up fast, but not so fast that it launches its contents. | |
− | + | Here's one way (of many) to build one. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | {{diagram|spaces=yes|\ | |
+ | z +0 z +1 z +2 z +3 | ||
+ | ░░░░░ ░░░░░ ░░░░░ ░░░░░ | ||
+ | ░╔░░░ ░▼╚╗░ ░░▼▼░ ░░░░░ | ||
+ | ░╝░░░ ░▼░░░ ░░░╔░ ░░░▼░ | ||
+ | ░▼▼░░ ░░░░░ ░░░╝░ ░╚╗▼░ | ||
+ | ░░░░░ ░░░░░ ░░░░░ ░░░░░ | ||
− | + | ░{{=}}Wall | |
− | + | ╔,╚,╗,╝{{=}}Track/Ramp | |
− | + | ▼{{=}}Down Ramp (empty space) | |
− | + | }} | |
− | |||
− | + | === Danger === | |
+ | Minecarts are not without [[Fun|danger]]. Although designating a track automatically sets the [[traffic]] designation to low, dwarves ''may'' still walk on them, and [[creature]]s ignore traffic designations altogether. If an unlucky dwarf or creature fails to [[dodger|dodge]] a minecart, they can be injured. Most of this danger can be avoided by setting the minecart {{k|h}}auling commands to guide instead of push or ride, as dwarves guiding minecarts will ignore traffic restrictions, by [[pasture|pasturing]] domestic animals, and preventing the access of other creatures to the tracks. | ||
− | + | Danger does not always involve living victims: careless route designation can also result in minecarts careening off tracks or colliding with each other. If this occurs, the [[item]]s may be scattered; this can cause even more hauling jobs than the minecart aimed to eliminate. Even <s>better</s> worse, scattered items, especially [[weapon]]s, can injure passing [[dwarf|dwarves]] or other [[creature]]s; in the words of Toady One the Great, "Accidental grapeshotting of the dining room should be possible now." | |
− | |||
− | |||
− | + | Of course, the danger of using minecarts means they can also be [[Trap_design#Minecart_launcher|used as weapons]] by imaginative players. | |
− | |||
− | == | + | == Automation == |
− | + | Minecart-specific effects are implemented via track stops, rollers and [[pressure plate]]s with "track" condition set. Since all three are considered [[building]]s, they can't be built on the same square (however convenient track stop + pressure plate would be) nor a simple ramp, and are removed by {{k|q}} {{k|x}}. | |
− | + | === Track stop === | |
+ | Track stops are constructions that allow further automation of minecart systems via adjustable features such as braking by friction and automatic dumping of contents. They can be built from logs, bars and blocks through {{K|b}} {{K|C}} {{K|S}}; friction amount, dumping toggle and dumping direction must be set '''before''' construction, and these settings can be neither changed nor seen thereafter; however, track stops can be linked to [[pressure plate]]s or [[lever]]s to toggle friction and dumping On or Off (trigger state is inverted: switch On = track stop Off). Take care not to set track stops at a loading site to dump their contents, or dwarves will never be able to fill the cart. | ||
− | + | Track stops are not mandatory; in fact, their main use is in automated rail systems, to stop and hold extremely fast-moving minecarts or to dump contents mid-way without stopping. However, even in basic rail systems it can be useful to set a track stop to dump items: this saves time that dwarves would otherwise spend in removing items from the cart, time that is better spent driving the cart back to where it's needed. | |
− | + | If a [[stockpile]] is placed on the tile that a track stop is set to dump to, it can act as a [[Exploit#Quantum_stockpiles|quantum stockpile]] and any items dumped from a minecart that match the storage settings of the stockpile will remain there and accumulate. Normally trackstops are built on top of existing track to operate on moving minecarts, but they can also be used without tracks to create [[Exploit#The_Minecart_Stop|automatic quantum stockpiles]] (see also [[#Example|route example]]). It is not always desirable to collect ALL of certain items into one quantum stockpile, such as when distributing a material to multiple separate industries. You can link your quantum stockpile to various other stockpiles, ensuring that your dwarves will keep them supplied as necessary. Because quantum stockpiles never fill up like regular stockpiles, it may be a good idea to add a switch to turn them off. | |
− | + | Items dumped from a minecart at a track stop (or dumped by any other means) into open space fall through z-levels until they land on a solid surface. Items falling onto a designated [[stockpile]] will automatically be considered part of that stockpile, even if the stockpile is set to disallow those items (they will, however, be automatically moved to a more appropriate stockpile, if available). Items falling on top of a minecart will '''not''' fall "inside" the minecart. Use with caution; dwarves have fragile skulls.{{bug|5945}} | |
Counter-intuitive to their construction method, track stops are considered [[building]]s and must be removed by {{k|q}} {{k|x}}. | Counter-intuitive to their construction method, track stops are considered [[building]]s and must be removed by {{k|q}} {{k|x}}. | ||
− | |||
− | ===== | + | === Roller === |
− | + | {{Machine component|name=Roller|key=r | |
− | + | |construction= | |
+ | * 1 or more [[Mechanism]]s | ||
+ | * 1 [[Rope]] | ||
+ | |construction_job= | ||
+ | * [[Mechanic|Mechanics]] | ||
+ | |power=Uses 1 to 2 power per tile (depending on speed). | ||
+ | }} | ||
+ | |||
+ | A '''roller''' is a [[power]]ed [[machine component]] for the automated propulsion of minecarts. They are built with {{K|b}} {{K|M}} {{K|r}}, requiring a [[mechanic]], one or more [[mechanism]]s and a [[rope]]. Rollers are very useful to maintain a cart's momentum along long routes, to get them to climb Z-levels without dwarfpower involved, and to get them to reach speeds unattainable by guiding dwarves. These devices are variable-length, variable-direction, and variable-power, all traits that can be set at construction time; at the highest speed, a roller uses two units of power per tile it is long. | ||
+ | |||
+ | Rollers may be placed directly on ramps to help pull carts up Z levels. Currently rollers can only be placed on up or down ramps or open spaces if this results in being connected to existing powered components (gears, axles, or pumps). For that matter, rollers themselves transfer power along their sides but not from their front or back (the edges on the track) - the opposite of how horizontal [[axle]]s work. Care must be taken in [[glacier]]s and other extremely cold [[biome]]s, since rollers can be rendered inoperable when exposed to freezing [[temperature]]s. | ||
+ | The effects of floorless rollers on carts are not yet documented. | ||
+ | |||
+ | Because of their one-way nature, rollers are unsuitable for most two-way minecart tracks. However, a minecart set to be ''guided'' is not affected by rollers at all — this allows a one-way track to be used in both directions. In addition, rollers do not affect minecarts when disengaged: switching mechanisms (such as a [[pressure plate]] attached to powering [[gear assembly]]) can be used to create complex paths. | ||
+ | |||
+ | Rollers cannot be powered from above. | ||
+ | |||
+ | {{buildings}} | ||
+ | |||
+ | === Switching === | ||
+ | <!-- copying template ║ ═ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬ ╞ ╡ ╥ ╨ --> | ||
+ | |||
+ | A rudimentary track switch can be constructed by building a T-junction as illustrated below. | ||
+ | |||
+ | B╥ B╥ | ||
+ | ║ ║ | ||
+ | ║ -> ║ | ||
+ | ║ ║ | ||
+ | A╞════╚════╡C A╞════R════╡C | ||
+ | |||
+ | The 'R' is roller pushing from East to West. | ||
+ | If the cart is pushed East from the stop at 'A' while the roller is activated, it will arrive at 'B'. If the roller is not running, it will arrive at 'C'. | ||
+ | |||
+ | This switch has a disadvantage - it requires power. An alternative non-powered solution uses controlled derailment, or a connecting bridge. | ||
+ | |||
+ | B╥ | ||
+ | ║ | ||
+ | ║ | ||
+ | A╞════╝D ════╡C | ||
+ | |||
+ | Here the track between A and C is not continuous. The only continuous track is A->B, with a corner (not a T section). Fast moving carts will tend to derail at D and rejoin the track to C. Placing a door at D will prevent the derailment, so the cart continues to B. The door is operated by mechanisms elsewhere (typically, a lever, but some fun can be had with pressure plates). | ||
+ | |||
+ | If carts are moving too slowly to reliably derail at the corner, a retractable bridge may be used as a connector between A and C. | ||
+ | B╥ | ||
+ | ║ | ||
+ | ║ | ||
+ | A╞════bbb════╡C | ||
+ | The bridge must overlap the corner so that it acts as if a T junction track when extended. When retracted, the corner reappears, so the slower carts will continue to B. | ||
+ | |||
+ | === Controlling Speed === | ||
+ | <!-- copying template ║ ═ ╔ ╗ ╚ ╝ ╠ ╣ ╦ ╩ ╬ ╞ ╡ ╥ ╨ --> | ||
+ | |||
+ | Minecarts can reach extremely high speeds, especially when descending multiple Z-levels. A minecart will derail at a track corner if its speed exceeds 0.5 m/s (here m/s really means tiles per step), '''unless''' the route in the direction of travel is blocked: | ||
+ | |||
+ | Will derail at > 0.5 m/s: | ||
+ | |||
+ | in ═╗-> | ||
+ | out | ||
+ | |||
+ | Will not derail at > 0.5 m/s: | ||
+ | |||
+ | in ═╗O | ||
+ | | | ||
+ | v | ||
+ | out | ||
+ | |||
+ | O is wall. | ||
+ | |||
+ | This behavior can be used to build a "speed limiter", that will ensure that when a minecart exits it is traveling below derail speed: | ||
− | + | OOOO | |
− | + | in ═╔═╗O | |
− | + | out ═╬═╝O | |
− | + | O╚S╝O | |
− | + | OOOOO | |
− | |||
− | |||
− | + | O is wall, S is a Track Stop set to High Friction or lower. If the minecart is traveling below derailment speed it will not be affected. | |
− | == | + | == Example == |
Let's construct a simple minecart route. This route will move stone blocks from an input stockpile to an output stockpile. We'll begin by creating the stockpiles: | Let's construct a simple minecart route. This route will move stone blocks from an input stockpile to an output stockpile. We'll begin by creating the stockpiles: | ||
Line 190: | Line 295: | ||
|} | |} | ||
− | There are several user interface features to note at this point. The stops have been positioned, but they haven't been ''defined'' yet, so there is a warning | + | There are several user interface features to note at this point. The stops have been positioned, but they haven't been ''defined'' yet, so there is a warning ! symbol by each of them. In the lower right corner, we see what the ! means. Also, note that the second stop is labeled in white, while the other two lines are grey. The white text is a selection indicator, and can be moved up and down by pressing {{k|+}}/{{k|-}}. |
Next we need to define what our stops do. We want the minecart to be filled with blocks at the first stop, then travel to the second stop where it will dump its cargo, and then return. Press {{k|-}} to move the selection up to stop 1, and {{k|Enter}} to open it up. By default, the stop has three conditions: | Next we need to define what our stops do. We want the minecart to be filled with blocks at the first stop, then travel to the second stop where it will dump its cargo, and then return. Press {{k|-}} to move the selection up to stop 1, and {{k|Enter}} to open it up. By default, the stop has three conditions: | ||
Line 218: | Line 323: | ||
Once the minecart is in place, dwarves should fill it with blocks from the input stockpile, which will in turn be filled with blocks from the workshop where your mason has been toiling dutifully. When the minecart is full, the blocks will be dumped into the 1x1 stockpile on the right. Automatic quantum dumping! | Once the minecart is in place, dwarves should fill it with blocks from the input stockpile, which will in turn be filled with blocks from the workshop where your mason has been toiling dutifully. When the minecart is full, the blocks will be dumped into the 1x1 stockpile on the right. Automatic quantum dumping! | ||
− | + | == Troubleshooting == | |
Because of the complexity of the system, all but the most careful and experienced minecart users will encounter issues. Most route issues can be diagnosed and fixed from the {{k|h}}auling menu. | Because of the complexity of the system, all but the most careful and experienced minecart users will encounter issues. Most route issues can be diagnosed and fixed from the {{k|h}}auling menu. | ||
Line 242: | Line 347: | ||
'''Symptom:''' A dwarf picks up the minecart and carries it to its destination. | '''Symptom:''' A dwarf picks up the minecart and carries it to its destination. | ||
* See [[#Quirks|Quirks]] | * See [[#Quirks|Quirks]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Quirks == | == Quirks == | ||
− | This little quirk concerns dwarf | + | This little quirk concerns dwarf managed minecarts and may or may not apply to automatic minecarts. If a track which was previously open becomes blocked (ex. flipping a switch connected to a floodgate you've built on the track to raise it) and the conditions for departure are met, instead of refusing to ride/guide the minecart or ride/guide it until it reaches the obstacle, the dwarf will pick up the minecart off the tracks and haul it to its scheduled destination on foot. If the distance is long enough and the weight of the cart heavy enough (due to being filled with heavy items such as stones), the dwarf may drop the cart because of fatigue/hunger/thirst before reaching the destination. This will cancel that vehicle setting job and make another dwarf come by and attempt to haul the cart to the nearest appropriate stockpile where another dwarf will pick up the cart and attempt to haul it to its initial stop. If the stockpile is far enough from initial stop, this second dwarf who is attempting to place the minecart on its tracks may also drop the minecart out of fatigue/hunger/thirst creating a loop that will go on until a dwarf with enough endurance manages to place the minecart where it belongs. |
In fact, it seems dwarves are more than happy to attempt to carry a minecart from one stop to another even if just waiting until the track is open again would be the more sane option. | In fact, it seems dwarves are more than happy to attempt to carry a minecart from one stop to another even if just waiting until the track is open again would be the more sane option. | ||
Line 397: | Line 355: | ||
Dwarves will also carry a minecart to its next stop if the direction specified is incorrect (or invalid). This can often occur when using the default departure settings and forgetting to set the direction of each condition. | Dwarves will also carry a minecart to its next stop if the direction specified is incorrect (or invalid). This can often occur when using the default departure settings and forgetting to set the direction of each condition. | ||
− | + | == Capacity == | |
+ | Minecarts have five times the [[Weight|capacity]] of [[wheelbarrow]]s. A single minecart can carry 5 [[stone]]s, or 10 [[wood|log]]s, or 83 [[block]]s or [[bar]]s, 500 [[Kitchen|prepared meals]] or 2500 rolls of [[cloth]]. Calculating by the [[weight|item size]] (dividing the cart capacity by the item size), one cart also should be able of carry 500 [[Trap_component#Spiked_ball|spiked balls]], 625 maces or 1250 [[Weapon#Native_weapons|spears]]. | ||
− | + | A glumprong minecart filled with 5 pitchblende stones weighs 3848Γ (the cart alone weighs 48Γ).<br /> | |
− | < | + | A gold minecart weighs 772Γ, filled with gold bars it weighs 10398Γ.<br /> |
+ | A platinum minecart weighs 856Γ.<br /> | ||
− | + | [[Water]] and [[magma]] can also be loaded into minecarts by submerging them to a depth of at least 6/7, and dumped by a constructed track stop. Loading fluids onto minecarts can be difficult because their weight can slow the minecart down greatly. Curiously, filling a minecart with magma does not injure a dwarf ''riding'' it. A minecart will hold enough magma to increase the depth of a single tile by 2. This amount is listed as 833 units, which weigh 999Γ. An iron or steel cart filled with magma weighs 1313Γ. An adamantine one weighs 1007Γ. | |
− | + | The load of a minecart affects whether a [[pressure plate]] triggers or not, based on the pressure plate's setting. | |
− | + | Weight does not affect the initial velocity received from pushing or launching from a roller. | |
− | + | == Bugs == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *If you set up lots of routes and stops and then resize your screen, the list will scroll off-screen in the hauling menu. You can still navigate the list with keyboard commands, but cannot see the stop/route name. This will be fixed in the next release. | |
− | + | *A dwarf will drop its [[child|baby]], if it has one, when boarding a minecart set to be ridden. | |
− | + | *Tracks block wagon access to trade depots.{{bug|6040}} | |
− | + | ** How to circumvent: bridges double as tracks. | |
− | + | *Dwarves cannot guide a minecart through an unlocked door unless another dwarf opens the door{{bug|6056}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Category|Fortress mode}} | {{Category|Fortress mode}} |