Skip to content

Commit

Permalink
adds icon for core and cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Birdtalon committed Nov 1, 2023
1 parent 5fbe143 commit fe97683
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions code/modules/cm_aliens/structures/special/hive_cluster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@
/obj/effect/alien/resin/special/cluster/Initialize(mapload, hive_ref)
. = ..()
node = place_node()
update_minimap_icon()

/obj/effect/alien/resin/special/cluster/proc/update_minimap_icon()
SSminimaps.remove_marker(src)
SSminimaps.add_marker(src, z, MINIMAP_FLAG_XENO, "cluster")

/obj/effect/alien/resin/special/cluster/Destroy()
QDEL_NULL(node)
SSminimaps.remove_marker(src)
return ..()

/obj/effect/alien/resin/special/cluster/attack_alien(mob/living/carbon/xenomorph/M)
Expand Down
2 changes: 1 addition & 1 deletion code/modules/cm_aliens/structures/special/pylon_core.dm
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@

/obj/effect/alien/resin/special/pylon/core/proc/update_minimap_icon()
SSminimaps.remove_marker(src)
SSminimaps.add_marker(src, z, MINIMAP_FLAG_XENO, "core[health < (initial(health) * 0.5) ? "_warn" : "_passive"]")
SSminimaps.add_marker(src, z, MINIMAP_FLAG_XENO, "core")

/obj/effect/alien/resin/special/pylon/core/process()
. = ..()
Expand Down
Binary file modified icons/ui_icons/map_blips.dmi
Binary file not shown.

0 comments on commit fe97683

Please sign in to comment.