Files
VOREStation/code/modules/mob/_modifiers/feysight.dm
Heroman3003 a6555ff66c Midweek Bugfix Release (#16809)
* bug fixes for dullahans.. got rid of has_custom open/eyelight  to hopefully fix it. (#16783)

* Fixes feysight runtime (#16794)

* fix fey sight runtiming (#16792)

* adding eyes to dullahan mining. (#16798)

* more languages to defines (#16800)

* Fixes a 2 year old typo (#16802)

* fix speechbubble and runechat position (#16788)

* Convert robot icons to iconforge, update iconforge to not break on them (#16793)

* Mobs will no longer be despawned if they aren't inside a cryopod (#16808)

* fix a crash issue

* fix another crash

* default handling (#16805)

* resize limits and designer / dna update (#16807)

* resize limits and designer / dna update

* .

* genes to mobs

* .

* Update designer.dm

* Update designer.dm

* species cleanup

* Adjusts movement delay to be broader and fix an exploit (#16799)

* Adjusts movement delay to be broader and fix an exploit

- Fixes an exploit where using items that give negative slowdown combined with species with increased 'item_slowdown_mod ' would hit the speed cap (Teshari, custom species with weakling major)
- Removes vorestation comments in the code
- Revamps how the 'calculate_item_encumbrance' works (With comments of how to revert to a fixed version of the old system if it proves to be too resource intensive)

* Adds  comment

* ERT borg additions and sprite fixes (#16787)

* Hand games (#16782)

Added a new verb called "Play Hand Games", found in the IC tab under the Game category. This verb allows you to play one of the following games with someone next to you or over a small table:
- Rock, Paper, Scissors. Each player chooses one of those and the choices are declared at the same time.
- Arm Wrestling. Players choose a strength and a roll is made that is weighted by the scale, larger characters have an advantage.
- Slap Hands. Players choose a reaction speed, and a roll is made that is weighted by scale, smaller characters have an advantage.
- Thumb wars. Literally just RNG for a free roll at any time.

* SCA whitelist approval (#16804)

Application approved here: https://forum.vore-station.net/viewtopic.php?f=45&t=2466

* Digitigrade for hanner and replicants (#16795)

Added the option for hanner and replicants to use digitigrade legs.

Changed the total reform ability to account for clothing to match the sprites to the leg type of the new form.

Why not proteans and prommies? Proteans use prosthetic legs that do not change appearance based on the digitigrade option. Prometheans do work with digitigrade legs but they currently do not match the opacity of the rest of the body.

---------

Co-authored-by: Asher-42 <asherdehanna@gmail.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: SpaceMan-Jim <127170206+SpaceMan-Jim@users.noreply.github.com>
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
2025-01-01 18:26:32 +10:00

47 lines
1.3 KiB
Plaintext

/datum/modifier/feysight
name = "feysight"
desc = "You are filled with an inner peace, and widened sight."
client_color = "#42e6ca"
on_created_text = span_alien("You feel an inner peace as your mind's eye expands!")
on_expired_text = span_notice("Your sight returns to what it once was.")
stacks = MODIFIER_STACK_EXTEND
accuracy = -15
accuracy_dispersion = 1
/datum/modifier/feysight/on_applied()
holder.see_invisible = 60
holder.see_invisible_default = 60
holder.vis_enabled += VIS_GHOSTS
holder.recalculate_vis()
/datum/modifier/feysight/on_expire()
holder.see_invisible_default = initial(holder.see_invisible_default)
holder.see_invisible = holder.see_invisible_default
holder.vis_enabled -= VIS_GHOSTS
holder.recalculate_vis()
/datum/modifier/feysight/can_apply(var/mob/living/L)
if(L.stat)
to_chat(L, span_warning("You can't be unconscious or dead to experience tranquility."))
return FALSE
if(!L.is_sentient())
return FALSE // Drones don't feel anything.
if(ishuman(L))
var/mob/living/carbon/human/H = L
if(H.species.name == "Diona")
to_chat(L, span_warning("You feel strange for a moment, but it passes."))
return FALSE // Happy trees aren't affected by tranquility.
return ..()
/datum/modifier/feysight/tick()
..()
if(ishuman(holder))
var/mob/living/carbon/human/H = holder
H.druggy = min(15, H.druggy + 4)