mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
fix soulcatcher SR sight (#9074)
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
icon_sprite_tag = "wolf"
|
||||
vore_tail_sprite_variant = "N"
|
||||
fullness_icons = 3
|
||||
struggle_anim = TRUE
|
||||
|
||||
/datum/sprite_accessory/tail/taur/ch/sergal/fatwheaties
|
||||
name = "Fat Sergal (Taur)"
|
||||
@@ -90,6 +91,7 @@
|
||||
icon_sprite_tag = "wolf"
|
||||
vore_tail_sprite_variant = "N"
|
||||
fullness_icons = 3
|
||||
struggle_anim = TRUE
|
||||
|
||||
/datum/sprite_accessory/tail/taur/ch/sergal/wheaties_2c
|
||||
name = "Sergal (Taur, dual-color)"
|
||||
@@ -98,6 +100,7 @@
|
||||
icon_sprite_tag = "wolf"
|
||||
vore_tail_sprite_variant = "N"
|
||||
fullness_icons = 3
|
||||
struggle_anim = TRUE
|
||||
|
||||
/datum/sprite_accessory/tail/taur/ch/sergal/fatwheaties_2c
|
||||
name = "Fat Sergal (Taur, dual-color)"
|
||||
@@ -106,6 +109,7 @@
|
||||
icon_sprite_tag = "wolf"
|
||||
vore_tail_sprite_variant = "N"
|
||||
fullness_icons = 3
|
||||
struggle_anim = TRUE
|
||||
|
||||
/datum/sprite_accessory/tail/taur/ch/longvirus
|
||||
name = "Long Virus (Taur)"
|
||||
@@ -131,6 +135,7 @@
|
||||
icon_loaf = 'icons/mob/vore/taurs_ch_loaf.dmi'
|
||||
vore_tail_sprite_variant = "SectDrone"
|
||||
belly_variant_when_loaf = TRUE
|
||||
struggle_anim = TRUE
|
||||
loaf_offset = 3
|
||||
fullness_icons = 3
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
. = ..()
|
||||
if(ismob(loc))
|
||||
owner = loc
|
||||
owner.recalculate_vis()
|
||||
|
||||
// Store the vars_to_save into the save file
|
||||
/obj/soulgem/deserialize(list/data)
|
||||
@@ -236,6 +237,8 @@
|
||||
soulgem_sight()
|
||||
if(flag & NIF_SC_PROJECTING)
|
||||
soulgem_projecting()
|
||||
if(flag & SOULGEM_SEE_SR_SOULS)
|
||||
owner.recalculate_vis()
|
||||
|
||||
// Checks a single flag, or if all combined flags are true
|
||||
/obj/soulgem/proc/flag_check(var/flag, var/match_all = FALSE)
|
||||
@@ -526,11 +529,3 @@
|
||||
ghost.abandon_mob()
|
||||
qdel(M)
|
||||
return TRUE
|
||||
|
||||
/obj/soulgem/proc/toggle_sr_vision()
|
||||
if(VIS_SOULCATCHER in owner.vis_enabled)
|
||||
owner.plane_holder.set_vis(VIS_SOULCATCHER, FALSE)
|
||||
owner.vis_enabled -= VIS_SOULCATCHER
|
||||
else
|
||||
owner.plane_holder.set_vis(VIS_SOULCATCHER, TRUE)
|
||||
owner.vis_enabled += VIS_SOULCATCHER
|
||||
|
||||
Reference in New Issue
Block a user