Bay 12 Games Forum

Please login or register.

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

Author Topic: Reaction to dump out buckets of water  (Read 3471 times)

Veylon

  • Bay Watcher
    • View Profile
Reaction to dump out buckets of water
« on: January 23, 2012, 01:07:58 am »

I've discovered a reaction that deals with the annoying "buckets of water laying around" bug without the hassle of manually dumping or hauling to the depot. It goes thusly:
Code: [Select]
[REACTION:DUMP_BUCKET_OF_WATER]
  [NAME:dump bucket of water]
  [BUILDING:CRAFTSMAN:NONE]
  [REAGENT:water:150:LIQUID_MISC:NONE:WATER]
  [REAGENT:bucket:1:NONE:NONE:NONE:NONE]
[CONTAINS:water]
[PRESERVE_REAGENT]
It works with both regular and stagnant flavors. I'm not sure if I'm the first to come up with this or if my searching prowess is low. I've also tried adding the [AUTOMATIC] tag to make it even more convenient, but it doesn't seem to work for some reason.
Logged
At what point did the suggestion of child sacrifice become the more ethical option?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #1 on: January 23, 2012, 01:38:20 am »

It... has no product...

Fascinating, wonderful, I can tell it works anyway.

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #2 on: January 23, 2012, 02:31:35 am »

It... has no product...

Fascinating, wonderful, I can tell it works anyway.

Yeah, it does work, due to PRESERVE_REAGENT on the bucket reagent.

This is fantastic, since it's a bugfix for that water stuck in buckets bug. I applaud you, author of this reaction.
Logged
Thank you for all the fish. It was a good run.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction to dump out buckets of water
« Reply #3 on: January 23, 2012, 06:42:43 am »

Nice it comes pretty close to what I did for REGEN

Code: [Select]
[REACTION:EMPTY_WATER]
[NAME:empty water container]
[BUILDING:WATER_REGEN:CUSTOM_E]
[REAGENT:water:1:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150]
[REAGENT:B:1:NONE:NONE:NONE:NONE]
[CONTAINS:water]
[NOT_IMPROVED]
[PRESERVE_REAGENT]
I also have one to fill with water, Just in case your doctors need a bucet of water for cast making.

Which makes me want to remove [NO_IMPROVED] from my reaction
« Last Edit: January 23, 2012, 06:46:26 am by Hugo_The_Dwarf »
Logged

Abregado

  • Bay Watcher
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #4 on: January 23, 2012, 09:35:11 am »

I've also tried adding the [AUTOMATIC] tag to make it even more convenient, but it doesn't seem to work for some reason.

Some of the stock workshops dont allow automatic reactions. The Still certainly doesn't work. Maybe best to make a 1-2 tile workshop with this as its only reaction. Place it near the hospital and VIOLA! buckets will be emptied and stored where they are needed.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction to dump out buckets of water
« Reply #5 on: January 23, 2012, 09:53:16 am »

I've also tried adding the [AUTOMATIC] tag to make it even more convenient, but it doesn't seem to work for some reason.

Some of the stock workshops dont allow automatic reactions. The Still certainly doesn't work. Maybe best to make a 1-2 tile workshop with this as its only reaction. Place it near the hospital and VIOLA! buckets will be emptied and stored where they are needed.

Now I want to shrink the size of my Screw Pump well 3x3 -> 2x2
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Reaction to dump out buckets of water
« Reply #6 on: January 23, 2012, 10:52:28 am »

One could make a "Medial supply desk"

Workshop, 1x2. Upper tile is a cabinet, lower tile is the workspace.

Reactions:
Empty bucket. (as a fix for unuseable buckets full of it)
Make plaster (new, direct reaction, since the real one is kind of broken)
Make splints (5) (i think it is weird to make ONE little splint out of an entire tree)

Would be nice to allow storage of food and water as well, so you have it in the hospital without people stealing it all the time. Same goes for soap, I remember some problems with soap storage as well.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #7 on: January 23, 2012, 10:58:55 am »

I would prefer calling the workshop a sink, but having a water-refilling reaction that doesn't use anything is kinda cheating.
Logged
Thank you for all the fish. It was a good run.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Reaction to dump out buckets of water
« Reply #8 on: January 23, 2012, 11:03:19 am »

I have an idea.

Make the reaction use ice to fill the bucket full of water. Usually people have a problem in winter, when everything is frozen over, and no one can make fire to melt it.

Just dig a ice boulder, carry it to this workshop, and use it as a reagent together with a bucket to create water. :)

That about right ?

[REACTION:FILL_BUCKET_WATER]
   [NAME:fill bucket]
   [BUILDING:WATER_PUMP:CUSTOM_F]
        [REAGENT:ice:1:BOULDER:NONE:NONE:WATER]
   [REAGENT:A:1:BUCKET:NONE:NONE:NONE]
      [EMPTY]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
        [DOES_NOT_ABSORB]
   [PRODUCT:60:10:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150][PRODUCT_TO_CONTAINER:A]
   [SKILL:all medical skills]

