Bay 12 Games Forum

Please login or register.

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

Author Topic: Cheat Reaction Help Needed  (Read 6198 times)

romaska

  • Escaped Lunatic
    • View Profile
Cheat Reaction Help Needed
« on: April 09, 2010, 07:14:55 pm »

So I, being the dirty cheater that I am, want to make Steel and Wood from nothing. I enabled them in the entities file. In game, the reactions aren't appearing in the smelter, so I assume it has to do with the way the reactions are written. Here's what I got:
Spoiler (click to show/hide)

I have absolutely zero understanding of how this stuff is formatted, so help would be greatly appreciated, and would result in a steel-and-wood statue being constructed in your honor.

Also, post your other favorite cheat/fun/Fun reactions.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #1 on: April 09, 2010, 07:24:30 pm »

Try [REAGENT:A:1:STONE:NONE:NONE:NONE]. I am a bit sleepy now so I may be wrong.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #2 on: April 09, 2010, 07:25:03 pm »

Have you made a new world?  Reactions don't appear unless the world has been generated with them.

romaska

  • Escaped Lunatic
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #3 on: April 09, 2010, 07:34:10 pm »

This was done in a new world, yes.
Deon, I'm gonna hold on to that so I can make a bunch of changes at once rather than an endless chain of worldgens. Thanks. But why would NONE replace NO_SUBTYPE, the way it's written in the other reactions?
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #4 on: April 09, 2010, 07:42:24 pm »

Well, let's just say that Toady doesn't always follow his own revisions...

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #5 on: April 09, 2010, 07:57:43 pm »

[PRODUCT_DIMENSION:150] for the bar of steel.
Have you made a new world?  Reactions don't appear unless the world has been generated with them.
Or if you add them to the copy of the raws in the region folder.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

romaska

  • Escaped Lunatic
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #6 on: April 09, 2010, 08:12:42 pm »

The [PRODUCT_DIMENSION:150] didn't fix it.
Can someone do up a proper block of code? Mine is getting to be a frankenstein of different attempts.
Logged

RocketGarden

  • Escaped Lunatic
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #7 on: April 09, 2010, 08:46:53 pm »

Look at the sample reaction for gypsum:

Spoiler (click to show/hide)

Get rid of [REACTION_CLASS:GYPSUM] and you have what you need on the reagent side of things.

Also, make sure you have fuel, and modify the raws in \data\save\region1\raw\objects


This should work:

Spoiler (click to show/hide)
Logged

romaska

  • Escaped Lunatic
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #8 on: April 09, 2010, 09:02:12 pm »

Thanks, that looks functionally identical to the standard reagents. Seems like it would work, but what do I know. Will test in the morning.
Logged

chrisinajar

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #9 on: April 09, 2010, 09:30:03 pm »

Here are some cheat reactions I've tested and working...


This requires a barrel, and fills that barrel with sunshine (good alcohol) and makes a new barrel, also, so it never actually uses your barrels
Spoiler (click to show/hide)

Free adamantine blocks
Spoiler (click to show/hide)

Free adamantine thread
Spoiler (click to show/hide)

Free wood
Spoiler (click to show/hide)

Free fuel
Spoiler (click to show/hide)

I can't get food working yet...
Logged

Ilmoran

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #10 on: April 09, 2010, 09:34:00 pm »

In entity_default, add [PERMITTED_REACTION:FREE_WOOD] and [PERMITTED_REACTION:FREE_STEEL] in the dwarf section.  You don't need to regen the world for this, but you will need to add it to the version of the entity_default in the data>save>[your region folder]>raw>objects folder.  You will also need to add it to raw>objects in your main DF folder if you want future world gens to allow the reaction as well.  If it still doesn't show up at your smelter, check the list of tasks from your manager (press j > m > q, and then type either 'stone to wood' or 'stone to steel').  If it shows up there, your smelter is just bugged on its display, and I *think* using the manager to issue that work order once will make it show up in the smelter from then on.
Logged

darkedone02

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #11 on: April 10, 2010, 12:54:12 am »

Here are some cheat reactions I've tested and working...


This requires a barrel, and fills that barrel with sunshine (good alcohol) and makes a new barrel, also, so it never actually uses your barrels
Spoiler (click to show/hide)

Free adamantine blocks
Spoiler (click to show/hide)

Free adamantine thread
Spoiler (click to show/hide)

Free wood
Spoiler (click to show/hide)

Free fuel
Spoiler (click to show/hide)

I can't get food working yet...

when I did that adamantine thread, I somehow get a requirement of 15000 collected stones O.o
Logged

chrisinajar

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #12 on: April 10, 2010, 09:56:42 am »

Here are some cheat reactions I've tested and working...


This requires a barrel, and fills that barrel with sunshine (good alcohol) and makes a new barrel, also, so it never actually uses your barrels
Spoiler (click to show/hide)

Free adamantine blocks
Spoiler (click to show/hide)

Free adamantine thread
Spoiler (click to show/hide)

Free wood
Spoiler (click to show/hide)

Free fuel
Spoiler (click to show/hide)

I can't get food working yet...

when I did that adamantine thread, I somehow get a requirement of 15000 collected stones O.o
That's bizarre... Are you sure it's copied properly, and there aren't other lines from other old reactions interfering? I like to put my reactions into another file, those were all from "reaction_magic" for me, as to seperate them from the original ones... I've tested it working on 31.02...

Lemme know if you can get any food working, I really want an infinite supply... Someone said he got plump helmets working...
Logged

darkedone02

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #13 on: April 10, 2010, 07:35:59 pm »

most of the cheat mods out there actually used dragon meat, I try searching some of the other threads...
Logged

Upright Path

  • Bay Watcher
    • View Profile
Re: Cheat Reaction Help Needed
« Reply #14 on: April 10, 2010, 07:40:40 pm »

Silly people.

Threads have to have a dimension of 15000.
Cloth has a dimension of 10000.
Bars have a dimension of 150.

In your code, you're making:
[PRODUCT:100:1:THREAD:NO_SUBTYPE:METAL:ADAMANTINE][PRODUCT_DIMENSION:150]
A thread of size 150, which is to say... 100 times smaller than the thread should be.

Think about how to fix that and it shouldn't be too hard.
Logged
Pages: [1] 2