CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.68k stars 4.19k forks source link

Drug auto-consumption #78061

Open Little-119 opened 4 days ago

Little-119 commented 4 days ago

Is your feature request related to a problem? Please describe.

I like to play characters with drug addictions, but I find most of the difficulty in it is the tedium of stopping whatever I'm doing every two hours to consume some, even if I can make it as easy as ESC -> activate -> c advanced electronic cigarette -> Read -> scroll -> enter

Solution you would like.

solutions I imagine for this would be

  1. the easier to implement: add an 'auto-take' zone like the 'auto eat' and 'auto drink' ones, from which the player will consume drugs when they start to withdraw
  2. the comprehensive: a 'drug policy' system, akin to auto-pickup or the feature of the same name in RimWorld, in which conditions can be set for things like amount of a drug at hand (if the player wishes to ration drugs, but finding how much of something a player 'has' is difficult) and tiredness (preventing lit cigarettes and stimulants from affecting sleep)

Describe alternatives you have considered.

these options are not mutually exclusive with

  1. tune down the frequency of drug withdrawals to be more reasonable to manually manage, akin to Project Zomboid's smoker trait However, I know nothing at all about the accuracy of the game's withdrawal mechanics to actually report it as an issue

Simply not taking drug addictions, ignoring a feature of the game, seems lame Taking drug addictions just to immediately wait them out seems lame when character creation choices are, since the retirement of the points system, entirely for roleplay and self-imposed challenges

Additional context

I think Rimworld's drug policy really is a good reference for option 2, but conditions would be different image

I've only played with addictions to 'soft' drugs that are readily available, caffeine and nicotine. 'Hard' drugs might need different considerations.

NetSysFire commented 3 days ago

Drugs have the NO_AUTO_CONSUME flag to exempt them from auto consumption as a whole because of a variety of issues, including accidentally taking meth when not having any addiction because you dropped it into an auto consume tile.