mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Adds jani HUDs from Baystation! (#22654)
* Adds jani HUDs from Baystation! * wrong place * tweak to sprite * contra review and tmeporary tweaks to the sprite * finishing the sprites * tweak to icon alpha and nv sprite * typo * conflict part 2 * test * final adjustments * DgamerL review * fixing sprites * changing name * name part 2 * DGamerL review part 2 * wrong value * nope * equipment and janitorial categories * Apply suggestions from code review
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
plane = FLOOR_PLANE
|
||||
///for blood n vomit in zero G --- IN GRAVITY=TRUE; NO GRAVITY=FALSE
|
||||
var/gravity_check = TRUE
|
||||
hud_possible = list(JANI_HUD)
|
||||
|
||||
/obj/effect/decal/cleanable/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
|
||||
prepare_huds()
|
||||
jani_hud.add_to_hud(src)
|
||||
jani_hud_set_sign()
|
||||
|
||||
/obj/effect/decal/cleanable/proc/replace_decal(obj/effect/decal/cleanable/C) // Returns true if we should give up in favor of the pre-existing decal
|
||||
if(mergeable_decal)
|
||||
|
||||
Reference in New Issue
Block a user