mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-19 03:50:32 +01:00
Ports reagents id removal and typepath usage.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
/datum/bounty/lewd/applies_to(obj/O)
|
||||
if(!istype(O, /obj/item/reagent_containers))
|
||||
return FALSE
|
||||
if(!O.reagents || !O.reagents.has_reagent(wanted_reagent.id))
|
||||
if(!O.reagents || !O.reagents.has_reagent(wanted_reagent.type))
|
||||
return FALSE
|
||||
if(O.flags_1 & HOLOGRAM_1)
|
||||
return FALSE
|
||||
@@ -25,7 +25,7 @@
|
||||
/datum/bounty/lewd/ship(obj/O)
|
||||
if(!applies_to(O))
|
||||
return
|
||||
shipped_volume += O.reagents.get_reagent_amount(wanted_reagent.id)
|
||||
shipped_volume += O.reagents.get_reagent_amount(wanted_reagent.type)
|
||||
if(shipped_volume > required_volume)
|
||||
shipped_volume = required_volume
|
||||
|
||||
@@ -102,4 +102,4 @@ datum/bounty/lewd/fluid/New()
|
||||
worth += fluids[/datum/reagent/consumable/milk]*2
|
||||
worth += fluids[/datum/reagent/consumable/femcum]*5
|
||||
return worth
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
//Sizechem reagent
|
||||
/datum/reagent/sizechem
|
||||
name = "Cell-Volume Altering Base"
|
||||
id = "sizechem"
|
||||
description = "A stabilized compound liquid, used as a basis for increasing or decreasing the size of living matter with more recipes."
|
||||
color = "#C900CC"
|
||||
taste_description = "regret"
|
||||
@@ -39,7 +38,6 @@
|
||||
//Growthchem reagent
|
||||
/datum/reagent/growthchem
|
||||
name = "Prospacillin"
|
||||
id = "growthchem"
|
||||
description = "A stabilized altercation of size-altering liquids, this one appears to increase cell volume."
|
||||
color = "#E70C0C"
|
||||
taste_description = "a sharp, fiery and intoxicating flavour"
|
||||
@@ -89,7 +87,6 @@
|
||||
//Shrinkchem reagent
|
||||
/datum/reagent/shrinkchem
|
||||
name = "Diminicillin"
|
||||
id = "shrinkchem"
|
||||
description = "A stabilized altercation of size-altering liquids, this one appears to decrease cell volume."
|
||||
color = "#0C26E7"
|
||||
taste_description = "a pungent, acidic and jittery flavour"
|
||||
|
||||
Reference in New Issue
Block a user