Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4

Author Topic: How to food chute?  (Read 13029 times)

Clotifoth

  • Bay Watcher
    • View Profile
How to food chute?
« on: March 12, 2012, 08:33:32 pm »

I always wanted to have it so that there were two cities of dwarves, a productive and noble city, and that the productive ones would drop food to the nobles.

How do I do that? :|
Logged
"What's the deep dark pit, that turns mining operations to shit?"  "The shaft!"  "You see this shaft is a bad mother--"
"Shut your mouth!"
"But I'm talkin' about the shaft!"
"Then we can dig it."

CursedBurger

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #1 on: March 12, 2012, 08:36:46 pm »

The easiest way I've found is to designate a food stockpile next to a garbage dump (from the zones menu), then mark the food for dumping - dwarves will throw things in the nearest garbage dump, which can thereby be used for a food chute. Reclaim the food once it's fallen down.

But that's probably one of many solutions.
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: How to food chute?
« Reply #2 on: March 12, 2012, 08:37:00 pm »

Dumping works, if you're willing to unforbid at the bottom of the chute.  There is, unfortunately, no easy way to automate it.  In fact there's few difficult ways.  All attempts for automated chutes have been met with intense complications.

Nil Eyeglazed

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #3 on: March 12, 2012, 08:44:43 pm »

a) "Put it in the hole, Stewart."  Garbage zone and dump.

b) Airlock.  Can be automated, but to my knowledge never has.  Food's especially difficult, because it comes in variably sized stacks and ends up rotting when hauling tasks get interrupted.

c) City of the Damned.  Neither vampires nor werebeasts ever starve to death.
Logged
He he he.  Yeah, it almost looks done...  alas...  those who are in your teens, hold on until your twenties...  those in your twenties, your thirties...  others, cling to life as you are able...<P>It should be pretty fun though.

DuckBoy2

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #4 on: March 12, 2012, 11:08:03 pm »

A question I myself have often pondered.  Time now for SCIENCE. 

It begins.
Logged

Cellmonk

  • Bay Watcher
  • You might find it, whatever it is.
    • View Profile
Re: How to food chute?
« Reply #5 on: March 12, 2012, 11:13:47 pm »

b) Airlock.  Can be automated, but to my knowledge never has.

You know what, I'm gonna change that. A one way, buffered, and automated system. I'll try to figure out how to post video, but pictures might apply better.  ;)
Logged

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: How to food chute?
« Reply #6 on: March 12, 2012, 11:28:03 pm »

Water may be used to "flush" stockpile contents to another area without having them forbidden.  The advent of the "vampire monthly clock" may be applicable for frequent flushing.

tommy521

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #7 on: March 12, 2012, 11:34:02 pm »

Water may be used to "flush" stockpile contents to another area without having them forbidden.  The advent of the "vampire monthly clock" may be applicable for frequent flushing.

Hmm, you might be onto something here...

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: How to food chute?
« Reply #8 on: March 12, 2012, 11:36:41 pm »

There is a bug where items pushed by water will "vanish".  You can reduce losses by making it a no-barrel stockpile.  Any food lost would simply be lost.

Nil Eyeglazed

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #9 on: March 13, 2012, 12:31:25 am »

b) Airlock.  Can be automated, but to my knowledge never has.

You know what, I'm gonna change that. A one way, buffered, and automated system. I'll try to figure out how to post video, but pictures might apply better.  ;)


It's a good idea.  I think there are multiple ways to approach the problem.  I bet a single vampire omelette chef could keep a fortress of 200 fed, regardless of how you burrowed those 200.

I had a desert fortress once where I captured so many wild camels that I just put them in a big pen with a system to isolate individuals over a drop hatch that fell 10 levels to a butcher shop.  Wasn't entirely automated-- hard to isolate something wild on a drop hatch automatically-- but something like that would work well for feeding physically isolated burrows as well.    (EDIT: Just close a bridge at the level you want the meat to show up at!)  The camels bred plenty fast enough to feed the whole fortress.
« Last Edit: March 13, 2012, 12:49:05 am by Nil Eyeglazed »
Logged
He he he.  Yeah, it almost looks done...  alas...  those who are in your teens, hold on until your twenties...  those in your twenties, your thirties...  others, cling to life as you are able...<P>It should be pretty fun though.

khearn

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #10 on: March 13, 2012, 01:08:46 am »

"vampire monthly clock"

That sounds disturbingly, um, gynecological.
Logged
Have them killed. Nothing solves a problem quite as effectively as simply having it killed.

TinyPirate

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #11 on: March 13, 2012, 01:26:57 am »

I wish we could stockpile over bridges and open spaces. Toadyyyy!
Logged

