mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
vorepanel setting update (#7567)
Co-authored-by: Selis <selis@xynolabs.com>
This commit is contained in:
@@ -178,13 +178,18 @@
|
||||
remove_modifiers_of_type(/datum/modifier/shadekin_phase) //CHOMPEdit - Shadekin probably shouldn't be hit while phasing
|
||||
|
||||
//Potential phase-in vore
|
||||
if(can_be_drop_pred) //Toggleable in vore panel
|
||||
if(can_be_drop_pred || can_be_drop_prey) //Toggleable in vore panel
|
||||
var/list/potentials = living_mobs(0)
|
||||
if(potentials.len)
|
||||
var/mob/living/target = pick(potentials)
|
||||
if(istype(target) && target.devourable && target.can_be_drop_prey && vore_selected)
|
||||
if(can_be_drop_pred && istype(target) && target.devourable && target.can_be_drop_prey && target.phase_vore && vore_selected && phase_vore)
|
||||
target.forceMove(vore_selected)
|
||||
to_chat(target,"<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(target, "<span class='vwarning'>\The [src] phases in around you, [vore_selected.vore_verb]ing you into their [vore_selected.name]!</span>")
|
||||
to_chat(src, "<span class='vwarning'>You phase around [target], [vore_selected.vore_verb]ing them into your [vore_selected.name]!</span>")
|
||||
else if(can_be_drop_prey && istype(target) && devourable && target.can_be_drop_pred && target.phase_vore && target.vore_selected && phase_vore)
|
||||
forceMove(target.vore_selected)
|
||||
to_chat(target, "<span class='vwarning'>\The [src] phases into you, [target.vore_selected.vore_verb]ing them into your [target.vore_selected.name]!</span>")
|
||||
to_chat(src, "<span class='vwarning'>You phase into [target], having them [target.vore_selected.vore_verb] you into their [target.vore_selected.name]!</span>")
|
||||
|
||||
ability_flags &= ~AB_PHASE_SHIFTING
|
||||
|
||||
@@ -683,7 +688,7 @@
|
||||
to_chat(owner, "<span class='warning'>A dark maw you deployed has triggered!</span>")
|
||||
spawn(10)
|
||||
var/will_vore = 1
|
||||
if(!owner || !(target in owner) || !L.devourable || !L.can_be_drop_prey || !owner.can_be_drop_pred)
|
||||
if(!owner || !(target in owner) || !L.devourable || !L.can_be_drop_prey || !owner.can_be_drop_pred || !L.phase_vore)
|
||||
will_vore = 0
|
||||
if(!src || src.gc_destroyed)
|
||||
//We got deleted probably, do nothing more
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
feeding = client.prefs_vr.feeding
|
||||
can_be_drop_prey = client.prefs_vr.can_be_drop_prey
|
||||
can_be_drop_pred = client.prefs_vr.can_be_drop_pred
|
||||
latejoin_vore = client.prefs_vr.latejoin_vore //CHOMPedit
|
||||
throw_vore = client.prefs_vr.throw_vore
|
||||
food_vore = client.prefs_vr.food_vore
|
||||
allow_spontaneous_tf = client.prefs_vr.allow_spontaneous_tf
|
||||
@@ -47,6 +46,26 @@
|
||||
step_mechanics_pref = client.prefs_vr.step_mechanics_pref
|
||||
pickup_pref = client.prefs_vr.pickup_pref
|
||||
|
||||
//CHOMP Stuff Start
|
||||
phase_vore = client.prefs_vr.phase_vore
|
||||
latejoin_vore = client.prefs_vr.latejoin_vore
|
||||
latejoin_prey = client.prefs_vr.latejoin_prey
|
||||
receive_reagents = client.prefs_vr.receive_reagents
|
||||
give_reagents = client.prefs_vr.give_reagents
|
||||
apply_reagents = client.prefs_vr.apply_reagents
|
||||
autotransferable = client.prefs_vr.autotransferable
|
||||
noisy_full = client.prefs_vr.noisy_full
|
||||
strip_pref = client.prefs_vr.strip_pref
|
||||
vore_sprite_color = client.prefs_vr.vore_sprite_color
|
||||
vore_sprite_multiply = client.prefs_vr.vore_sprite_multiply
|
||||
no_latejoin_vore_warning = client.prefs_vr.no_latejoin_vore_warning
|
||||
no_latejoin_prey_warning = client.prefs_vr.no_latejoin_prey_warning
|
||||
no_latejoin_vore_warning_time = client.prefs_vr.no_latejoin_vore_warning_time
|
||||
no_latejoin_prey_warning_time = client.prefs_vr.no_latejoin_prey_warning_time
|
||||
no_latejoin_vore_warning_persists = client.prefs_vr.no_latejoin_vore_warning_persists
|
||||
no_latejoin_prey_warning_persists = client.prefs_vr.no_latejoin_prey_warning_persists
|
||||
//CHOMP Stuff End
|
||||
|
||||
/mob/living/simple_mob/proc/set_name()
|
||||
set name = "Set Name"
|
||||
set desc = "Sets your mobs name. You only get to do this once."
|
||||
|
||||
Reference in New Issue
Block a user