Reagent Addictions (#17498)

* Addictions

* improvements to addiction code

* some small revamps

* some polishing to reagent code

* some more fixes

* wiki updated for addiction

* proper addiction sync on respawn

* final cleanup, config

* coffee handle addiction proc

* fixed global var

* Addictions and

Gives alcohol special effects
Disables the harder addictions
Gives nicotine an a special effect

* remove >0

* safety

* Update medicine.dm

* Update medicine.dm

* Update food_drinks.dm

* update lazydefines

* disable alcohol addiction on virgo

* use lazylen, proper addiction end messages

* cure message bugfix

* use right args

* proper macro

---------

Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
Will
2025-05-15 13:57:41 -04:00
committed by GitHub
parent 45470701a0
commit c213dbcd21
30 changed files with 580 additions and 9 deletions
+1
View File
@@ -525,6 +525,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
new_character.dna.ResetUIFrom(new_character)
new_character.sync_dna_traits(TRUE) // Traitgenes Sync traits to genetics if needed
new_character.sync_organ_dna()
new_character.sync_addictions() // These are addicitions our profile wants... May as well give them!
new_character.initialize_vessel()
if(inhabit)
new_character.key = player_key