mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 01:22:03 +00:00
* Feature: bitrunner, a new supply role (READY) * Delete bepis.dm * Conflicts * Update dynamic_rulesets_midround.dm * Fixing this invalid icon file path It was trying to use the aesthetics one * Bepis is dead * New digi sprites courtesy of CandleJaxx!! Now in the correct branch! * Fixing merge conflict * bitrunning hotfixes [NO GBP] * Modular health adjustments * Revert "Modular health adjustments" This reverts commit 0ff3c48d398f6c1aac51cdf8fecaf869491bbc86. * Modular health adjustments Only this one should be necessary * The screenshot test * Bitrunner den for voidraptor (FOR #23865) (#23891) * no shower in sight * lets bitrunners actually get to their room and spawn there * New digi sprites courtesy of CandleJaxx!! * Revert "New digi sprites courtesy of CandleJaxx!!" This reverts commit eea9f47de256dd407c78450bc8f2a09b814f93e9. --------- Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com> * Removes bitrunning unit tests (#78607) ## About The Pull Request Removes the fraction of unit tests I thought would be safe. Not thrilled that I have to exclude ALL unit tests now, but hey. The issue is that atmos attempts to process on a turf which hasn't initialized yet. ## Why It's Good For The Game Other PRs can pass checks now ## Changelog N/A * Update birdshot.dmm * Tweaks the BEPIS category of the bitrunning order console * Adds back the flashdark that we had skyrat edited in * Update tgstation.dme * Fixes Voidraptor bitrunning den not being connected to the powergrid --------- Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Paxilmaniac <82386923+Paxilmaniac@users.noreply.github.com> Co-authored-by: Profakos <profakos@gmail.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
30 lines
924 B
Plaintext
30 lines
924 B
Plaintext
/datum/status_effect/static_vision
|
|
id = "static_vision"
|
|
status_type = STATUS_EFFECT_REPLACE
|
|
alert_type = null
|
|
|
|
/datum/status_effect/static_vision/on_creation(mob/living/new_owner, duration = 3 SECONDS)
|
|
src.duration = duration
|
|
return ..()
|
|
|
|
/datum/status_effect/static_vision/on_apply()
|
|
RegisterSignal(owner, COMSIG_LIVING_DEATH, PROC_REF(remove_static_vision))
|
|
|
|
owner.overlay_fullscreen(id, /atom/movable/screen/fullscreen/static_vision)
|
|
owner.sound_environment_override = SOUND_ENVIRONMENT_UNDERWATER
|
|
|
|
return TRUE
|
|
|
|
/datum/status_effect/static_vision/on_remove()
|
|
UnregisterSignal(owner, COMSIG_LIVING_DEATH)
|
|
|
|
owner.clear_fullscreen(id)
|
|
if(owner.sound_environment_override == SOUND_ENVIRONMENT_UNDERWATER)
|
|
owner.sound_environment_override = SOUND_ENVIRONMENT_NONE
|
|
|
|
/// Handles clearing on death
|
|
/datum/status_effect/static_vision/proc/remove_static_vision(datum/source, admin_revive)
|
|
SIGNAL_HANDLER
|
|
|
|
qdel(src)
|