Unsure about this line:[REAGENT:ice:1:BOULDER:NONE:NONE:WATER]
« Last Edit: January 23, 2012, 11:32:51 am by Meph »
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #9 on: January 23, 2012, 11:29:08 am »

That could work, but I forgot which tag to use to allow reactions to use ice.

But to make the above worthwhile, there should be more uses to water, and all I can think of is making solid concrete and plastics.
Logged
Thank you for all the fish. It was a good run.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #10 on: January 23, 2012, 12:20:23 pm »

I'm fairly certain that ice is defined exactly the same as "water" with the only exception being that it uses the stone (INORGANIC, etc.) setup instead of the liquid one.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Reaction to dump out buckets of water
« Reply #11 on: January 23, 2012, 12:25:46 pm »

Current apothecarius:

reaction_apothecarius

[OBJECT:REACTION]

[REACTION:EMPTY_WATER]
   [NAME:empty water bucket]
   [BUILDING:APOTHECARIUS:CUSTOM_E]
   [REAGENT:water:1:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150]
   [REAGENT:B:1:NONE:NONE:NONE:NONE]
      [CONTAINS:water]
      [NOT_IMPROVED]
      [PRESERVE_REAGENT]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]


[REACTION:FILL_BUCKET_ICE]
   [NAME:fill bucket with ice]
   [BUILDING:APOTHECARIUS:CUSTOM_F]
   [REAGENT:water:1:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150]
   [REAGENT:A:1:BUCKET:NONE:NONE:NONE]
      [EMPTY]
      [NOT_IMPROVED]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
        [DOES_NOT_ABSORB]
   [PRODUCT:60:10:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150][PRODUCT_TO_CONTAINER:A]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]

[REACTION:MAKE_SOAP_FROM_TALLOW]
   [NAME:make soap]
   [BUILDING:APOTHECARIUS:CUSTOM_S]
   [REAGENT:lye:150:LIQUID_MISC:NONE:LYE]
   [REAGENT:lye container:1:NONE:NONE:NONE:NONE]
      [CONTAINS:lye]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
   [REAGENT:tallow:1:GLOB:NONE:NONE:NONE][REACTION_CLASS:TALLOW][UNROTTEN]
      [HAS_MATERIAL_REACTION_PRODUCT:SOAP_MAT]
   [PRODUCT:100:1:BAR:NONE:GET_MATERIAL_FROM_REAGENT:tallow:SOAP_MAT]
      [PRODUCT_DIMENSION:150]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]

[REACTION:SPLINTS]
   [NAME:make wooden splints (5)]
   [BUILDING:APOTHECARIUS:CUSTOM_S]
   [REAGENT:A:1:WOOD:NONE:NONE:NONE]
   [PRODUCT:100:5:SPLINT:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:NONE]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]


Current reagent for ice:    [REAGENT:water:1:LIQUID_MISC:NONE:WATER:NONE][PRODUCT_DIMENSION:150]
So the correct form for ice would be:    [REAGENT:water:1:INORGANIC:NO_SUBTYPE:WATER:NONE][PRODUCT_DIMENSION:150] ?
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Reaction to dump out buckets of water
« Reply #12 on: January 23, 2012, 12:32:26 pm »

That's an amazing workshop :).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Reaction to dump out buckets of water
« Reply #13 on: January 23, 2012, 01:05:23 pm »

Well, the idea was to use medical skills for the reactions, and bundle everything that is used in a hospital into this. So your doctors have something to do in peacetimes.

The Ice to Bucket thing is untested however.

I think I will add a plaster reaction as well, a simpler one, since not many people (?) do use the plaster powder ?

I will add Make wooden crutches (2) as well. Using one log for 2 crutches.

Anyhone has an idea how to do a soap/food storage ? I hate it when people steal it out of the hospital.

EDIT: Here you go:

[REACTION:CRUTCHES]
   [NAME:make wooden crutches (2)]
   [BUILDING:APOTHECARIUS:CUSTOM_C]
   [REAGENT:A:1:WOOD:NONE:NONE:NONE]
   [PRODUCT:100:5:CRUTCH:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:NONE]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]


[REACTION:CASTS]
   [NAME:make orthopedic cast]
   [BUILDING:APOTHECARIUS:CUSTOM_O]
   [REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:GYPSUM]
   [PRODUCT:100:5:ORTHOPEDIC_CAST:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:NONE]
   [SKILL:DRESS_WOUNDS]
   [SKILL:SURGERY]
   [SKILL:SUTURE]
   [SKILL:DIAGNOSE]
   [SKILL:SET_BONE]
« Last Edit: January 23, 2012, 01:08:51 pm by Meph »
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Reaction to dump out buckets of water
« Reply #14 on: January 23, 2012, 01:11:34 pm »

If you don't have any buckets with water in them, and queue up this reaction to be done, will your dwarves actually go and fill buckets with water just to empty them?
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.
Pages: [1] 2