Addiction Rework

This commit is contained in:
Fox-McCloud
2016-03-15 18:36:29 -04:00
parent 0f2d8b1465
commit efe1871595
10 changed files with 104 additions and 320 deletions
+1 -1
View File
@@ -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>")
-2
View File
@@ -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>"