Bay 12 Games Forum

Please login or register.

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

Author Topic: Butchering inorganic body parts (again)?  (Read 1148 times)

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Butchering inorganic body parts (again)?
« on: February 22, 2011, 06:02:42 pm »

So for the .19/.20 release of my mod, during the downtime I'm modding in hell creatures. Some of these hell creatures have special materials making up parts of their bodies (e.g. a balrog's body is made of balrog iron under the flaming skin, which is basically a little weaker than steel but has a melting point if 17000U) and I want to make killing them worth the time and effort it takes (e.g. balrogs have [HOMEOTHERM:15000]), so I want a reaction that can take a body part made from inorganic material and turn it into usable units of that same material (e.g. balrog iron from a slain balrog ==> 25 balrog iron bars). Would this just require [REAGENT:A:1:NONE:NONE:NONE:(creature material)][USE_BODY_COMPONENT]?
Logged
くコ:彡

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #1 on: February 22, 2011, 08:03:54 pm »

This should be fairly simple actualy. Use an inorganic for the body metarial, and just (M)elt the butchered balrog bits.

If they turn out to be unmeltable you can try adding [BUTCHER_SPECIAL:BAR:NONE]. That might yield some weird items like 'balrog iron bars (143)'.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

D_E

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #2 on: February 22, 2011, 08:33:13 pm »

You may not be able to get your dwarves to use the bars.  The zelda mod tried this with helmasaur steel, and had that problem. 

If you run into it, you can work around it with a reaction at the smelter or similar that takes a BAR:NONE:CREATURE_MAT:BALOR_STEEL and produces a BAR:NONE:INORGANIC:REFINED_BALOR_STEEL, or similar (ie, create a second, normal metal and a reaction to convert the creature-harvested metal to the normal metal).
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

Girlinhat

  • Bay Watcher
  • [PREFSTRING:large ears]
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #3 on: February 22, 2011, 08:55:35 pm »

Wait, what's the [BUTCHER_SPECIAL] tag?  I haven't seen that before :o

D_E

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #4 on: February 22, 2011, 10:50:19 pm »

It's a material-level tag.  It's what makes materials turn into something other than random scraps (2) when produced from tissues via a butcher's shop. 

It's in the default raws; it's how muscles know to turn into meat, and how fat knows how to turn into globs.  It's in MATERIAL_TEMPLATE_DEFAULT.txt.

The tag can be used as part of a material template, or any time you define a new material, including in creatures.
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #5 on: February 23, 2011, 12:09:00 am »

Um. I think my point has been missed. You know how in the raws there's a tag to flag body components for use in reactions? If I stuck that on the end of [REAGENT:A:1:NONE:NONE:NONE:IRON_BALROG] and set the product line to [PRODUCT:25:100:BAR:NONE:METAL:IRON_BALROG][PRODUCT_DIMENSION:150] or whatever the syntax is, it would produce 25 balrog iron bars, correct? I want to make the rewards optional, so you can kill hellbeasts for the unique benefits or just for the sake of saying you killed a 40 ton demon made of flaming iron.
Logged
くコ:彡

3

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #6 on: February 23, 2011, 12:17:17 am »

Yes, that should work, unless I'm forgetting something regarding what the game considers to be body parts. You might want to swap the open reagent with one specifically looking for CORPSEs, or something similar, if only for safety's sake.
Logged

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #7 on: February 23, 2011, 12:26:39 am »

Thank ye muchly. Fun fact: in DF, 1000-year dragons only reach 25 tons. Balrogs are created at 40 tons. And they're treated like any other wild animal. If there IS going to be a semimegabeast native to hell... Well. It's going to take a lot to bring that one down.
Logged
くコ:彡

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #8 on: February 23, 2011, 12:56:14 am »

Okay, so here's the raws for the balrog and its associated materials. The only issue I have so far is that they die too easily. As in if I spawn one in Arena Mode and take even a single step with it I get the message "You have died in the heat.", despite being made of a metal that doesn't melt until 17000U. Help?

Spoiler: Balrog (click to show/hide)
Spoiler: Balrog iron (click to show/hide)
Spoiler: Balrog eye (click to show/hide)
Logged
くコ:彡

3

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #9 on: February 23, 2011, 01:02:15 am »

Try replacing HOMEOTHERM with FIXED_TEMP, then doing something like:

Code: [Select]
[SELECT_MATERIAL:ALL]
[IF_EXISTS_SET_HEATDAM_POINT:NONE]
[IF_EXISTS_SET_MELTING_POINT:17000]
[IF_EXISTS_SET_BOILING_POINT:90000]
Logged

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #10 on: February 23, 2011, 01:07:57 am »

Nope. Still no luck. Thing is, sometimes the death message is "You have melted.", and other times it's "You have died in the heat.", and it seems entirely random as to which one is picked.
Logged
くコ:彡

3

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #11 on: February 23, 2011, 01:18:18 am »

Works fine for me.

Spoiler (click to show/hide)
         
(replace the eye tissue, I didn't bother copying that one down)
« Last Edit: February 23, 2011, 01:21:11 am by 3 »
Logged

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #12 on: February 23, 2011, 01:47:32 am »

Sweet. Just testing combat effectiveness in arena mode now.

EDIT: ...looks like the only way to beat them is with an obsidian trap. These things can go head on with 25 bronze colossi and come out uninjured (though probably because of the whole "bronze melts" deal). WELP. OFF TO HELLHOUNDS.
« Last Edit: February 23, 2011, 02:15:26 am by Zaerosz »
Logged
くコ:彡

3

  • Bay Watcher
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #13 on: February 23, 2011, 02:31:37 am »

Try making them bleed fire or something.
Logged

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Butchering inorganic body parts (again)?
« Reply #14 on: February 23, 2011, 04:20:04 am »

I think they're deadly enough as is, what with being made of burning metal and all. NEXT UP: TENTACLE DEMONS. After hellhounds, anyway.
Logged
くコ:彡
Pages: [1] 2