Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: creature poisoning itsself.  (Read 1038 times)

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
creature poisoning itsself.
« on: June 02, 2010, 10:59:44 am »

Hi. I have a problem with my bog stench. It is supposed to launch a stench attack that poisons people on contact but it keeps killing its self. I even made it fire immune but it still dies. When it was not fire immune I ran into a problem once where it would FRY ITS SELF TO DEATH AND COOK ITS SELF! Later I saw a prepared gos stench pile of everything prepared. The spoiler contains the code. Can you please help me? I use the new unofficial version.

Spoiler (click to show/hide)
« Last Edit: June 02, 2010, 11:03:19 am by antymattar »
Logged

Lancensis

  • Bay Watcher
    • View Profile
Re: creature poisoning itsself.
« Reply #1 on: June 02, 2010, 11:14:34 am »

The reason it is poisoning itself is because you've put the wrong name in the SYN_IMMUNE_CREATURE tag. Can't imagine why it would set itself on fire, unless it had something to do with the fact it has gas for blood.
Logged

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: creature poisoning itsself.
« Reply #2 on: June 02, 2010, 11:38:10 am »

The reason it is poisoning itself is because you've put the wrong name in the SYN_IMMUNE_CREATURE tag. Can't imagine why it would set itself on fire, unless it had something to do with the fact it has gas for blood.
AAHHH!!! Thanks a lot! Now i get it. It isn't putting its self on fire anymore tho. I cant believe I had done that. Tho the gass blood was there for a reason.

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: creature poisoning itsself.
« Reply #3 on: June 02, 2010, 11:40:33 am »

Hi. I have a problem with my bog stench.
Somehow this amuses me.

*ahem* anyway, you could also make some temprature ajustents to the blood. Right now I think its just heating up the blood enough for it to be a gas, setting it on fire in the proces.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: creature poisoning itsself.
« Reply #4 on: June 03, 2010, 03:03:00 am »

no i fixed all that stuf that makes it fry it's self. But is there ny way to make the poison spread bigger?

D_E

  • Bay Watcher
    • View Profile
Re: creature poisoning itsself.
« Reply #5 on: June 03, 2010, 02:54:01 pm »

I believe your poison is currently declared after the breath attack that is supposed to use it, and the name doesn't match the name used in the breath attack declaration.

Try:
Code: [Select]
  material declaration
   [USE_MATERIAL_TEMPLATE:BOG_POISON:CREATURE_EXTRACT_TEMPLATE]
                [STATE_NAME:ALL_SOLID:frozen bog spittere spit]
                [STATE_ADJ:ALL_SOLID:frozen bog spittere spit]
                [STATE_NAME:LIQUID:bog spittere spit]
                [STATE_ADJ:LIQUID:bog spittere spit]
                [STATE_NAME:GAS:boiling bog spittere spit]
                [STATE_ADJ:GAS:boiling bog spittere spit]
                [PREFIX:NONE]
                [SYNDROME]
                    [SYN_NAME:bog spitter toxin]
                    [SYN_AFFECTED_CLASS:GENERAL_POISON]
                    [SYN_IMMUNE_CREATURE:BOG_SPITTER:ALL]
                    [SYN_CONTACT]
                    [CE_NAUSEA:SEV:5:PROB:3:RESISTABLE:SIZE_DILUTES:START:100:PEAK:150:END:200]
                    [CE_PAIN:SEV:70:PROB:10:RESISTABLE:SIZE_DILUTES:START:1:PEAK:5:END:10]
                    [CE_NUMBNESS:SEV:100:PROB:1:RESISTABLE:SIZE_DILUTES:START:1:PEAK:20:END:300]

breath attack declaration
      [MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:BOG_POISON:UNDIRECTED_VAPOR]

Instead of:
Code: [Select]
      [MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:BOG_SPITTER_SPIT:UNDIRECTED_VAPOR]
                [USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
                [STATE_NAME:ALL_SOLID:frozen bog spittere spit]
                [STATE_ADJ:ALL_SOLID:frozen bog spittere spit]
                [STATE_NAME:LIQUID:bog spittere spit]
                [STATE_ADJ:LIQUID:bog spittere spit]
                [STATE_NAME:GAS:boiling bog spittere spit]
                [STATE_ADJ:GAS:boiling bog spittere spit]
                [PREFIX:NONE]
                [SYNDROME]
                    [SYN_NAME:bog spitter toxin]
                    [SYN_AFFECTED_CLASS:GENERAL_POISON]
                    [SYN_IMMUNE_CREATURE:BOG_SPITTER:ALL]
                    [SYN_CONTACT]
                    [CE_NAUSEA:SEV:5:PROB:3:RESISTABLE:SIZE_DILUTES:START:100:PEAK:150:END:200]
                    [CE_PAIN:SEV:70:PROB:10:RESISTABLE:SIZE_DILUTES:START:1:PEAK:5:END:10]
                    [CE_NUMBNESS:SEV:100:PROB:1:RESISTABLE:SIZE_DILUTES:START:1:PEAK:20:END:300]
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)

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: creature poisoning itsself.
« Reply #6 on: June 04, 2010, 01:11:52 am »

Thanks. It works pretty good now!