Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 113 114 [115] 116 117 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1002358 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1710 on: May 24, 2012, 06:34:11 pm »

No, that was pretty much it

What about if I were to have 1 reagent be 150 bars and the other be 1, with the product being 150? Would that make 150 bars?

Better question: if I were to use [DOES_NOT_DETERMINE_PRODUCT_AMOUNT] (derp I should have thought of that in the first place), but still have 1 bar be used, would I have the 149 bars left over, or would it disappear into nothingness?

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1711 on: May 24, 2012, 06:45:53 pm »

No, that was pretty much it

What about if I were to have 1 reagent be 150 bars and the other be 1, with the product being 150? Would that make 150 bars?

Better question: if I were to use [DOES_NOT_DETERMINE_PRODUCT_AMOUNT] (derp I should have thought of that in the first place), but still have 1 bar be used, would I have the 149 bars left over, or would it disappear into nothingness?

So you have [Reagent:1:150] [Reagent:2:1] with [Product:1:150] correct? it would use both reagent 1 and 2 to make product 1. unless one of the reagents had [PRESERVE_REAGENT] then both of the products would be used up.[DOES_NOT_DETERMINE_PRODUCT_AMOUNT] is used on containers so that stacks of items produce the amount desired correctly.
so if you have
Code: [Select]
[Reagent:1:150]<-- we will say this is bars of steel
[Reagent:2:1][DOES_NOT_DETERMINE_PRODUCT_AMOUNT]<-- lets say this is a bucket of blue dye (my bad)
[Product:1:150]<-- we will call this Blue steel
with reagent 2's modifier, the blue dye bucket wont force the reaction to only make one blue steel bar, instead making the desired 150 blue steel bars correctly

EDIT: haha wasnt thinking.
« Last Edit: May 24, 2012, 06:49:25 pm by Sanure »
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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1712 on: May 24, 2012, 06:49:05 pm »

I understand how reactions work.

No, I mean if I had, say, this:

[REAGENT:1:BAR:NONE:NONE:NONE:NONE]
[REAGENT:150:BAR:NONE:NONE:NONE:NONE]

Would the former reagent be gone entirely, or will it simply be 1/150 smaller than it was before?

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1713 on: May 24, 2012, 06:53:22 pm »

I understand how reactions work.

No, I mean if I had, say, this:

[REAGENT:1:BAR:NONE:NONE:NONE:NONE]
[REAGENT:150:BAR:NONE:NONE:NONE:NONE]

Would the former reagent be gone entirely, or will it simply be 1/150 smaller than it was before?

yes, the reagent would be entirely gone. the only time it would just take one is if say it stacked 150 when brought into the workshop, and the reaction only need just one of the items, or something like that
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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1714 on: May 24, 2012, 07:06:52 pm »

Do you know how bars work? >_>

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1715 on: May 24, 2012, 07:09:15 pm »

Do you know how bars work? >_>

probably not, if i've got it wrong lol. i may need to do more research on reactions involving bars.
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

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1716 on: May 24, 2012, 07:19:02 pm »

One unit of metal bars is supposedly 150 when it comes to raw values.  Thread is 1000(citation needed) per item, cloth is 10000.  Everything else is 1:1 Though I'm not sure myself how it will react trying to use portions because I never tried it.   

I think the hospital is the only thing that uses partial items right now.  Using only partial soap bars and partial thread and cloth.
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!!!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1717 on: May 24, 2012, 07:21:37 pm »

Thread is 15000.

I've got this shit down.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1718 on: May 24, 2012, 07:46:54 pm »

[REAGENT:A:10:BAR:NONE:NONE:NONE]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[MIN_DIMENSION:10]
[PRODUCT:100:150:BAR:NONE:GET_MATERIAL_FROM_REAGENT:A:NONE]

not sure if this would only take "10" from a bars "150" and make a full bar

so the result would be:
Bar "140"
Bar "150" product

Only a guess
Logged

jesusmod

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1719 on: May 24, 2012, 09:08:33 pm »

Is it possible to make a death curse type spell? Like, a spell that kills everyone around you, no collateral damage, but causes the person who casts it to die as well?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1720 on: May 24, 2012, 09:13:57 pm »

The caster dying as well from the same speel would be impossible due to the fact [USAGE_HINT:ATTACK] only targets hostile creatures (and ignores any targets that state the caster) only way to get what you want is through tennis interacions

Caster: Death Spell -> target (gets death timer, and death spell)
Targer: Death Spell -> Orginal Caster (gets death timer)
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1721 on: May 24, 2012, 09:32:22 pm »

Putnam you could try it out, but I'm almost positive that you would not get a "smaller" bar. If I remember correctly there was some in between stages where the raws were all still in number of bars but the game wanted sizes so that all items crafted took one bar (even if they said 3 or 8).
Logged

blake77

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1722 on: May 25, 2012, 03:24:06 am »

How about smelters, they do keep track of partial amounts of material when you melt items.
Logged

1v0ry_k1ng

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1723 on: May 25, 2012, 05:43:03 am »

Q:
How does one mod a creatures blood to cause an on-contact syndrome so, eg, hacking up that creature causes everyone slashed by blood to get dizzy/ill

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1724 on: May 25, 2012, 09:45:23 am »

Q:
How does one mod a creatures blood to cause an on-contact syndrome so, eg, hacking up that creature causes everyone slashed by blood to get dizzy/ill

Code: [Select]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[SYNDROME]
[SYN_NAME:blood's syndrome]
        [SYN_CONTACT]
        [SYN_INHALED]
        [SYN_INJECTED]
        [SYN_INGESTED]
            [SYN_AFFECTED_CLASS:GENERAL_POISON]
          [SYN_IMMUNE_CREATURE:creature_name:ALL]
            [SYN_INJECTED]
            [CE_PARALYSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:20]
should be like this, but i could be wrong
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
Pages: 1 ... 113 114 [115] 116 117 ... 544