mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 06:07:22 +01:00
[MIRROR] fix disposal fuckery (#12291)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
1c0ea1da56
commit
46bcb97160
@@ -13,7 +13,7 @@
|
||||
|
||||
/datum/component/hose_connector/Initialize(var/set_unique_name = null)
|
||||
carrier = parent
|
||||
reagents = new /datum/reagents( 60, src)
|
||||
reagents = new /datum/reagents(60, src)
|
||||
// Handle uniquely named connectors
|
||||
if(set_unique_name)
|
||||
name = set_unique_name
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
// Check for destinations
|
||||
var/list/options = list("Mouth")
|
||||
if(human_owner?.vore_selected)
|
||||
if(human_owner.vore_selected)
|
||||
options.Add("Belly ([sanitize(human_owner.vore_selected.name)])")
|
||||
if(!human_owner.isSynthetic()) // Results in a lot of bad behaviors...
|
||||
options.Add("Bloodstream")
|
||||
@@ -92,11 +92,13 @@
|
||||
return TRUE
|
||||
|
||||
/datum/component/hose_connector/inflation/connected_reagents()
|
||||
if(!human_owner)
|
||||
return null
|
||||
switch(connection_mode)
|
||||
if(CHEM_INGEST)
|
||||
return human_owner.ingested
|
||||
if(CHEM_VORE)
|
||||
return human_owner?.vore_selected?.reagents
|
||||
return human_owner.vore_selected?.reagents
|
||||
if(CHEM_BLOOD)
|
||||
// Inflating
|
||||
var/datum/component/hose_connector/other = get_pairing()
|
||||
|
||||
Reference in New Issue
Block a user