Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with Odd Reaction Results  (Read 903 times)

mrtspence

  • Bay Watcher
    • View Profile
Help with Odd Reaction Results
« on: January 11, 2011, 05:19:38 pm »

Hi, all. Back again with some more issues. This one is rather peculiar.

I am attempting to have a reaction create a single bar (was originally in boulder form, but I switched to bars when having this bug) of Essence of X Chaos God and some death energy (kills the maker, ergo Potash Making as the skill and making it like a sacrifice). However, instead it creates a very large number of bars of Essence (upwards of 30). Hopefully it is some easy-to-spot error in the coding, but the errorlog says nothing is amiss...

[REACTION:ESSENCE_OF_TZEENTCH_MAKING]
[NAME:make essence of Tzeentch]
[BUILDING:ALTAR:CUSTOM_T]
[REAGENT:A:300:BAR:NO_SUBTYPE:METAL:BLOOD_STEEL]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ESSENCE_OF_TZEENTCH][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BOULDER:NO_SUBTYPE:INORGANIC:DEATH_ENERGY]
[SKILL:POTASH_MAKING]

[INORGANIC:ESSENCE_OF_TZEENTCH]
[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:essence of Tzeentch][DISPLAY_COLOR:3:3:1][TILE:152]
[MAX_EDGE:90000]
[MATERIAL_VALUE:500]
[MELTING_POINT:999485]


[ITEM_WEAPON:ITEM_WEAPON_STAFF_OF_TZEENTCH]
[NAME:Staff of Tzeentch:Staff of Tzeentch]
[SIZE:3200]
[SKILL:HAMMER]
[RANGED:BOW:BOLT_OF_TZEENTCH]
[SHOOT_FORCE:15000]
[SHOOT_MAXVEL:3000]
[TWO_HANDED:0]
[MINIMUM_SIZE:100000]
[MATERIAL_SIZE:5]
[ATTACK:BLUNT:22000:14000:bash:bashes:shaft:4050]


[ITEM_AMMO:ITEM_AMMO_BOLT_OF_TZEENTCH]
[NAME:Bolt of Tzeentch:Bolts of Tzeentch]
[CLASS:BOLT_OF_TZEENTCH]
[SIZE:200]
[ATTACK:EDGE:5:5000:blast:blasts:NO_SUB:1000]

EDIT: Here is the blood steel and blood iron ones too.

[REACTION:BLOOD_STEEL_MAKING]
[NAME:make blood steel bars]
[BUILDING:BLOOD_FOUNDRY:CUSTOM_S]
[REAGENT:A:300:BAR:NO_SUBTYPE:METAL:BLOOD_IRON]
[PRODUCT:100:4:BAR:NO_SUBTYPE:METAL:BLOOD_STEEL][PRODUCT_DIMENSION:150]
[FUEL]
[SKILL:SMELT]

