Bay 12 Games Forum

Please login or register.

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

Author Topic: Delicious Bacon  (Read 1855 times)

Broseph Stalin

  • Bay Watcher
  • Dabbling Surgeon, Proficient Butcher.
    • View Profile
Delicious Bacon
« on: June 12, 2012, 07:34:08 am »

I'm running a succession game where we add a new feature in every time the fort changes hands and this round the name of the game is bacon. My current idea is to make it a cheese made out of meat and to do it without regen I'm replacing existing reactions. The problem I'm running into now is the product from my reaction is a pile of magma[5]. I know a little bit about modding but I don't really get materials anybody see the problem?

These are the only changes I've made.
Spoiler: reaction (click to show/hide)

Spoiler: material template (click to show/hide)

Spoiler: added to muscle (click to show/hide)

« Last Edit: June 12, 2012, 01:42:48 pm by Broseph Stalin »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Delicious Bacon
« Reply #1 on: June 12, 2012, 08:22:46 am »

LOCAL_MEAT_MAT isn't a thing.

This article explains materials handily.

What you probably want is just [HAS_MATERIAL_REACTION_PRODUCT:BACON_MAT].

Broseph Stalin

  • Bay Watcher
  • Dabbling Surgeon, Proficient Butcher.
    • View Profile
Re: Delicious Bacon
« Reply #2 on: June 12, 2012, 08:39:15 am »

LOCAL_MEAT_MAT isn't a thing.

This article explains materials handily.

What you probably want is just [HAS_MATERIAL_REACTION_PRODUCT:BACON_MAT].
No effect, still just getting handfuls of magma.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Delicious Bacon
« Reply #3 on: June 12, 2012, 08:59:49 am »

For this:
[MATERIAL_REACTION_PRODUCT:BACON_MAT]

What you want is this:

[MATERIAL_REACTION_PRODUCT:BACON_MAT:LOCAL_CREATURE_MAT:BACON]

You have to define the material that the reaction product will be.

Broseph Stalin

  • Bay Watcher
  • Dabbling Surgeon, Proficient Butcher.
    • View Profile
Re: Delicious Bacon
« Reply #4 on: June 12, 2012, 09:21:01 am »

Updated to reflect changes, the reaction no longer produces magma just a pile of the animals skin.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Delicious Bacon
« Reply #5 on: June 12, 2012, 12:28:03 pm »

That means BACON is not on the creature if a target material or tissue does not exsist, it will pick teh first defined one. In this case SKIN is defined first in the STANDARD_MATERIALS "B_Detail_Plan"

so for the creatures you wish to have bacon add [USE_MATERIAL_TEMPLATE:BACON:BACON_TEMPLATE]

and then

[SELECT_MATERIAL:MUSCLE]
[MATERIAL_REACTION_PRODUCT:BACON_MAT:LOCAL_CREATURE_MAT:BACON]

or if you want every creature to have BACON just add in the before mentioned USE-MATERIAL-TEMPLATE in the STANDARD_MATERIALS BDP
« Last Edit: June 12, 2012, 12:30:58 pm by Hugo_The_Dwarf »
Logged

Broseph Stalin

  • Bay Watcher
  • Dabbling Surgeon, Proficient Butcher.
    • View Profile
Re: Delicious Bacon
« Reply #6 on: June 12, 2012, 12:56:57 pm »

That means BACON is not on the creature if a target material or tissue does not exsist, it will pick teh first defined one. In this case SKIN is defined first in the STANDARD_MATERIALS "B_Detail_Plan"

so for the creatures you wish to have bacon add [USE_MATERIAL_TEMPLATE:BACON:BACON_TEMPLATE]

and then

[SELECT_MATERIAL:MUSCLE]
[MATERIAL_REACTION_PRODUCT:BACON_MAT:LOCAL_CREATURE_MAT:BACON]

or if you want every creature to have BACON just add in the before mentioned USE-MATERIAL-TEMPLATE in the STANDARD_MATERIALS BDP

Just to be clear are you saying that to give all animals bacon I just add

[USE_MATERIAL_TEMPLATE:BACON:BACON_TEMPLATE] to [BODY_DETAIL_PLAN:STANDARD_MATERIALS]

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Delicious Bacon
« Reply #7 on: June 12, 2012, 12:59:26 pm »

