mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Organs update 3
This commit is contained in:
@@ -587,15 +587,23 @@
|
||||
metabolization_rate = 0.25 * REAGENTS_METABOLISM
|
||||
|
||||
/datum/reagent/medicine/oculine/on_mob_life(mob/living/M)
|
||||
if(M.eye_blind > 0 && current_cycle > 20)
|
||||
if(prob(30))
|
||||
if(current_cycle > 15)
|
||||
if(M.disabilities & BLIND)
|
||||
if(prob(20))
|
||||
M.disabilities &= ~BLIND
|
||||
M.disabilities &= NEARSIGHT
|
||||
M.eye_blurry = 35
|
||||
|
||||
else if(M.disabilities & NEARSIGHT)
|
||||
M.disabilities &= ~NEARSIGHT
|
||||
M.eye_blurry = 10
|
||||
|
||||
else if(M.eye_blind || M.eye_blurry)
|
||||
M.eye_blind = 0
|
||||
else if(prob(80))
|
||||
M.eye_blind = 0
|
||||
M.eye_blurry = 1
|
||||
if(M.eye_blurry > 0)
|
||||
if(prob(80))
|
||||
M.eye_blurry = 0
|
||||
M.eye_blurry = 0
|
||||
else if(M.eye_stat > 0)
|
||||
M.eye_stat -= 1
|
||||
|
||||
..()
|
||||
return
|
||||
|
||||
|
||||
@@ -123,8 +123,6 @@
|
||||
if(!reagents.total_volume)
|
||||
user << "<span class='notice'>[src] is empty.</span>"
|
||||
return
|
||||
if(istype(target, /obj/item/weapon/implantcase/chem))
|
||||
return
|
||||
|
||||
if(!target.is_open_container() && !ismob(target) && !istype(target, /obj/item/weapon/reagent_containers/food) && !istype(target, /obj/item/slime_extract) && !istype(target, /obj/item/clothing/mask/cigarette) && !istype(target, /obj/item/weapon/storage/fancy/cigarettes))
|
||||
user << "<span class='warning'>You cannot directly fill [target]!</span>"
|
||||
|
||||
Reference in New Issue
Block a user