Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: No Flux - mod for more flux (help)  (Read 1147 times)

jabbamonkey

  • Bay Watcher
    • View Profile
No Flux - mod for more flux (help)
« on: March 27, 2011, 10:25:59 am »

I'm fairly new at modding DF ... so wanted some help.

The last 3 lands I tried to develop had no flux material. That is a real pain. So, I wanted to mod the game so certain other elements counted as flux material. Namely, orthoclass and microline (which seem to be on EVERY world I create).  I know I have to modify one of the object files, but I don't know which file to edit, or what to add in it.

For example, do I modify the RAW/OBJECT files?  Or, do I edit one of the DATA/SAVE/REGION/RAW/OBJECT files?

If I have to edit one of the DATA/SAVE/REGION/RAW/OBJECT file ... do I have to do it before I embark? Or can I do it after?

Which file do I edit? And what do I add to make them Flux material worthy?

Thanks!


Logged

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: No Flux - mod for more flux (help)
« Reply #1 on: March 27, 2011, 10:33:29 am »

Go into the raw/objects file, then inorganic_stone_mineral.txt, then find the entries for orthoclase and microcline. Entries start with [INORGANIC:whatever] and are ended by the next [INORGANIC:whatever] or the end of the file.

Once you've found them, put [REACTION_CLASS:FLUX] somewhere in the entry.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

jabbamonkey

  • Bay Watcher
    • View Profile
Re: No Flux - mod for more flux (help)
« Reply #2 on: March 27, 2011, 10:41:21 am »

Awesome! Thanks!
Logged

jabbamonkey

  • Bay Watcher
    • View Profile
Re: No Flux - mod for more flux (help)
« Reply #3 on: March 28, 2011, 09:01:57 am »

Ah!  That didn't work at all... I started a game ... and got pretty far along ...

Then I noticed that microline and orthoclass weren't showing up as buildable materials anymore. So, after digging through a wall of microline, the stones appeared on the map (using K, i could see that it was a microline stone) ... but when I went to build, it didn't appear in my list of useable materials. What happened?

My microline appears in my raw file as...


[INORGANIC:MICROCLINE]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:microcline][DISPLAY_COLOR:3:7:1][TILE:151]
[ENVIRONMENT:ALL_STONE:CLUSTER:100]
[REACTION_CLASS:FLUX]
[IS_STONE]

Can I fix this now that my game has already started?!?!?!?
Logged

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: No Flux - mod for more flux (help)
« Reply #4 on: March 28, 2011, 09:30:31 am »

1. It's "microcline", not "microline".
2. By making microcline and orthoclase usable as flux, they've become economic stones by default. Go into the Z-Stones menu and mark them as non-economic.
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.

jabbamonkey

  • Bay Watcher
    • View Profile
Re: No Flux - mod for more flux (help)
« Reply #5 on: March 28, 2011, 10:45:53 am »

Microcline, microline ... hey, at least I spelled it right where it counted (in the file!)  :D

That seemed to do it. thanks!
Logged