Bay 12 Games Forum

Please login or register.

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

Author Topic: Plague  (Read 5614 times)

~Q~

  • Bay Watcher
    • View Profile
Plague
« on: March 15, 2012, 04:01:16 am »

Hi everyone,

I put together a few plague interactions for your pleasure. What we have here is a particularly virulent plague with an incubation period. It shouldn't kill any dwarves, but it sure will make them sickly.
Simply add [CREATURE_CLASS:PLAGUE_SUSCEPTIBLE] to any creature (like dwarves) you want to be susceptible to this illness.

Code: [Select]
[INTERACTION:PASS_PLAGUE]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[I_TARGET:B:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:creature]
[IT_AFFECTED_CLASS:PLAGUE_SUSCEPTIBLE]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[I_EFFECT:CONTACT]
[IE_TARGET:B]
[IE_IMMEDIATE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:B]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:PLAGUE]
[CE_PHYS_ATT_CHANGE:STRENGTH:80:90:TOUGHNESS:80:90:ENDURANCE:50:80:START:200:END:200000]
[CE_MENT_ATT_CHANGE:FOCUS:80:90:START:200:END:200000]
[CE_FEVER:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DROWSINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_VOMIT_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_COUGH_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_CAN_DO_INTERACTION:START:60:END:190000]
[CDI:ADV_NAME:Spread illness]
[CDI:INTERACTION:PASS_PLAGUE]
[CDI:USAGE_HINT:GREETING]
[CDI:VERB:cough:coughs:is coughing]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:WAIT_PERIOD:20]

[INTERACTION:PLAGUE_ORIGIN]
[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]
[IS_HIST_STRING_1: afflicted ]
[IS_HIST_STRING_2: with a grave sickness]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CLASS:PLAGUE_SUSCEPTIBLE]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_CLASS:PLAGUE]
[CE_PHYS_ATT_CHANGE:STRENGTH:80:90:TOUGHNESS:80:90:ENDURANCE:50:80:START:200:END:200000]
[CE_MENT_ATT_CHANGE:FOCUS:80:90:START:200:END:200000]
[CE_FEVER:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DROWSINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_VOMIT_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_COUGH_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_CAN_DO_INTERACTION:START:60:END:190000]
[CDI:INTERACTION:PASS_PLAGUE]
[CDI:USAGE_HINT:GREETING]
[CDI:VERB:cough:coughs:is coughing]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:WAIT_PERIOD:20]

[INTERACTION:PLAGUE_EFFECT]
[I_SOURCE:REGION]
[IS_REGION:EVIL_ONLY]
[IS_REGION:SAVAGE_ALLOWED]
[IS_REGION:ANY_TERRAIN]
[IS_FREQUENCY:10]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_REGION]
[IT_AFFECTED_CLASS:PLAGUE_SUSCEPTIBLE]
[IT_REQUIRES:HAS_BLOOD]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:SUPERNATURAL]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_INTERMITTENT:MONTHLY]
[SYNDROME]
[SYN_CLASS:PLAGUE]
[CE_PHYS_ATT_CHANGE:STRENGTH:80:90:TOUGHNESS:80:90:ENDURANCE:50:80:START:200:END:200000]
[CE_MENT_ATT_CHANGE:FOCUS:80:90:START:200:END:200000]
[CE_FEVER:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_DROWSINESS:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_VOMIT_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_COUGH_BLOOD:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:1600:PEAK:1700:END:200000]
[CE_CAN_DO_INTERACTION:START:60:END:190000]
[CDI:INTERACTION:PASS_PLAGUE]
[CDI:USAGE_HINT:GREETING]
[CDI:VERB:cough:coughs:is coughing]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:WAIT_PERIOD:20]
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Plague
« Reply #1 on: March 15, 2012, 03:43:40 pm »

Very nice. :) I will test them out and it seems that they work a lot better then mine.

