Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reaction no longer working  (Read 905 times)

Wiles

  • Bay Watcher
    • View Profile
Reaction no longer working
« on: September 27, 2008, 06:29:51 pm »

In older versions this worked fine in reactions:

[REAGENT:10:CLOTH:NO_SUBTYPE:SILK:NO_MATGLOSS]

When in a reaction in the newest df version I get the error:

Unrecognized Silk Token: NO_MATGLOSS

Anyone have any idea how to fix the line?

I can get it to work with a specific creature, ie if I put in:

[REAGENT:10:CLOTH:NO_SUBTYPE:SILK:SPIDER_CAVE]

It works. But I'd like to be able to use any kind of silk like I was able to in previous versions.

« Last Edit: September 27, 2008, 06:34:26 pm by Wiles »
Logged

Boksi

  • Bay Watcher
  • Everyone's dumb in their own special way
    • View Profile
Re: Reaction no longer working
« Reply #1 on: September 27, 2008, 06:38:34 pm »

So you have to specify what type of creature now?

Doesn't sound like that much of a problem to me. I guess this is from Toady One's matgloss fix. So now you can't use silk from oblivion.
Logged
[BODY_DETAIL:NAIL:NAIL:NAIL]
[HAMMER:HAMMER:HAMMER]

[TSU_NOUN:nose]
[SUN_TSU_NOUN:art:war]

Wiles

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #2 on: September 27, 2008, 06:43:23 pm »

The problem is that before the smelter was able to use a combination of different silks.

I could use 7 giant cave spider silk, and 3 cave spider silk. I don't think I can do that anymore.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Reaction no longer working
« Reply #3 on: September 27, 2008, 06:49:28 pm »

The problem is that before the smelter was able to use a combination of different silks.

I could use 7 giant cave spider silk, and 3 cave spider silk. I don't think I can do that anymore.
Whatever you're turning it INTO has to be a specified material anyway.  I don't see a problem with making the reagent agree.
If you're turning silk into something non-silk: you cheater :V
But seriously, you should be able to do [...NO_SUBTYPE:SILK] or perhaps [...NO:SUBTYPE:SILK:STANDARD]
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Wiles

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #4 on: September 27, 2008, 06:52:49 pm »

Thank you Jaybud, I'll play around with those.

The silk is being used to make silk "bars" so they can be used in armour making.
Logged

Wiles

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #5 on: September 27, 2008, 07:16:03 pm »

[REACTION:SPIDERSILK_LAYERING]
[NAME:layer spidersilk]
[SMELTER]
[REAGENT:10:CLOTH:NO_SUBTYPE:SILK:NO_MATGLOSS]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SPIDERLAYER]

was the full reaction

Removing no matgloss and leaving it just :NO_SUBTYPE:SILK] doesn't work, I don't get an error but when I try it they create the bars out of thin air. If I add in STANDARD, it just shows up in the errorlog.

If it isn't possible to make one all encompassing reaction I can always make one for each silk bearing creature in my mod. It's not a perfect fix though since I won't be able to mix and match different silks.

Any ideas?
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Reaction no longer working
« Reply #6 on: September 27, 2008, 07:47:57 pm »

You could make a stone, that is 10% Spiderlayer (the metal) and thus turn each piece of silk into a stone separately for 10 stones, and smelt those all down for one bar.
It's not a perfect workaround, but it does work.
By "not perfect" I mean the obvious fact it'll take 10 coke for each bar of metal.
A workaround-workaround could be to change 10 of the stone into the bar using a reaction rather then the hardcoded ore system.

[MATGLOSS_STONE:SILKSTONE]
[NAME:silkstone][COLOR:1:1:1][TILE:'%'][VALUE:10]
[METAL_ORE:SPIDERLAYER:10]


[REACTION:SPIDERSILK_LAYERING]
[NAME:layer spidersilk]
[SMELTER]
[REAGENT:1:CLOTH:NO_SUBTYPE:SILK:SPIDER_CAVE]
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:SILKSTONE]

[REACTION:GSPIDERSILK_LAYERING]
[NAME:layer giant spidersilk]
[SMELTER]
[REAGENT:1:CLOTH:NO_SUBTYPE:SILK:SPIDER_CAVE_GIANT]
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:SILKSTONE]


[REACTION:SILKSTONE_METALLURGY]
[NAME:smelt silkstone]
[SMELTER]
[REAGENT:10:STONE:NO_SUBTYPE:STONE:SILKSTONE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SPIDERLAYER]

Now would be a very good time to procure us a copy of the SPIDERLAYER metal entry.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Wiles

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #7 on: September 27, 2008, 08:53:56 pm »

I have no problem getting it to work by changing it to

[REACTION:SPIDERSILK_LAYERING]
[NAME:layer spidersilk]
[SMELTER]
[REAGENT:10:CLOTH:NO_SUBTYPE:SILK:SPIDER_CAVE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SPIDERLAYER]

I can work around it, but I was hoping to find a way that worked similar to how it did before. (being able to mix and match silk in a reaction)
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Reaction no longer working
« Reply #8 on: September 27, 2008, 09:34:42 pm »

I have no problem getting it to work by changing it to

[REACTION:SPIDERSILK_LAYERING]
[NAME:layer spidersilk]
[SMELTER]
[REAGENT:10:CLOTH:NO_SUBTYPE:SILK:SPIDER_CAVE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SPIDERLAYER]

I can work around it, but I was hoping to find a way that worked similar to how it did before. (being able to mix and match silk in a reaction)
Which is where my workaround comes in.  Granted, it's not ONE reaction, but an ANY tag is missing.
I don't think there's a way to get your old functionality out of one reaction anymore.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

ikkonoishi

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #9 on: September 27, 2008, 09:51:22 pm »

Try NONE for the no_matgloss one.
Logged
Our Dwarven instincts compel us to run blindly towards disaster in case there may be a ☼<☼giant cave spider silk sock☼>☼ lying around.

Wiles

  • Bay Watcher
    • View Profile
Re: Reaction no longer working
« Reply #10 on: September 27, 2008, 09:55:38 pm »

Unfortunately NONE doesn't work either.

Thanks for the help folks. Looks like I'll just have to settle with doing it differently :)
« Last Edit: September 27, 2008, 10:07:36 pm by Wiles »
Logged