Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Using water in a reaction.  (Read 1161 times)

Lycaeon

  • Bay Watcher
    • View Profile
Using water in a reaction.
« on: January 03, 2011, 04:15:56 pm »

Water is incredibly plentiful in the DF universe - with rivers and oceans and fortresses flooded by an accidental aquifer piercing - and it's clearly used in drinking and pumps by dwarves...but I can't figure out how to use it in a reaction.

Logic dictates that a bucket of water can be a useable reagent...but so far I haven't found a means to create a raw reaction which has dwarves collect water with a bucket from a pond or river.

A building which acts similar to a pump but only takes in water and doesn't release it may also work, but pump mechanics aren't present in the raws and can't be imitated. This is the same for water wheel type workshops as well.

And there's no [Needs_water] token that requires a workshop be built over a channel containing water like the [needs_magma] token...well, supposedly there is one, as wells must be built over water...this may require further testing.

Any help on this matter would be appreciated.
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

Zidane

  • Bay Watcher
  • Urist Mc Fracture has been struck down by Horse!!
    • View Profile
Re: Using water in a reaction.
« Reply #1 on: January 03, 2011, 04:17:59 pm »

Wells don't need to be built over water only open spaces.
Logged
Give cats natural metallic armor and throw them in your danger room.  Also allow their mouth and tail to grasp (shield in mouth, weapon in tail xD)  Have a cat based military.  You know, do the same with all tame animals xD send in the cats as shock troops to disrupt the archers

Lycaeon

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #2 on: January 03, 2011, 04:30:09 pm »

The reaction which gives water in a bucket from the well requires 3/7 water somewhere below the well as I recall. :-\
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

Davichococat

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #3 on: January 03, 2011, 04:38:17 pm »

And there's no [Needs_water] token that requires a workshop be built over a channel containing water like the [needs_magma] token...well, supposedly there is one, as wells must be built over water...this may require further testing.

I think these things are hardcoded. Its like figuring how a farmer workshop can use a animal to produce milk.
Logged

Aranador

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #4 on: January 03, 2011, 08:17:14 pm »

I imagine you could make a reaction that uses a bucket as the reagent, and returns the bucket full of water magically created out of thin air.  Actually - that might be useful for getting your plaster casts in your hospital working (although I prefer the 'dont use any plaster at all, use splints instead' fix)
Logged

dree12

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #5 on: January 03, 2011, 09:30:20 pm »

Erm, use the LIQUID_MISC item type? With the WATER material?
Logged

cartmann

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #6 on: January 03, 2011, 09:40:41 pm »

Code: [Select]
[REACTION:FILL_BUCKET_WITH_WATER]
    [NAME:fill bucket with water]
    [REAGENT:A:1:BUCKET:NONE:NONE:NONE][EMPTY][PRESERVE_REAGENT]
    [PRODUCT:100:10:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_TO_CONTAINER:A]
    [SKILL:CONCENTRATION]
    [ADVENTURE_MODE_ENABLED]

This works, it's a bit weird but it gives you 10 peices of water nevertheless.

Brandstone

  • Bay Watcher
  • Come hug me bro
    • View Profile
Re: Using water in a reaction.
« Reply #7 on: January 03, 2011, 11:22:31 pm »

Code: [Select]
[REACTION:FILL_BUCKET_WITH_WATER]
    [NAME:fill bucket with water]
    [REAGENT:A:1:BUCKET:NONE:NONE:NONE][EMPTY][PRESERVE_REAGENT]
    [PRODUCT:100:10:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_TO_CONTAINER:A]
    [SKILL:CONCENTRATION]
    [ADVENTURE_MODE_ENABLED]

This works, it's a bit weird but it gives you 10 peices of water nevertheless.
This looks interesting for an ice to water workshop. Posting here so I remember it tomorrow.

Lycaeon

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #8 on: January 04, 2011, 04:14:38 am »

I have figured out an intermediate solution to my problem.

I made an artificial tree that grows only in wet subterranean, river, and ocean biomes and takes 100 years to grow to full maturity. Its logs can be processed by a custom reaction to create deuterium canisters, as I imagined the tree itself to spend its lifetime transforming water into heavy water. Now I have the necessary fuel for my nuclear fusion reactions. :D
« Last Edit: January 04, 2011, 04:19:28 am by Lycaeon »
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

dree12

  • Bay Watcher
    • View Profile
Re: Using water in a reaction.
« Reply #9 on: January 06, 2011, 08:36:03 pm »

Problem: Sapling growth time cannot be modified.
Logged