mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 09:03:53 +01:00
@@ -101,7 +101,7 @@
|
||||
do_nom = TRUE
|
||||
|
||||
if(do_nom)
|
||||
if(!CanFoodVore(M, F))
|
||||
if(!can_food_vore(M, F))
|
||||
continue
|
||||
if(isanimal(M) && !F.allowmobvore && !M.ckey) //If the one doing the eating is a simple mob controlled by AI, check mob vore prefs
|
||||
continue
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
do_nom = TRUE
|
||||
|
||||
if(do_nom)
|
||||
if(!CanFoodVore(M, F))
|
||||
if(!can_food_vore(M, F))
|
||||
continue
|
||||
F.forceMove(M.vore_selected)
|
||||
food_inserted_micros -= F
|
||||
|
||||
@@ -359,7 +359,7 @@ emp_act
|
||||
return
|
||||
// PERSON BEING HIT: CAN BE DROP PRED, ALLOWS THROW VORE.
|
||||
// PERSON BEING THROWN: DEVOURABLE, ALLOWS THROW VORE, CAN BE DROP PREY.
|
||||
if(CanThrowVore(src, thrown_mob))
|
||||
if(can_throw_vore(src, thrown_mob))
|
||||
vore_selected.nom_mob(thrown_mob) //Eat them!!!
|
||||
visible_message(span_vwarning("[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!"))
|
||||
if(thrown_mob.loc != vore_selected)
|
||||
@@ -369,7 +369,7 @@ emp_act
|
||||
|
||||
// PERSON BEING HIT: CAN BE DROP PREY, ALLOWS THROW VORE, AND IS DEVOURABLE.
|
||||
// PERSON BEING THROWN: CAN BE DROP PRED, ALLOWS THROW VORE.
|
||||
else if(CanThrowVore(thrown_mob, src)) //Pred thrown into prey.
|
||||
else if(can_throw_vore(thrown_mob, src)) //Pred thrown into prey.
|
||||
visible_message(span_vwarning("[src] suddenly slips inside of [thrown_mob]'s [lowertext(thrown_mob.vore_selected.name)] as [thrown_mob] flies into them!"))
|
||||
thrown_mob.vore_selected.nom_mob(src) //Eat them!!!
|
||||
if(src.loc != thrown_mob.vore_selected)
|
||||
|
||||
@@ -383,7 +383,7 @@
|
||||
var/list/potentials = living_mobs(0)
|
||||
if(potentials.len)
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(CanSpontaneousVore(src, target))
|
||||
if(can_spontaneous_vore(src, target))
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
var/list/potentials = living_mobs(0)
|
||||
if(potentials.len)
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(CanPhaseVore(src, target))
|
||||
if(can_phase_vore(src, target))
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
|
||||
@@ -203,7 +203,7 @@
|
||||
var/list/potentials = living_mobs(0)
|
||||
if(potentials.len)
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(CanPhaseVore(src, target))
|
||||
if(can_phase_vore(src, target))
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,span_vwarning("\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.get_belly_name()]!"))
|
||||
|
||||
|
||||
@@ -331,14 +331,16 @@
|
||||
set category = "Abilities.Vore"
|
||||
set name = "Resist Control"
|
||||
set desc = "Attempt to resist control."
|
||||
|
||||
if(pred_body.ckey == pred_ckey)
|
||||
dominate_predator()
|
||||
return
|
||||
|
||||
if(pred_ckey == ckey && pred_body.prey_controlled)
|
||||
to_chat(src, span_danger("You begin to resist \the [prey_name]'s control!!!"))
|
||||
to_chat(pred_body, span_danger("You feel the captive mind of [src] begin to resist your control."))
|
||||
|
||||
if(do_after(src, 10 SECONDS, target = prey_name))
|
||||
if(do_after(src, 10 SECONDS, target = src))
|
||||
restore_control()
|
||||
else
|
||||
to_chat(src, span_notice("Your attempt to regain control has been interrupted..."))
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
var/list/potentials = living_mobs(0)
|
||||
if(potentials.len)
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(CanSpontaneousVore(src, target))
|
||||
if(can_spontaneous_vore(src, target))
|
||||
if(target.buckled)
|
||||
target.buckled.unbuckle_mob(target, force = TRUE)
|
||||
target.forceMove(vore_selected)
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
return ..()
|
||||
if(istype(A, /mob/living)) //Swoopie gonn swoop
|
||||
var/mob/living/M = A //typecast
|
||||
if(CanSpontaneousVore(src, A))
|
||||
if(can_spontaneous_vore(src, A))
|
||||
return ..()
|
||||
Vac.afterattack(M, src, 1)
|
||||
return
|
||||
@@ -246,7 +246,7 @@
|
||||
for(var/atom/movable/AM in D)
|
||||
if(istype(AM, /mob/living))
|
||||
var/mob/living/M = AM
|
||||
if(!CanSpontaneousVore(src, M))
|
||||
if(!can_spontaneous_vore(src, M))
|
||||
to_chat(M, span_warning("[src] plunges their head into \the [D], while you narrowly avoid being sucked up!"))
|
||||
continue
|
||||
to_chat(M, span_warning("[src] plunges their head into \the [D], sucking up everything inside- Including you!"))
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
belly_dest = pick(living_user.vore_organs)
|
||||
if(belly_dest)
|
||||
for(var/mob/living/prey in ToTurf)
|
||||
if(CanDropVore(user, prey))
|
||||
if(can_drop_vore(user, prey))
|
||||
prey.forceMove(belly_dest)
|
||||
vore_happened = TRUE
|
||||
to_chat(prey, span_vdanger("[living_user] materializes around you, as you end up in their [belly_dest]!"))
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
winner.visible_message(span_bold("\The [winner]") + " is suddenly knocked to the ground.")
|
||||
winner.SetWeakened(max(winner.weakened,50))
|
||||
if(TELEPORTING_CRACKER)
|
||||
if(CanSpontaneousVore(loser, winner))
|
||||
if(can_spontaneous_vore(loser, winner))
|
||||
winner.visible_message(span_bold("\The [winner]") + " is teleported to somewhere nearby...")
|
||||
var/datum/effect/effect/system/spark_spread/spk
|
||||
spk = new(winner)
|
||||
|
||||
Reference in New Issue
Block a user