Bay 12 Games Forum

Please login or register.

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

Author Topic: haven't posted in a long time. A booze well?  (Read 3251 times)

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #15 on: December 17, 2013, 05:49:29 pm »

Doing that with dwarf blood, and not with some fanciful creature like I had originally envisioned would have some possibly mixed consequences.

1) it would likely not play with dwarven ethics well.
2) it would make vampires harder to spot, since they would get sauced after drinking Urist McBratChild.
2a) since vampires would get sauced, their work productivity wouldn't suffer.....

I did some initial poking in the arena with a bronze barrel based fanciful creature (a mix-and-match between a fleshball base and a bronze collosus) but so far I haven't been terribly successful at getting alcoholic blood spatters, or in getting the body to become an empty bronze barrel with the item_corpse token. At least my ham-fisted creature didn't crash the game, or spawn an endless list of errors in the log....

I may have to inquire in the modding forum.

Logged

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: haven't posted in a long time. A booze well?
« Reply #16 on: December 17, 2013, 08:22:28 pm »

I asked in the modding forum last night but didn't really get very far into it.
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?

BoredVirulence

  • Bay Watcher
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #17 on: December 18, 2013, 12:57:45 pm »

Weird, can you show me the raws for the latest iteration of your bumbling, living, bronze barrels of booze?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: haven't posted in a long time. A booze well?
« Reply #18 on: December 18, 2013, 01:13:04 pm »

(Or, blood that has the alcohol token)
There is no "alcohol token" in the raws.

The only criteria that controls whether or not a drink counts as alcohol is the item type - a DRINK item counts as alcohol (even if it's made of water), while a LIQUID_MISC item does not count as alcohol.

The key is that "Brew Drink" jobs always create DRINK items made of "booze" materials, while getting water from a well produces LIQUID_MISC items made of water - if you create a custom reaction which fills a barrel with DRINK items made of water, your dwarves should drink them and satisfy their alcohol dependency (though the barrels probably won't get stockpiled).
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #19 on: December 18, 2013, 03:15:13 pm »

I noted that-

I have been attempting to make a creature that has a DRINK instead of a LIQUID as its blood, under the BLOOD:MATERIAL:NAME:TYPE block. The game seems OK with this, as far as the error log is concerned, but the creatures never produce any blood spatter, even when horribly hacked on with platinum lightsabers.

I used the PLANT_ALCOHOL_TEMPLATE instead of the blood template for said drink as well. I dont think anyone has actually tried to make an alcoholic hematic system before...
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: haven't posted in a long time. A booze well?
« Reply #20 on: December 18, 2013, 04:15:51 pm »

I have been attempting to make a creature that has a DRINK instead of a LIQUID as its blood, under the BLOOD:MATERIAL:NAME:TYPE block. The game seems OK with this, as far as the error log is concerned, but the creatures never produce any blood spatter, even when horribly hacked on with platinum lightsabers.
That's because the LIQUID there is a material state, not an item type (i.e. the values it expects are SOLID, LIQUID, GAS, POWDER, PASTE, or PRESSED), and the game was most definitely not OK with it - the fact that it didn't log an error just means that Toady forgot to make it report an error in that case.

Barrels of non-alcoholic liquids brought by traders are hardcoded to be made LIQUID_MISC items - if you wanted blood barrels to be usable as alcohol, you would have to edit each entity's available resources in memory (using DFHack) to move the blood material from the "extracts" list to the "drinks" list, at which point the game would create them as booze. Using PLANT_ALCOHOL_TEMPLATE just makes it work for stockpiling.
« Last Edit: December 18, 2013, 04:17:51 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #21 on: December 18, 2013, 04:21:29 pm »

That's good to know. There isn't a whole lot of riggorous documentation on that.

Another possible way to get alcoholic drink onto a dwarf might be to give the beer barrel mimic a material emission attack, and have it spray the beer in a jet.

Note: there seems to be a miscommunication. I am not looking to get alcoholic blood in barrels. I am looking to get a blood spatter that can contaminate a well that also services as a drink item, that can sate alcohol dependency. It needs to act like blood in how it contaminates clothing and surfaces, and needs to act like a drink item for dealing with sobriety.

« Last Edit: December 18, 2013, 04:27:24 pm by wierd »
Logged

superbob

  • Bay Watcher
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #22 on: December 18, 2013, 04:59:14 pm »

How about applying the trick used with Gnomeblight to empty barrels? Do liquids dumped this way fill tiles with liquid levels like water/magma? If so, maybe emptying a few barrels at once could provide a high enough level for a well to work, assuming wells will work with anything other than water.

I wonder if it would be possible to fill a minecart with booze this way, loading it with booze barrels, forbidding the booze and dumping/trading the barrels.
« Last Edit: December 18, 2013, 05:00:55 pm by superbob »
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: haven't posted in a long time. A booze well?
« Reply #23 on: December 18, 2013, 05:20:16 pm »

I am not looking to get alcoholic blood in barrels. I am looking to get a blood spatter that can contaminate a well that also services as a drink item, that can sate alcohol dependency.
You could possibly create a booze spatter in a well which would contaminate the water, but a "water" item contaminated with alcohol will NEVER sate alcohol dependency because, no matter what the water is contaminated with, it is still a miscellaneous liquid item, and only drink items count as "alcohol" (regardless of what they're made of).

As I already explained here in the other thread in the Modding forum, the only way you could possibly get it to work would be to write a DFHack plugin which overrides the behavior of wells to make them transform booze-contaminated LIQUID_MISC items into actual DRINK items, but that still might fail if the game explicitly looks for LIQUID_MISC items in the well bucket (i.e. it might decide that a well bucket filled with booze is "empty" and needs to be lowered and refilled).
« Last Edit: December 18, 2013, 05:23:45 pm by Quietust »
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: haven't posted in a long time. A booze well?
« Reply #24 on: December 18, 2013, 05:40:35 pm »

That's unfortunate.

As as a curiosity, do you think saturating a dwarf from head to toe in the booze using a material emission would work? IIRC, the "alcohol rain" in masterwork is able to cure sobriety.

It might be possible to install the mimic creatures in squeeze chutes, and have them spray alcohol all over when they see dwarves, and use those instead of alcohol wells.
Logged

slaytanic

  • Bay Watcher
    • View Profile
    • my DFFD pack
Re: haven't posted in a long time. A booze well?
« Reply #25 on: December 18, 2013, 05:41:23 pm »

Seems like a huge pain in the ass Quietust. Just as I thought.
Logged
So let me get this straight....We are talking monkeys living on a dirt ball that circles a fireball ? WTF ?
Pages: 1 [2]