Bay 12 Games Forum

Please login or register.

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

Author Topic: Paralyze body without paralyzing the lungs  (Read 1381 times)

nuget102

  • Bay Watcher
    • View Profile
Paralyze body without paralyzing the lungs
« on: April 14, 2014, 07:23:29 pm »

I finally got my creature to poison things (after an hour or so of tinkering  :-[ ) but now i'm curious how I can get it to poison without making the thing it poisons suffocate? For example I want it to poison smaller creatures but it keeps killing them when that happens (due to suffocation) and i'm just not sure how to do it...
This is my creatures code, in case you want to/need to look at it.
Code: [Select]
[CREATURE:DEEP_CAVERN_CAVE_KNOCKER]
[DESCRIPTION:A small humanoid creature that makes it home in mines and caverns.]
[NAME:deep cavern cave knocker:deep cavern cave knockers:deep cavern cave knocker]
[CASTE_NAME:deep cavern cave knocker:deep cavern cave knockers:deep cavern cave knocker]
[CHILD:2][GENERAL_CHILD_NAME:cave knocker baby:cave knocker babies]
[CREATURE_TILE:'y'][COLOR:9:0:1]
[LARGE_ROAMING]
[BIOME:SUBTERRANEAN_CHASM]
[UNDERGROUND_DEPTH:1:3]
[PARALYZEIMMUNE]
[POPULATION_NUMBER:5:20]
[CAN_LEARN]
[CAN_SPEAK]
[PET]
[COMMON_DOMESTIC]
[LOCKPICKER]
[TRAPAVOID]
[MISCHIEVOUS]
[NATURAL_SKILL:SNEAK:3]
[CANOPENDOORS]
[BONECARN]
[PREFSTRING:large ears]
[PERSONALITY:EXCITEMENT_SEEKING:50:75:100]
[PERSONALITY:ANXIETY:0:0:0]
[PERSONALITY:ADVENTUROUSNESS:50:75:100]
[PERSONALITY:LIBERALISM:50:75:100]
[PERSONALITY:ORDERLINESS:0:25:50]
[PERSONALITY:DUTIFULNESS:0:25:50]
[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:70]
[BODY_SIZE:0:91:290]
[BODY_SIZE:0:182:600]
[BODY_APPEARANCE_MODIFIER:HEIGHT:65:75:90:100:110:125:135]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
[APP_MOD_IMPORTANCE:500]
[SET_BP_GROUP:BY_CATEGORY:EYE]
[BP_APPEARANCE_MODIFIER:CLOSE_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:DEEP_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:ROUND_VS_NARROW:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[SET_BP_GROUP:BY_CATEGORY:LIP]
[BP_APPEARANCE_MODIFIER:THICKNESS:50:70:90:100:110:130:200]
[APP_MOD_NOUN:lips:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:150:190]
[SET_BP_GROUP:BY_CATEGORY:NOSE]
[BP_APPEARANCE_MODIFIER:BROADNESS:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:LENGTH:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:UPTURNED:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:CONVEX:0:70:90:100:110:130:200]
[APP_MOD_NOUN:nose bridge:SINGULAR]
[SET_BP_GROUP:BY_CATEGORY:EAR]
[BP_APPEARANCE_MODIFIER:SPLAYED_OUT:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]
[BP_APPEARANCE_MODIFIER:HANGING_LOBES:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]
[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[SET_BP_GROUP:BY_CATEGORY:TOOTH]
[BP_APPEARANCE_MODIFIER:GAPS:0:70:90:100:110:130:200]
[APP_MOD_NOUN:teeth:PLURAL]
[BP_APPEARANCE_MODIFIER:LENGTH:100:100:100:100:100:100:100]
[APP_MOD_IMPORTANCE:1000]
[APP_MOD_NOUN:teeth:PLURAL]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[SET_BP_GROUP:BY_CATEGORY:SKULL]
[BP_APPEARANCE_MODIFIER:HIGH_CHEEKBONES:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:BROAD_CHIN:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:JUTTING_CHIN:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:SQUARE_CHIN:0:70:90:100:110:130:200]
[SET_BP_GROUP:BY_CATEGORY:THROAT]
[BP_APPEARANCE_MODIFIER:DEEP_VOICE:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:RASPY_VOICE:0:70:90:100:110:130:200]
[SET_BP_GROUP:BY_CATEGORY:HEAD]
[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[MAXAGE:200:1500]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen deep cavern cave knocker venom]
[STATE_ADJ:ALL_SOLID:frozen deep cavern cave knocker venom]
[STATE_NAME:LIQUID:deep cavern cave knocker venom]
[STATE_ADJ:LIQUID:deep cavern cave knocker venom]
[STATE_NAME:GAS:boiling deep cavern cave knocker venom]
[STATE_ADJ:GAS:boiling deep cavern cave knocker venom]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_NAME:deep cavern cave knocker bite]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:DEEP_CAVERN_CAVE_KNOCKER:ALL]
[SYN_INJECTED]
[CE_PARALYSIS:SEV:100:PROB:100:BP_CATEGORY:MUSCLE_ONLY:ALL:START:5:PEAK:10:END:2500]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:NAIL]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[BABY]
[CHILD:1]
[EQUIPS]
[ALL_ACTIVE]
[HOMEOTHERM:10067]
[SWIMS_LEARNED]
[SWIM_SPEED:2500]
[CASTE:FEMALE]
[FEMALE]
[CASTE:MALE]
[MALE]
[LAYS_EGGS]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
[EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
[EGG_SIZE:5]
[CLUTCH_SIZE:1:3]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:GREEN:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:PUPIL_EYE_YELLOW:1]
[TLCM_NOUN:eyes:PLURAL]
Logged
The fort where filth melts your skin! (updated 4/9/15)

