Bay 12 Games Forum

Please login or register.

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

Author Topic: [MODDING] REACTIONS QUESTIONS THREAD  (Read 38081 times)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
[MODDING] REACTIONS QUESTIONS THREAD
« on: May 22, 2012, 01:03:52 am »

The modding questions thread sometimes gets very cluttered, and different people know more about some categories, and less about others. For creatures, I would ask hugo, for interactions I would ask narhiril, for entities, deon. I hope it is a good idea to split the old questions thread into fields. If you disagree, simply dont post here, and it will disappear from itself after a few days ;)


All reaction related  questions go here.


Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #1 on: May 22, 2012, 09:22:19 am »

Hmm, I guess for adventure reactions and some reactions in general you could ask me. I tend to do a lot of adventure modding.
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #2 on: May 22, 2012, 11:52:17 am »

Reactions are one of my specialties, Creatures are like you said another. I only know as much as I do, cause I played around with the ABS and Inorganic creatures. Also the old Undead for Regeneration helped and the bloodbeast. Once I learned how Functional Bodyparts work it was easy street from there.

But reactions are pretty high up there too, same as interactions (well kindof it's still new)
Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #3 on: May 22, 2012, 03:10:13 pm »

Posting to watch.  I approve of such a thread.  But can't contribute anything to kickstart this yet since I'm at school.
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Jake

  • Bay Watcher
  • Remember Boatmurdered!
    • View Profile
    • My Web Fiction
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #4 on: May 26, 2012, 10:30:30 am »

So, is this thread open for questions yet? I'm not sure if it's a change made in .34 or if I screwed up royally somewhere, but I've horribly broken the Black Powder Firearms mod somehow and I don't know why. (Details in the thread.)
Logged
Never used Dwarf Therapist, mods or tilesets in all the years I've been playing.
I think Toady's confusing interface better simulates the experience of a bunch of disorganised drunken dwarves running a fort.

Black Powder Firearms - Superior firepower, realistic manufacturing and rocket launchers!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #5 on: May 26, 2012, 10:56:22 am »

I have finished reviewing your issue, answer is in your thread
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #6 on: May 26, 2012, 12:21:05 pm »

Posting to watch and help. I'm disappointing I didn't make the list  :P

I can help with experimental theories and general help :D
« Last Edit: May 26, 2012, 12:24:16 pm by IT 000 »
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #7 on: May 26, 2012, 12:29:08 pm »

IT000 Theory:
Can one target a reagent in a bag in a barrel using:
   [REAGENT:sweetener:1:NONE:NONE:NONE:NONE][REACTION_CLASS:SWEET] --- main targert
   [REAGENT:sweet container:1:NONE:NONE:NONE:NONE] --- first container
      [CONTAINS:sweetener]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
   [REAGENT:sweet container's container:1:NONE:NONE:NONE:NONE] --- container containing main target's container
      [CONTAINS:sweet container]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT] 
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #8 on: May 26, 2012, 04:50:44 pm »

IT000 Theory:
Can one target a reagent in a bag in a barrel using:
   [REAGENT:sweetener:1:NONE:NONE:NONE:NONE][REACTION_CLASS:SWEET] --- main targert
   [REAGENT:sweet container:1:NONE:NONE:NONE:NONE] --- first container
      [CONTAINS:sweetener]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
   [REAGENT:sweet container's container:1:NONE:NONE:NONE:NONE] --- container containing main target's container
      [CONTAINS:sweet container]
      [PRESERVE_REAGENT]
      [DOES_NOT_DETERMINE_PRODUCT_AMOUNT]

You'll need to add [FOOD_STORAGE_CONTAINER] to the barrel and the [BAG] tag to the bag. Also the bag should be :BOX:NONE:NONE:NONE]

It should work then, I don't know what will happen if the barrel contains any other items though. However I'm confident that if a barrel contained nothing but the sweetener in the bag, it would work.
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #9 on: May 26, 2012, 05:13:48 pm »

Ah but you see my reaction works fine without the [BAG] or [FOOD_STORAGE_CONTAINER] because it is a reagent that only seeks out anything holding something that it wants (cage, bag, jug, backpack, flask, you name it)

But I do have [FOOD_STORAGE_CONTAINER] for the barrels that acaully are used to hold the product.

But at least you are confident that it will work, I am.
see suger and syrup is SWEET but since suger gets bagged, and bags get barreled, well a standard sweetener and container combo fail since there is the second canainer holding both (pain in the ass when syrup is the only useable SWEET cause it only gets barreled)

EDIT:
I use this generic container selection reagents in so many of my reactions, because I have so many custom contianer/tools and I can't be bothered trying to remember what one hold what.
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #10 on: May 26, 2012, 05:33:46 pm »

I suppose your method is a little broader, but U-rist / Ur-ist right.

Post the results, I have the same problem with one of my reactions!  :D
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #11 on: May 26, 2012, 05:46:33 pm »

I suppose your method is a little broader, but U-rist / Ur-ist right.
Exactly  ;D

Post the results, I have the same problem with one of my reactions!  :D
For sure, I hope it works, or else I made 20 extra PLAN B reactions for nothing
Logged

medikohl

  • Bay Watcher
  • Goblins are a good building material
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #12 on: May 26, 2012, 07:59:53 pm »

I suppose your method is a little broader, but U-rist / Ur-ist right.
Exactly  ;D

Post the results, I have the same problem with one of my reactions!  :D
For sure, I hope it works, or else I made 20 extra PLAN B reactions for nothing
in regards to your sig, losing is winning for us.
Logged
I can imagine a bunch of  monks making a pilgrimage to a holy mountain, only to discover that it isn't there anymore.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #13 on: May 27, 2012, 11:36:12 pm »

Post the results, I have the same problem with one of my reactions!  :D
For sure, I hope it works, or else I made 20 extra PLAN B reactions for nothing
Hmm. I got some results

1. Yes it does target the Mill barrel with suger in it (Suger>Bag>Barrel)
2. The Target is not consumed, but it might be the fact that I use "1" instead of "150" as a requirement.
2a. It could be that the POWDER_MISC is only having "1" taken from its mass
2b. I thought all custom reactions consume the entire reagent no matter what.

EDIT:
ok it seems none of the reagents are being consumed at all. anyone see why it is acting like this?

Spoiler (click to show/hide)
« Last Edit: May 27, 2012, 11:40:53 pm by Hugo_The_Dwarf »
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] REACTIONS QUESTIONS THREAD
« Reply #14 on: May 30, 2012, 09:42:24 am »

Can you arrange custom reactions in workshop submenus yet?
Logged
Pages: [1] 2 3 ... 13