mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-21 05:04:10 +01:00
Adds on-demand belly loading for simplemobs.
-Voremob bellies only get loaded in when they either try to use the belly or open their vorepanel (in case of player-controlled mobs)
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
var/obj/item/device/radio/headset/mob_headset/mob_radio //Adminbus headset for simplemob shenanigans.
|
||||
does_spin = FALSE
|
||||
|
||||
var/voremob_loaded = FALSE //CHOMPedit: On-demand belly loading.
|
||||
|
||||
// Release belly contents before being gc'd!
|
||||
/mob/living/simple_mob/Destroy()
|
||||
release_vore_contents()
|
||||
@@ -191,7 +193,7 @@
|
||||
|
||||
// Make sure you don't call ..() on this one, otherwise you duplicate work.
|
||||
/mob/living/simple_mob/init_vore()
|
||||
if(!vore_active || no_vore)
|
||||
if(!vore_active || no_vore || !voremob_loaded) //CHOMPedit: On-demand belly loading.
|
||||
return
|
||||
|
||||
if(LAZYLEN(vore_organs))
|
||||
|
||||
Reference in New Issue
Block a user