Sadrice

  • Bay Watcher
  • Yertle et al
    • View Profile
Re: How to food chute?
« Reply #12 on: March 13, 2012, 01:50:37 am »

I think I have a working airlock design, and built it, but I mislinked two doors on the set/reset latch (I used this one, but just about any design would do) and should really be working on my O Chem lab report rather than trying to fix it without flooding everything (again).
Code: [Select]
#################
==#########^###==
==   h^d=d^h   ==
==###^#########==
#################
h - hatch
d - door
= - stockpile
Middle stockpile takes from lefthand one, righthand one takes from middle.
The initial state has stuff on the left stockpile, and no stuff in the middle, and
at least one empty square on the right, lefthand door is open, righthand is shut.

There is an S/R latch that sets from the lower left plate, and resets from the upper
right. It controls the two doors, with the left being open and the right shut while set.

The innermost pressure plates are linked to the hatches next to them, thus when a
dwarf from the lefthand side carries some food to the middle, and on the way back
out steps on the pressure plate, opening the hatch (its actually still open from when
he stepped on it), causing him to step on the offset pressure plate, which toggles
the S/R latch, shutting the door behind him and opening the other door.  Then a
dwarf from the right side takes the food from the center stockpile and carries it to
the right, doing the same thing as on the other side, stepping left around the open
hatch to toggle the latch again. 

I haven't actually tested it (screwed up my latch), but I can't think of any reason why it wouldn't work.  Food (or whatever) should (somewhat slowly) move from the lefthand stockpile to the righthand one until the righthand one is full or the lefthand one is empty.  There will be a slight hit on fps when the dwarf repaths around the plate, but there shouldn't be any job cancellation spam, and it ought to be fully automated, with no need to restart it if it halts, or unforbid anything.
« Last Edit: March 13, 2012, 02:24:41 am by Sadrice »
Logged

Aoi

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #13 on: March 13, 2012, 02:14:27 am »

"vampire monthly clock"
That sounds disturbingly, um, gynecological.
Vampires DO drink blood, after all.
Logged
Stench Guzman: Fix this quote, please.
Now celebrating: Two and a half years misquoted. Seriously man. Just fix it. -_-

Nil Eyeglazed

  • Bay Watcher
    • View Profile
Re: How to food chute?
« Reply #14 on: March 13, 2012, 02:24:02 am »

I think that's a good start, and would generally work, but eventually you'd run into problems.

1) There is a period of time when both of your doors are open at the same time, because open signals propagate faster than close signals.  This is 100 ticks, plenty of time for a dwarf to get across if it feels like it.

2) Not being familiar with that latch design, I'm concerned about its speed of operation, and vulnerability to being retriggered or toggled too soon.  I would use something like this one-- it's pretty much instantaneous, doesn't rely on flow (although it needs power), and is set up for the right kind of signals you're sending it.  But thanks for the link to that latch, I'll play with it a bit.

3) Food attracts vermin, vermin attract cats, cats kill vermin and leave it in doorways of logical circuits.

I would probably do something similar, but it worries me the way you have the entrance set up-- I can imagine things going wrong with that set up, and the dwarf triggering the latch before he brings the food, getting caught in the middle and transferred between burrows.  You can fairly easily make it one way:

Code: [Select]

 #######
 #^h^###
  ###d=d
 # h^###
 #######

which is probably how I'd first approach it.  To prevent dawdlers coming along for the ride, I'd probably latch up the entrance hatch as well.

Actually, let me revise that a little bit.  To prevent the problem with the doors being open at the same time, I'd make it more like:

Code: [Select]

 #########
 #^h^#####
  ###dh=dh
 # h^#####
 #########

When the door on one side is open, the hatch is closed.  This gets rid of problems due to the difference in open/close signals-- even if it takes 100 ticks for the close signal to reach the door, it's not a problem, because an instantaneous open signal has reached the adjacent hatch.  Actually, because delay isn't an issue, I might use raising bridges/retracting bridges in pairs instead, as that way, vermin wouldn't break the system (unless they landed on the stockpile square).

EDIT: duh, two bridges wouldn't work, what was I thinking.  Well, they'd work if you used retracting bridge over ramp to block access, but that's unnecessarily complicated.  Raising bridge and retracting floor grate would make good pairs instead.
« Last Edit: March 13, 2012, 06:20:35 pm by Nil Eyeglazed »
Logged
He he he.  Yeah, it almost looks done...  alas...  those who are in your teens, hold on until your twenties...  those in your twenties, your thirties...  others, cling to life as you are able...<P>It should be pretty fun though.
Pages: [1] 2 3 4