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 Talk:Minecart logic

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 20: Line 20:
 
:Never mind, it has [INVERTED_TILE]. Just change the colors and it should work. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 13:04, 20 February 2014 (UTC)
 
:Never mind, it has [INVERTED_TILE]. Just change the colors and it should work. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 13:04, 20 February 2014 (UTC)
 
::Thank you very much!
 
::Thank you very much!
 
:::I should have mentioned how to do background colors - currently they work like this: <code>[fg][bg]x</code>
 
:::So a minecart would be <code>[#000][#ccc]{{#char:254}}</code>, which produces:
 
{{diagram|spaces=yes|minecart: [#000][#ccc]{{#char:254}} (extra padding)}}
 
:::(Minecarts don't display very well with the diagram font, unfortunately.)
 
:::I also made a new parser function: {{<nowiki/>#char}}. It converts a number into the corresponding character, so <nowiki>{{#char:254}}</nowiki> produces {{#char:254}}. Hopefully it's easier than copying things from the character table individually. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 19:49, 21 February 2014 (UTC)
 
::Will get it nicer over next few days.  Iterative process :)[[User:Vasiln|Vasiln]] ([[User talk:Vasiln|talk]]) 01:45, 22 February 2014 (UTC)
 
 
== Examples ==
 
 
I agree that the examples were a bit lengthy, but maybe we could move them to a subpage (e.g. [[DF2012:Minecart logic/Examples]]) instead of removing them entirely. I think some people would still prefer to have examples available somewhere, even if they're not on this page. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:47, 22 February 2014 (UTC)
 
:The examples I got rid of were all on bloodbeard's thread, which is still linked at the bottom of the page.  Other logic pages handle the potential for variation similarly: linking to threads and user pages.  Of course, that doesn't mean it's ideal.  I believe that when this page is fleshed out a bit more (which I will do over the next week) it won't seem as severe.  Summary: that might be a good idea, but I think we should wait a bit before deciding?[[User:Vasiln|Vasiln]] ([[User talk:Vasiln|talk]]) 01:45, 22 February 2014 (UTC)
 
 
::That's fine with me (I must have missed the links at the bottom). I did think this page needed reworking, so go right ahead. :) &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 02:56, 22 February 2014 (UTC)
 
 
:::Coming along nicely. I think the examples give a good impression of the basic doctrines of minecart logic. I'd suggest a better design for the powered Path-Switch example:
 
 
:::===Roller-switched NOR===
 
{{diagram|spaces=yes|\
 
  ║      ║
 
  ╔╗    [#0F0]P[#0F0]╧╗
 
  ║║      ║║
 
  ╔╗    [#0F0]P[#0FF]╧╗
 
  ║║      [#F0F]^║
 
  ╚╗      ╚╗
 
track  furniture}}
 
 
:::Using your basic design, but without causing derailing/rerailing (diagonal movement forced by perpendicular rollers) and thus cutting out the need for restricting walls to the east. Rollers working against the cart's movement direction instantly revert it, and corners, even on the same tile as the roller, redirect the cart without issue.
 
 
:::When the rollers are off, the cart will still pass in a straight line without any complications. This switch design is somewhat unintuitive, since it uses a roller direction apparently opposed to any desired output directions, but it's the most compact and well-behaved switch design.--[[User:Larix|Larix]] ([[User talk:Larix|talk]]) 05:16, 25 February 2014 (UTC)
 
Thanks, I've put it in.  It looks like an AND to me, although it is a bit of a puzzle, thanks to easily conflated power/signal and the weird behavior of rollers (deactivate-on-open).  I'm not perfectly confident, so if I'm mistaken, feel free to correct the page.  And as a further comment, there are still a few principles that may need demonstration.  I am unsure if any more belong.  Increasingly, I say to myself, "You could do that, but why?" about further techniques. [[User:Vasiln|Vasiln]] ([[User talk:Vasiln|talk]]) 22:27, 25 February 2014 (UTC)
 
 
: I tend to prefer articles that stay reasonably compact. Very long articles can become difficult to navigate (cf. the Minecart article, which has grown so large it could really use splitting up). This article is probably nowhere near this point yet, but i'd be careful about further expansion. As it stands, the article shows the main realistically applicable doctrines of minecart usage in logic and gives good explanations of how they work. There are other techniques, but those that i know of are for now solidly in the realm of stupid dwarf tricks.
 
 
: And you're absolutely right: by default, when using un-toggled gears to run the rollers, this works as an AND gate. Terminology in DF logic is always difficult to keep transparent, particularly mechanical logic is prone to confusion with its toggle rules, and powered minecarts inherit some of that.--[[User:Larix|Larix]] ([[User talk:Larix|talk]]) 16:28, 26 February 2014 (UTC)
 
 
 
== General Comments ==
 
Hi all. Wow, this page has come along brilliantly! I'm wondering why the ramp-based PSC got canned from the page? [http://www.bay12forums.com/smf/index.php?topic=114923.msg3604219#msg3604219 here's the link] - it's simpler and cheaper to build than the ones on the page and just as effective. Maybe I'm missing something? :D [[User:TinyPirate|TinyPirate]] ([[User talk:TinyPirate|talk]]) 08:17, 25 March 2014 (UTC)
 
 
Hello.
 
I can't speak for VasilN, but the purpose of the re-work was to show the variety of minecart logic, through exemplary, not necessarily the best circuits. So i guess while your PSC is small, cheap and easy to build, he didn't find it particularly "typical" of its discipline. The first shown design is probably the most "typical" example of a cart-and-roller PSC and also demonstrates the versatility of combining mechanical logic with minecarts, since it can be reconfigured not only into a repeater (can be done with all PSCs) but also into an edge detector.
 
 
Bloodbeard's Minecart Logic thread is linked from the bottom of the page, as first "further reading" suggestion.
 
--[[User:Larix|Larix]] ([[User talk:Larix|talk]]) 11:21, 25 March 2014 (UTC)
 
 
:No worries, makes sense! [[User:TinyPirate|TinyPirate]] ([[User talk:TinyPirate|talk]]) 07:30, 29 March 2014 (UTC)
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)