Bay 12 Games Forum

Please login or register.

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

Author Topic: Make magma versions of existing workshops  (Read 1148 times)

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Make magma versions of existing workshops
« on: June 01, 2011, 05:15:32 pm »

How do I make a workshop into a magma workshop?

Currently these 2 buildings (from the black powder firearms mod) require fuel for reactions. I could just remove the [FUEL] tag from the reactions correct?
But I would like to create a magma-powered version of both workshops.


Spoiler (click to show/hide)


[NEEDS_MAGMA] is what you're looking for in the building file, and then just remove [FUEL] from all of the reactions.

I want 2 separate sets of buildings though, one that is magma powered and another one that's fuel powered.

Would I need to create a duplicate set of reactions that don't have the [FUEL] tag and a duplicate set of magma workshops?

Yes.

So I added the following:
Spoiler (click to show/hide)

And created a separate set of non-fuel using reactions that take place at the new magma workshops

Spoiler (click to show/hide)

I backed up and overwrote the raws but I can't find the new workshops anywhere in the build options. Is there something I'm suppose to change to add the new workshops somewhere in there?
Logged

Kweri

  • Bay Watcher
    • View Profile
Re: Make magma versions of existing workshops
« Reply #1 on: June 01, 2011, 05:31:57 pm »

Magma versions of the default workshops don't actually show in the list until you've discovered magma and gotten the message about it. Not sure if this is the case with modded in magma workshops as well.
Logged

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #2 on: June 01, 2011, 05:53:57 pm »

I have a volcano and magma smelters/forges built already :/
I can also build the fuel-consuming versions just fine.

Also added em to the entity_default files

Spoiler (click to show/hide)
« Last Edit: June 01, 2011, 05:57:19 pm by Acperience »
Logged

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #4 on: June 01, 2011, 06:05:43 pm »

Did you remember to permit use of them in the entity?

Yes, see last post ^
Logged

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Make magma versions of existing workshops
« Reply #5 on: June 01, 2011, 07:00:32 pm »

The only thing I can think of is that you didn't generate a new world.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #6 on: June 01, 2011, 09:31:27 pm »

The only thing I can think of is that you didn't generate a new world.

Do I have to?

I added the non-magma workshops and reactions into the middle of a running game before, are the magma ones different?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Make magma versions of existing workshops
« Reply #7 on: June 01, 2011, 10:46:42 pm »

Custom buildings and reactions have to be specifically allowed for each civilization type, so it's generally not possible to add them in the middle of the round.

[NEEDS_MAGMA] is what you're looking for in the building file, and then just remove [FUEL] from all of the reactions.

I want 2 separate sets of buildings though, one that is magma powered and another one that's fuel powered.

Would I need to create a duplicate set of reactions that don't have the [FUEL] tag and a duplicate set of magma workshops?

Yes.

Wait, so workshops with [NEEDS_MAGMA] don't consider the magma as fulfilling the [FUEL] requirement in reactions?


Also, why do you have reactions for making iron/copper/bronze/steel mechanisms? Don't you know that Mechanics can already make them at a standard Forge (under Trap components)?
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.

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #8 on: June 02, 2011, 12:14:11 am »

Custom buildings and reactions have to be specifically allowed for each civilization type, so it's generally not possible to add them in the middle of the round.

[NEEDS_MAGMA] is what you're looking for in the building file, and then just remove [FUEL] from all of the reactions.

I want 2 separate sets of buildings though.
Would I need to create a duplicate set of reactions that don't have the [FUEL] tag and a duplicate set of magma workshops?

Yes.

Wait, so workshops with [NEEDS_MAGMA] don't consider the magma as fulfilling the [FUEL] requirement in reactions?


Also, why do you have reactions for making iron/copper/bronze/steel mechanisms? Don't you know that Mechanics can already make them at a standard Forge (under Trap components)?

It's not my mod, I'd rather do away with that part  but it doesn't hurt to leave it in.
« Last Edit: June 02, 2011, 12:58:02 am by Acperience »
Logged

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #9 on: June 02, 2011, 03:18:26 pm »

Bump for help
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Make magma versions of existing workshops
« Reply #10 on: June 02, 2011, 04:12:02 pm »

Tried using BUILDING_FURNACE instead of BUILDING_WORKSHOP yet?
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #11 on: June 02, 2011, 07:31:17 pm »

Tried using BUILDING_FURNACE instead of BUILDING_WORKSHOP yet?

I tried it and it still doesn't show in workshops/furnaces/main build menu.
But at least it didn't give an error.
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Make magma versions of existing workshops
« Reply #12 on: June 02, 2011, 08:28:16 pm »

Did you add [PERMITTED_BUILDING:BULLET_MAGMA] and all of the necessary [PERMITTED_REACTION:EACH_REACTION] tokens to your entity definitions in entity_default.txt?
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.

Acperience

  • Bay Watcher
  • Introjection
    • View Profile
Re: Make magma versions of existing workshops
« Reply #13 on: June 02, 2011, 08:36:58 pm »

Did you add [PERMITTED_BUILDING:BULLET_MAGMA] and all of the necessary [PERMITTED_REACTION:EACH_REACTION] tokens to your entity definitions in entity_default.txt?

Yep
see post #3
Logged

Kweri

  • Bay Watcher
    • View Profile
Re: Make magma versions of existing workshops
« Reply #14 on: June 03, 2011, 01:48:25 am »

I know someone suggested genning a new world - did you try this? You asked if it was necessary but didn't say you tried it.
Logged
Pages: [1] 2