Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Social Distancing Curse?  (Read 763 times)

gchristopher

  • Bay Watcher
    • View Profile
Social Distancing Curse?
« on: April 04, 2020, 07:34:36 pm »

I'm trying to think of any way to structure a "Social Distancing" curse with a short range (ideally 6 tiles exactly) that would cause anyone else with the curse to die instantly. Pair that with a way to automatically infect all citizens and long-term residents (Or more hilariously, all visitors), and you'd have quite the challenge fort!

Any ideas? I guess, worst case, you could have a dfhack script running every 10 ticks or so that checks relative civilian positions (though it'd be nicer if it also checked line of sight) and applies some debilitating curse to everyone that gets too close to someone else?
Logged

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: Social Distancing Curse?
« Reply #1 on: April 05, 2020, 05:23:14 am »

A greeting interaction that gives syndrome, at desired range, not touch range?
"cursed with coughing"
"death by lungs paralysis" (common in DF snakebites)

   [CAN_DO_INTERACTION:BP_BUMP]
      [CDI:ADV_NAME:Head bump]
      [CDI:USAGE_HINT:GREETING]
      [CDI:BP_REQUIRED:BY_CATEGORY:HEAD]
      [CDI:VERB:head-bump:head-bumps:bump heads]
      [CDI:CAN_BE_MUTUAL]
      [CDI:TARGET:A:SELF_ONLY]
      [CDI:TARGET:B:TOUCHABLE] change
      [CDI:TARGET_RANGE:B:1] 3 tiles maybe?
      [CDI:MAX_TARGET_NUMBER:B:1] change
      [CDI:WAIT_PERIOD:20]
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884