Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Allergies  (Read 1187 times)

stolide

  • Bay Watcher
    • View Profile
Allergies
« on: March 01, 2011, 01:12:18 pm »

I just had an idea that I will likely never implement, but may be useful for things like the Genesis mod. Could one add in allergies by putting syndromes on various things that only effect specific castes of races? For example, mod bees with an additional syndrome that is typically lethal, but only effects dwarves in the bee allergy caste.
Logged
Under the somber sleep of stones, a star is snuffed by a candle.

As Urist McKant Said, "I must act according to the maxim such that I can will that maxim to destroy everything beloved to me at the flip of a lever."

rephikul

  • Bay Watcher
  • [CURIOUSBEAST_IDEA]
    • View Profile
Re: Allergies
« Reply #1 on: March 01, 2011, 01:19:18 pm »

syndromes can affect specific castes so yes it can be done.
Logged
Intensifying Mod v0.23 for 0.31.25. Paper tigers are white.
Prepacked Dwarf Fortress with Intensifying mod v.0.23, Phoebus graphics set, DFhack, Dwarf Therapist, Runesmith and a specialized custom worldgen param.

stolide

  • Bay Watcher
    • View Profile
Re: Allergies
« Reply #2 on: March 01, 2011, 01:42:42 pm »

That is very interesting. It sounds like it has many potential applications, particularly once we get syndromes that can be applied to weapons.
Logged
Under the somber sleep of stones, a star is snuffed by a candle.

As Urist McKant Said, "I must act according to the maxim such that I can will that maxim to destroy everything beloved to me at the flip of a lever."

Sphalerite

  • Bay Watcher
    • View Profile
    • Drew's Robots and stuff
Re: Allergies
« Reply #3 on: March 01, 2011, 02:05:32 pm »

syndromes can affect specific castes so yes it can be done.

How do you make a syndrome affect a specific caste?
Logged
Any intelligent fool can make things bigger and more complex... It takes a touch of genius --- and a lot of courage to move in the opposite direction.

3

  • Bay Watcher
    • View Profile
Re: Allergies
« Reply #4 on: March 01, 2011, 02:06:45 pm »

CREATURE_CLASS is at the caste level as far as I'm aware (odd, isn't it?).
Logged

Interus

  • Bay Watcher
    • View Profile
Re: Allergies
« Reply #5 on: March 02, 2011, 12:46:59 am »

CREATURE_CLASS is at the caste level as far as I'm aware (odd, isn't it?).
It is?  From what I was reading, that's a tag that can be included in the noble ranks too.  I was kinda wondering what it does and hoping it would allow you to force only a specific caste to have that rank.

Unrelated to allergies, other than the idea of limiting an effect to a specific caste, but I was pretty excited about the possibility.
Logged

3

  • Bay Watcher
    • View Profile
Re: Allergies
« Reply #6 on: March 02, 2011, 01:10:37 am »

The purpose of CREATURE_CLASS in positions, as you suspected, is to restrict or allow the availability of certain positions to creatures or castes in the specified class(es). Unfortunately, it doesn't work very well at present - I think it ends up affecting the first occupant of the position during worldgen and then ceases to function there, and doesn't seem to affect Fortress mode at all.
« Last Edit: March 02, 2011, 01:18:06 am by 3 »
Logged

Assassinfox

  • Bay Watcher
  • [FANCIFUL]
    • View Profile
    • Raging at the Box
Re: Allergies
« Reply #7 on: March 02, 2011, 01:24:31 am »

So, create a caste of dwarves with "BEE_ALLERGIC" or something like that as a class and give bees a syndrome that causes horrible death to only that class?  Is it possible to make a syndrome have multiple affects that affect different classes, or would you have to make a new caste of bee?  Can a creature have more than one creature class?

3

  • Bay Watcher
    • View Profile
Re: Allergies
« Reply #8 on: March 02, 2011, 01:26:31 am »

So, create a caste of dwarves with "BEE_ALLERGIC" or something like that as a class and give bees a syndrome that causes horrible death to only that class?

Right.

Is it possible to make a syndrome have multiple affects that affect different classes, or would you have to make a new caste of bee?

You'd have to make more than one syndrome, not more than one caste.

Can a creature have more than one creature class?

Yes, very much so.
Logged

Assassinfox

  • Bay Watcher
  • [FANCIFUL]
    • View Profile
    • Raging at the Box
Re: Allergies
« Reply #9 on: March 02, 2011, 08:19:00 pm »

You'd have to make more than one syndrome, not more than one caste.

So, a single material can house multiple syndromes?

Dante

  • Bay Watcher
  • Dante likes cats for their corrupt intentions.
    • View Profile
Re: Allergies
« Reply #10 on: March 02, 2011, 09:24:08 pm »

I gave my bees a 1% chance of causing massive swelling, pain and necrosis, meaning that all of my population have a very small chance of reacting badly when stung.