[REACTION:BLOOD_INFUSION_IRON]
[NAME:Infuse iron with blood]
[BUILDING:ALTAR:CUSTOM_I]
[REAGENT:A:900:BAR:NO_SUBTYPE:METAL:IRON]
[PRODUCT:100:6:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
[PRODUCT:100:900:BOULDER:NO_SUBTYPE:INORGANIC:DEATH_ENERGY]
[SKILL:POTASH_MAKING]


« Last Edit: January 14, 2011, 02:36:09 pm by mrtspence »
Logged

D_E

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #1 on: January 11, 2011, 06:45:17 pm »

Is essence of tzeentch a metal?

I would use the INORGANIC keyword instead of METAL, but I have no idea what would cause the problem you describe.

The ranged weapon thing is not normal.  Can you post the raws for those?
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

mrtspence

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #2 on: January 13, 2011, 12:09:04 pm »

Alright. Just uploaded all the related RAWS. Hopefully the errors will become more clear.

I really just want to be able to fix the error with the multiple-Essence-making soon, as it is greatly impeding my ability to release a new version of my Chaos mod xD
« Last Edit: January 13, 2011, 03:12:28 pm by mrtspence »
Logged

!!crundle!!

  • Bay Watcher
  • EVERYONE, I AM ON FIRE
    • View Profile
Re: Help with Odd Reaction Results
« Reply #3 on: January 13, 2011, 09:00:20 pm »

You need more Khorne.

KHORNE! KHORNE! KHORNE! KHORNE!

BLOOD FOR THE BLOOD GOD!

SKULLS FOR THE SKULL THRONE!

KHORNE! KHORNE! KHORNE! KHORNE!
Logged
w̷̦̬̹̣͕̙͖͑̓̌̓̑̄͒͋͜͝h̙̩͈̱͚̳̳̪͖̙͕̥̳ͥ̍̔͂̑̿̓̍̑ͣ͆̅̀͢y̧̼̭͎͓̟̺͉̰͎̱̜ͫ̂́͗̐̑́w̢̬̪͈̲̽̋́̈̓ͨ̄͐̿̓ͧ̇ͩ̏ͫ̑̎͟͡ḩ̡͍̫̣̹̬̙̭͊ͯͯ̉͡y̔ͥ̏͛̀̂̎̆ͥͮ̐̍̈̏͆̓̅̒҉̢̘͚͎̠̻̣̯̥̠̙̤̪̮̝̲̜̪́̕̕ͅw̸̗̻̱ͭͣͦͤ̇̑̅͗ͨͬ͋̉͊ͨ͂͜hͩͪ̋ͣ̇̔͂ͧ̍̾͂͏̨̠͕̼̟͙̳̺͕̥͔̜̮̩̰̲̞̼y̴̸̵̪͕̜̪̙̦̘ͧ̽̇ͭͭͬͯ̾̈́̐̂̉͆͒ͤ̌̀̕w̺̟͙͙̭͇̟̮͉̯͈͖̩͔͊͛ͧͯ̀̿ͣͪ͂ͪ͘̕͠ͅh̷̴̷̢͉͖̺̦̣͙̓ͧ̅͋ͪ̾̓͒̌̒ͯ̇́ͯ̕y̋ͪ̓̒̈́͞͏̤̗̞̲̪͚̮̤̫̪̺̪̫̕w̸͔̺̱̼̪̮̘̟͖̭̱͓͈̜͇͚͉̙͊̈́ͦ̅̋̂ͩ̓͗́̚͡ͅĥ̶̨̟̺͕̌͆͒͑ͦͨ̉͆͜͜ý̧͓̼̘̯͉̘̺̩͇̻͈͔̖͎̜͍ͭ̌ͩ͟͝͞

D_E

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #4 on: January 13, 2011, 10:28:30 pm »

The staff of T and bolts worked fine for me, at least in the arena.  Are you testing in the arena? 

If you're testing in Fort mode, do you have quivers/have you checked to make sure your troops are picking up the ammo?

I haven't tested the essence rxn, but it looks fine to me.  All I can say is try deleting/changing around lines in the reaction until you find the cause. :(
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

kwd1968

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #5 on: January 13, 2011, 10:42:35 pm »

check the PRODUCT_SIZE for your blood steel bar reaction, that might be why you have alot of the essences.

mrtspence

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #6 on: January 14, 2011, 12:13:26 am »

check the PRODUCT_SIZE for your blood steel bar reaction, that might be why you have alot of the essences.

What should I be looking for? To ensure that the product size is 150 as well (the default metal bar size)?


Also, I just got the Staff of Tzeentch working (forgot a bracket in the [OBJECT:AMMO] part--how embarrassing). Have to say, that is a fun-ass weapon. I set up a Tzeentch Sorcerer across a river from a crowd of various enemies in arena, and lit em up. There was so much blood, smoke, and carnage that it made the inner daemon in me giggle. Amusingly enough, despite the lowered body temperature, the high heat in arena mode set the bolts alight, and burned the sorcerer's hand's fat off. He was tough enough that it made no difference, which I found kinda awesome (hes got a skeletal hand now). I suppose it would be prudent to make their quivers of something less flammable.

And don't worry, !!crundle!!, there is an Axe of Khorne. A very big, very deadly, very sexy Axe of Khorne.
« Last Edit: January 14, 2011, 12:26:05 am by mrtspence »
Logged

kwd1968

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #7 on: January 14, 2011, 12:28:41 am »

yeah just make sure its 150, if it's larger then it uses the whole bar in the reaction and pumps out products till it's gone.

mrtspence

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #8 on: January 14, 2011, 12:35:06 am »

Well, the [PRODUCT_DIMENSION:150] tag is there next to the ESSENCE, but do I need it somewhere else or something else like it elsewhere?
Logged

kwd1968

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #9 on: January 14, 2011, 02:13:43 pm »

in the reaction that makes your blood steel bars (which you haven't listed).  It's the only thing I can think of that might be causing you to make a boatload of essences since the syntax of your posted code is fine.

mrtspence

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #10 on: January 14, 2011, 02:33:22 pm »

in the reaction that makes your blood steel bars (which you haven't listed).  It's the only thing I can think of that might be causing you to make a boatload of essences since the syntax of your posted code is fine.

I will put it up too then.

This is so weird. It is driving me mad!
Logged

D_E

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #11 on: January 14, 2011, 03:58:48 pm »

[PRODUCT:100:6:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]

When you use the blood iron reaction, do you actually get 6 bars?

If you change it to
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
etc. does it magically work?
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

Magentawolf

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #12 on: January 14, 2011, 04:23:05 pm »

Unrelated to the first issue, but you might want to fix this one -

[REACTION:BLOOD_INFUSION_IRON]
[NAME:Infuse iron with blood]
[BUILDING:ALTAR:CUSTOM_I]
[REAGENT:A:900:BAR:NO_SUBTYPE:METAL:IRON]
[PRODUCT:100:6:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
[PRODUCT:100:900:BOULDER:NO_SUBTYPE:INORGANIC:DEATH_ENERGY]
[SKILL:POTASH_MAKING]

... You have it set to make 900 boulders per job.
Logged

mrtspence

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #13 on: January 14, 2011, 10:13:42 pm »

Unrelated to the first issue, but you might want to fix this one -

[REACTION:BLOOD_INFUSION_IRON]
[NAME:Infuse iron with blood]
[BUILDING:ALTAR:CUSTOM_I]
[REAGENT:A:900:BAR:NO_SUBTYPE:METAL:IRON]
[PRODUCT:100:6:BAR:NO_SUBTYPE:METAL:BLOOD_IRON][PRODUCT_DIMENSION:150]
[PRODUCT:100:900:BOULDER:NO_SUBTYPE:INORGANIC:DEATH_ENERGY]
[SKILL:POTASH_MAKING]

... You have it set to make 900 boulders per job.

Doesn't matter. They explode into deadly gas, so more can't hurt :D
Logged

kwd1968

  • Bay Watcher
    • View Profile
Re: Help with Odd Reaction Results
« Reply #14 on: January 15, 2011, 03:50:47 am »

just an observation tho, the ESSENCE reaction you have listed requires BLOOD_STEEL and your later ones make BLOOD_IRON, is one of those a typo?