mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 07:28:53 +01:00
Spontaneous Vore Element (#18556)
* true/false * wip p1 * Refactors stumble vore to be an element * Makes dropnoms a component * cleanup * Fixes these * checked further down * framework here * needs testing * MORE CLEAR * Fixes slipvore * this works aye * no copy paste * Update stumblevore.dm * Update stumblevore.dm * Update stumblevore.dm * Fixes * only one has to slip * fix this * rename * Update spontaneous_vore.dm * SLIP VORE * Update code/modules/mob/living/living_movement.dm * Update unlucky.dm
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
|
||||
if(has_buckled_mobs() && buckled_mobs.len >= max_buckled_mobs)
|
||||
for(var/mob/living/L in buckled_mobs)
|
||||
if(istype(L) && M.CanStumbleVore(L))
|
||||
if(istype(L) && CanStumbleVore(prey = L, pred = M))
|
||||
unbuckle_mob(L, TRUE)
|
||||
if(M == user)
|
||||
M.visible_message(span_warning("[M.name] sits down on [L.name]!"))
|
||||
@@ -218,7 +218,7 @@
|
||||
if(has_buckled_mobs() && buckled_mobs.len >= max_buckled_mobs) //Handles trying to buckle yourself to the chair when someone is on it
|
||||
if(can_do_spont_vore && is_vore_predator(M) && M.vore_selected)
|
||||
for(var/mob/living/buckled in buckled_mobs)
|
||||
if(M.CanStumbleVore(buckled))
|
||||
if(CanStumbleVore(prey = buckled, pred = M))
|
||||
return TRUE
|
||||
to_chat(M, span_notice("\The [src] can't buckle any more people."))
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user