mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
Make protean blobs get vore prefs
This commit is contained in:
@@ -66,6 +66,10 @@
|
|||||||
else
|
else
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
|
/mob/living/simple_mob/protean_blob/Login()
|
||||||
|
. = ..()
|
||||||
|
copy_from_prefs_vr(bellies = FALSE) //Load vore prefs
|
||||||
|
|
||||||
/mob/living/simple_mob/protean_blob/Destroy()
|
/mob/living/simple_mob/protean_blob/Destroy()
|
||||||
humanform = null
|
humanform = null
|
||||||
refactory = null
|
refactory = null
|
||||||
|
|||||||
@@ -243,7 +243,7 @@
|
|||||||
//
|
//
|
||||||
// Proc for applying vore preferences, given bellies
|
// Proc for applying vore preferences, given bellies
|
||||||
//
|
//
|
||||||
/mob/living/proc/copy_from_prefs_vr()
|
/mob/living/proc/copy_from_prefs_vr(var/bellies = TRUE)
|
||||||
if(!client || !client.prefs_vr)
|
if(!client || !client.prefs_vr)
|
||||||
to_chat(src,"<span class='warning'>You attempted to apply your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev.</span>")
|
to_chat(src,"<span class='warning'>You attempted to apply your vore prefs but somehow you're in this character without a client.prefs_vr variable. Tell a dev.</span>")
|
||||||
return FALSE
|
return FALSE
|
||||||
@@ -261,6 +261,7 @@
|
|||||||
can_be_drop_prey = P.can_be_drop_prey
|
can_be_drop_prey = P.can_be_drop_prey
|
||||||
can_be_drop_pred = P.can_be_drop_pred
|
can_be_drop_pred = P.can_be_drop_pred
|
||||||
|
|
||||||
|
if(bellies)
|
||||||
release_vore_contents(silent = TRUE)
|
release_vore_contents(silent = TRUE)
|
||||||
vore_organs.Cut()
|
vore_organs.Cut()
|
||||||
for(var/entry in P.belly_prefs)
|
for(var/entry in P.belly_prefs)
|
||||||
|
|||||||
Reference in New Issue
Block a user