Curiosity killed the cat.
Satisfaction brought it back.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #1 on: April 14, 2014, 07:39:23 pm »

[CE_ADD_TAG:NOBREATH:START:<when the paralysis happens>:END:<when paralysis ends + 500>]
Logged

nuget102

  • Bay Watcher
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #2 on: April 14, 2014, 08:30:16 pm »

[CE_ADD_TAG:NOBREATH:START:<when the paralysis happens>:END:<when paralysis ends + 500>]

Thank you! You sir are a god. :D I love you now. <3
Logged
The fort where filth melts your skin! (updated 4/9/15)

Curiosity killed the cat.
Satisfaction brought it back.

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #3 on: April 15, 2014, 03:25:10 pm »

Of course, now they can't drown during that period of time...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #4 on: April 15, 2014, 03:29:19 pm »

Of course, now they can't drown during that period of time...
Well hopefully it doesn't fall into water then? lol. And yes I had that question in my mind as well and it's is almost impossible to allow drowning if in water, unless the syndrome gives and interaction that can be used when in water to remove NOBREATHE problem is PARALYSED creatures get no actions when in that state so that is impossible lol
Logged

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #5 on: April 16, 2014, 12:24:23 pm »

What about forcing [SPEED_PERC:0]?

That would make the creature so slow that they would be essentially paralyzed. If you add in an additional symptom that forces a 1 frame of unconsciousness/actual paralysis, then they'd fall over, too.

Additionally, severe swelling can impede the ability of the affected area.  Causing an intense swelling of the legs and arms could work, though I've not tested it.  Be warned, though; prolonged swelling causes necrosis.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #6 on: April 16, 2014, 01:15:06 pm »

if you're doing that (which will probably bring the creature up to speed 10,000) might as well bring the STRENGTH and AGILITY down to 1 percent too (stuff is now majorly heavier slowing it down, and it loses it's agility speed boost)
Logged

GavJ

  • Bay Watcher
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #7 on: April 16, 2014, 02:11:31 pm »

I'm pretty sure I've seen syndromes that selectively make your arms bleed, etc. Which would imply you can actually just not paralyze the lungs. Although it might have to be a whitelisted sort of situation (painstakingly listing every single thing other than the lungs to paralyze)