Yes well to be correct, in the BDP it would be    [ADD_MATERIAL:BACON:BACON_TEMPLATE]
Logged

Broseph Stalin

  • Bay Watcher
  • Dabbling Surgeon, Proficient Butcher.
    • View Profile
Re: Delicious Bacon
« Reply #8 on: June 12, 2012, 01:15:01 pm »

Yes well to be correct, in the BDP it would be    [ADD_MATERIAL:BACON:BACON_TEMPLATE]
That did it!
I actually caught the ADD/USE thing but I left the first TEMPLATE in and that was screwing it up bacon is working.

simonthedwarf

  • Bay Watcher
  • ¤Death¤
    • View Profile
Re: Delicious Bacon
« Reply #9 on: June 12, 2012, 03:17:43 pm »

I'm surprised nobody commented that magma is just as delicious as delicious bacon
Logged
Quote from: Syndic
Sentry towers, manned by orang-utangs./quote]

Zaerosz

  • Bay Watcher
  • ☼sperm whale leather thong☼
    • View Profile
Re: Delicious Bacon
« Reply #10 on: June 12, 2012, 03:24:37 pm »

I'm surprised nobody commented that magma is just as delicious as delicious bacon
Ah, but bacon is more easily accessible IRL. And if you've cooked it right it won't incinerate your mouth.
Logged
くコ:彡

caddybear

  • Bay Watcher
  • Elf Supporter
    • View Profile
Re: Delicious Bacon
« Reply #11 on: June 12, 2012, 04:32:21 pm »

I'm surprised nobody commented that magma is just as delicious as delicious bacon
Ah, but bacon is more easily accessible IRL. And if you've cooked it right it won't incinerate your mouth.

On the other hand, there is no way to cook magma wrong.
Logged
And then did ARMOK say, the east is the holiest of directions, and thou shouldst not stand there lest thou be strucketh down by my holiest of beards. And then did the dorfs did say, we shall build from the west, for more do we fear the beard of ARMOK than the strike of the elephant.

Monk321654

  • Bay Watcher
  • [COMPUTER_DEPENDENT]
    • View Profile
Re: Delicious Bacon
« Reply #12 on: June 12, 2012, 04:35:21 pm »

I'm surprised nobody commented that magma is just as delicious as delicious bacon
Ah, but bacon is more easily accessible IRL. And if you've cooked it right it won't incinerate your mouth.

On the other hand, there is no way to cook magma wrong.
It practically cooks itself, huh?
Logged
This is a side-effect of dwarven animal training (hit animal with hammer until it forgets that it hates you, then lovingly cuddle it).

I'm not your average Bay12er. I care about my drunken midgets.

Courtesy Arloban

  • Bay Watcher
  • This isn't a fortress... ...It's also not a map.
    • View Profile
Re: Delicious Bacon
« Reply #13 on: June 15, 2012, 12:56:54 am »

I'm surprised nobody commented that magma is just as delicious as delicious bacon
Ah, but bacon is more easily accessible IRL. And if you've cooked it right it won't incinerate your mouth.

On the other hand, there is no way to cook magma wrong.
It practically cooks itself, huh?
I'm experimenting with the [LAVA] tag seeing if removing it from obsidian and adding it to a material with a melting point close to the surface temp of the sun (I call it coronium). will make the magma sea filled with "coronium" hot as the sun.(the alternative is that the magma sea is molten hardcoded "rock" and the "lava" tag works as a special "hardens with water" reaction class)  I'm also giving it the [DEEP_SURFACE] tag(taking it off slade) and iron's material properties to see if the magma sea will melt through the HFS.  Is that cooking magma wrong?

Also if anyone else plans on adding features after a game is already started it pays to plan ahead with several reactions, materials, syndromes, and interactions that just take up space and are numbered.
Logged
Maybe that the dwarves never died and everyone is just shunning them.
"Wait, what are you doing?  I don't want to go in there!  No, I'm still alive, you can't do this to me!  Is Anybody listening?  Hello... Can someone let me out?  Help me!  Is anyone there?  I'm running out of air!"

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Delicious Bacon
« Reply #14 on: June 15, 2012, 02:13:13 am »

LAVA just means that volcanoes will be made out of the LAVA stone and that water and lava will react to form it.

Liquids are hardcoded.
Pages: [1] 2