mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Addiction Rework
This commit is contained in:
@@ -105,7 +105,7 @@ REAGENT SCANNER
|
||||
if(H.reagents.addiction_list.len)
|
||||
user.show_message("<span class='danger'>Subject is addicted to the following reagents:</span>")
|
||||
for(var/datum/reagent/R in H.reagents.addiction_list)
|
||||
user.show_message("<span class='danger'>[R.name]</span>")
|
||||
user.show_message("<span class='danger'>[R.name] Stage: [R.addiction_stage]/5</span>")
|
||||
else
|
||||
user.show_message("<span class='notice'>Subject is not addicted to any reagents.</span>")
|
||||
|
||||
|
||||
@@ -174,8 +174,6 @@ LIGHTERS ARE IN LIGHTERS.DM
|
||||
if(reagents && reagents.total_volume) // check if it has any reagents at all
|
||||
if(is_being_smoked) // if it's being smoked, transfer reagents to the mob
|
||||
var/mob/living/carbon/C = loc
|
||||
if(prob(15)) // so it's not an instarape in case of acid
|
||||
reagents.reaction(C, INGEST)
|
||||
reagents.trans_to(C, REAGENTS_METABOLISM)
|
||||
if(!reagents.total_volume) // There were reagents, but now they're gone
|
||||
C << "<span class='notice'>Your [name] loses its flavor.</span>"
|
||||
|
||||
Reference in New Issue
Block a user