Did you do any science in worldgen, how many people get affected, how often a dwarf might get cursed and arrive as migrant in a fortress, and so forth ? Because this is exactly what I planned to add to my mod, although I used pop-ratio and special migrants for this, and not curses.
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 :::

Nihilist

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #2 on: March 15, 2012, 03:58:05 pm »

This is awesome!
I laugh out loud at the usage_hint:Greeting ^.^ that's brilliant!
Logged

~Q~

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #3 on: March 15, 2012, 04:14:53 pm »

Haven't had time to test them in Fortress mode, but a test in Arena mode amongst aligned dwarves shows it as being highly communicative.
To easily see it in worldgen I'd have to add the creature renaming token to the syndrome, which would be okay for testing purposes, but very silly for the regular game.
Logged

~Q~

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #4 on: March 16, 2012, 04:37:16 am »

I would just like to mention that I'd love to hear from anyone who's used this in fortress mode and seen the effects.
Logged

Reudh

  • Bay Watcher
  • Perge scelus mihi diem perficias.
    • View Profile
Re: Plague
« Reply #5 on: March 16, 2012, 04:53:06 am »

Well done, dear Forum Brother. Now to weaponise this, or make my own nasty plagues. (With credit of course.)

~Q~

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #6 on: March 16, 2012, 05:39:06 am »

Naturally, but mostly I hoped to provide a foundation upon which others may build, creating many more varieties of sickness.
I would really like to see several potential plagues infecting a fort. It would bring a whole new element to the game.
Logged

Snow Gibbon

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #7 on: March 17, 2012, 05:28:29 am »

Naturally, but mostly I hoped to provide a foundation upon which others may build, creating many more varieties of sickness.
I would really like to see several potential plagues infecting a fort. It would bring a whole new element to the game.

A plague that makes people breathe fire when greeting each other!? YESSSSSSSS . . .
Logged

Reudh

  • Bay Watcher
  • Perge scelus mihi diem perficias.
    • View Profile
Re: Plague
« Reply #8 on: March 17, 2012, 07:47:33 am »

Just how virulent is this plague, and is there a way to control the initial virulency of the interaction? Like for example a % chance of the interaction succeeding?

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Plague
« Reply #9 on: March 17, 2012, 12:00:01 pm »

From what I can see in the raws this will affect everyone in the fort, for about 2 years. Then slowly starts to end. Dwarves go back to normal.

It would be great to make is less virulent, make it more powerful, and add a workshop with a boiling stone syndrome that can make dwarves immune to it. But very micromanagy, since you can really control the movement and seperation of dwarves too much. I plan to write 5 different plagues based upon this one and play a test fortress. I think one can also see how often it strikes in legends though.
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 :::

~Q~

  • Bay Watcher
    • View Profile
Re: Plague
« Reply #10 on: March 17, 2012, 06:02:27 pm »

Yeah, this specific example isn't intended to be lethal, and is, as I said, a basis upon which others can build.
If anybody builds their own plagues, I invite them to post the raws in this thread.
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: Plague
« Reply #11 on: March 17, 2012, 06:25:56 pm »

Beat me to it before I could. I had the outlines of one set out since 31.25. Be testing this out to see if I can make bioweapons.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Plague
« Reply #12 on: April 14, 2012, 07:41:33 pm »

Not forgotten, sill working on it. Cant get a cure to work though, the plagues I did always affect the entire fortress, quarantines dont really work, due to micromangament being too hard... any ideas ?
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 :::

Pokon

  • Bay Watcher
  • [ETHICS:HAHAHAHA]
    • View Profile
Re: Plague
« Reply #13 on: April 14, 2012, 08:17:35 pm »

Heh, forget the Blood God, Nurgle loves you!
Logged
A vile force of dark'ness has arrived, led by their champion Ebony Dark'ness Dementia Raven Way.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Plague
« Reply #14 on: April 14, 2012, 08:46:29 pm »

Yeah, I used similar mechanics for viruses in Post-Apocalypse mod. You can also add beneficial "viruses", including those which increase stats, add unusual properties or even clean people :D.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository
Pages: [1] 2