Files
YWPolarisVore/code/modules/resleeving/resleeving_sickness.dm
Repede 7f1a6d6cc7 Fuck this shit
Merge branch 'release' of https://github.com/VOREStation/VOREStation

# Conflicts:
#	code/controllers/autotransfer.dm
#	code/controllers/subsystems/inactivity.dm
#	code/game/area/Away Mission areas.dm
#	code/game/area/Space Station 13 areas.dm
#	code/game/jobs/job/captain.dm
#	code/game/jobs/job/civilian.dm
#	code/game/jobs/job/security.dm
#	code/game/jobs/jobs.dm
#	code/game/machinery/air_alarm.dm
#	code/game/machinery/suit_storage_unit.dm
#	code/game/machinery/suit_storage_unit_vr.dm
#	code/game/mecha/combat/gorilla.dm
#	code/game/turfs/simulated/dungeon/wall.dm
#	code/game/turfs/simulated/wall_types.dm
#	code/modules/client/preference_setup/loadout/loadout_utility_vr.dm
#	code/modules/clothing/glasses/glasses.dm
#	code/modules/clothing/spacesuits/rig/rig_pieces_vr.dm
#	code/modules/clothing/spacesuits/void/void_vr.dm
#	code/modules/clothing/under/accessories/holster.dm
#	code/modules/mob/language/station_vr.dm
#	code/modules/mob/living/carbon/human/emote_vr.dm
#	code/modules/mob/living/carbon/human/species/station/station_vr.dm
#	code/modules/mob/living/carbon/human/species/station/traits_vr/positive.dm
#	code/modules/mob/new_player/sprite_accessories_vr.dm
#	code/modules/power/apc.dm
#	code/modules/power/lighting.dm
#	code/modules/resleeving/machines.dm
#	config/jobwhitelist.txt
#	icons/mob/species/seromi/head.dmi
#	icons/mob/species/seromi/suit.dmi
#	icons/mob/species/vulpkanin/helmet.dmi
#	icons/mob/species/vulpkanin/suit.dmi
#	maps/tether/submaps/_tether_submaps.dm
#	maps/tether/tether_areas2.dm
#	maps/tether/tether_defines.dm
#	maps/tether/tether_shuttles.dm
#	nano/templates/apc.tmpl
#	vorestation.dme
2020-04-04 14:37:55 -04:00

47 lines
1.9 KiB
Plaintext

/datum/modifier/resleeving_sickness
name = "resleeving sickness"
desc = "You feel rather weak and unfocused, having been sleeved not so long ago."
stacks = MODIFIER_STACK_EXTEND
on_created_text = "<span class='warning'><font size='3'>You feel weak and unfocused.</font></span>"
on_expired_text = "<span class='notice'><font size='3'>You feel your strength and focus return to you.</font></span>"
//YW Edit incoming_brute_damage_percent = 1.1 // 10% more brute damage YW Edit
//YW Edit incoming_fire_damage_percent = 1.1 // 10% more burn damage
//YW Edit incoming_hal_damage_percent = 1.5 // 50% more incoming agony.
//YW Edit outgoing_melee_damage_percent = 0.5 // 50% less melee damage.
disable_duration_percent = 2 // 100% longer stuns.
evasion = -40 // 40% easier to hit.
accuracy = -50 // 50% less accurate.
accuracy_dispersion = 20 // 20% less precise.
/datum/modifier/faux_resleeving_sickness
name = "resleeving sickness (vore)"
desc = "You feel somewhat weak and unfocused, having been sleeved not so long ago. (OOC: No real penalty for vore-related deaths)"
stacks = MODIFIER_STACK_EXTEND
on_created_text = "<span class='warning'>You feel slightly weak and unfocused.</span>"
on_expired_text = "<span class='notice'>You feel your strength and focus return to you.</span>"
/datum/modifier/gory_devourment
name = "gory devourment"
desc = "You are being devoured! Dying right now would definitely be same as dying as food."
stacks = MODIFIER_STACK_EXTEND
hidden = TRUE
var/datum/mind/cached_mind = null
/datum/modifier/gory_devourment/can_apply(var/mob/living/L)
if(L.stat == DEAD)
return FALSE
else
return TRUE
/datum/modifier/gory_devourment/on_applied()
cached_mind = holder.mind
return ..()
/datum/modifier/gory_devourment/on_expire()
if(holder.stat == DEAD)
cached_mind?.vore_death = TRUE
cached_mind = null //Don't keep a hardref
return ..()