Why do you want paralysis anyway, as opposed to just unconsciousness? Unconsciousness allows them to drown, but without suffocating, and still renders them a non-threat.
Logged
Cauliflower Labs – Geologically realistic world generator devblog

Dwarf fortress in 50 words: You start with seven alcoholic, manic-depressive dwarves. You build a fortress in the wilderness where EVERYTHING tries to kill you, including your own dwarves. Usually, your chief imports are immigrants, beer, and optimism. Your chief exports are misery, limestone violins, forest fires, elf tallow soap, and carved kitten bone.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #8 on: April 16, 2014, 02:24:47 pm »

But what if you wanted a creature that has a sleeping gas. Now your Sleep monster, and creepy spider venom beast do the same thing?

Of course that is a "safer" alternative to paralysis but then why have a paralysis syndrome effect at all in game? Considering some venoms and poisons in RL due cause death by suffocation from causing the lungs to become paralysed and or heart which of course kills you (duh lol)

But up to the modder to pick his/her poison because personally  victim that is paralysed but *aware* of what is going on a bit scarier then being rendered unconscious.

EDIT:
Even better workaround tho, kudos.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #9 on: April 16, 2014, 03:21:28 pm »

But what if you wanted a creature that has a sleeping gas. Now your Sleep monster, and creepy spider venom beast do the same thing?

Of course that is a "safer" alternative to paralysis but then why have a paralysis syndrome effect at all in game? Considering some venoms and poisons in RL due cause death by suffocation from causing the lungs to become paralysed and or heart which of course kills you (duh lol)

But up to the modder to pick his/her poison because personally  victim that is paralysed but *aware* of what is going on a bit scarier then being rendered unconscious.

EDIT:
Even better workaround tho, kudos.
Does paralyzing the head make the [THOUGHT] center stop working and thus cause collapse?  Then it could target by the HEAD category and be done with it.  Mindless things would continue to move, which might be a feature or a bug depending on what one is trying to accomplish.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #10 on: April 16, 2014, 03:36:14 pm »

I think i've had issues with targeted paralysis and it mostly just does full paralysis anyways, but I think they will be fine, you you did impair function it might do it?
Logged

nuget102

  • Bay Watcher
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #11 on: April 16, 2014, 03:48:58 pm »

I tried paralyzing certain parts but, for some odd reason, I couldn't get it to work. Perhaps I was just making errors in the way it's meant to be typed?
Logged
The fort where filth melts your skin! (updated 4/9/15)

Curiosity killed the cat.
Satisfaction brought it back.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #12 on: April 16, 2014, 04:07:38 pm »

I had tried making a "SNARE" spell which was supposed to just paralyse STANCE parts [CE_PARALYSIS:SEV:10000:PROB:100:BP:BY_TYPE:STANCE:ALL:RESISTABLE:START:0:END:25] however the entire creature is paralysed and smaller ones outright die from suffocation. hence why it lasts only 25 ticks (1/4 of a second) it's enough to trip a creature and make it waste a turn to stand up afterwards but I've never figured out a true way to Root/Snare something that it just cna't move (Wish IMMOBILE was a tag that could be added, and FLIER removeable. Than i'd just add IMMOBILE and remove FLIER for the root time and be done with it)
Logged

Roses

  • Bay Watcher
    • View Profile
Re: Paralyze body without paralyzing the lungs
« Reply #13 on: April 16, 2014, 04:08:29 pm »

Paralysis doesn't accept targets. Wiki - Syndromes
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Paralyze body without paralyzing the lungs
« Reply #14 on: April 16, 2014, 04:58:25 pm »

The wiki must have been updated in the past few years, I started with the root spell based on the old info
Quote
CE_PARALYSIS    Yes    Causes paralysis in the affected body part. Targeted causes sluggishness and significantly reduces speed. Untargeted paralysis is 'complete paralysis' and will cause suffocation in smaller creatures.
Logged
Pages: [1] 2