mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 00:51:26 +00:00
Fixes BSTs spawning in with 100 health (#11233)
This commit is contained in:
@@ -415,7 +415,6 @@
|
|||||||
/obj/item/clothing/glasses/sunglasses/bst
|
/obj/item/clothing/glasses/sunglasses/bst
|
||||||
name = "bluespace technician's glasses"
|
name = "bluespace technician's glasses"
|
||||||
desc = "A pair of modified sunglasses. The word 'BST' is stamped on the side."
|
desc = "A pair of modified sunglasses. The word 'BST' is stamped on the side."
|
||||||
// var/list/obj/item/clothing/glasses/hud/health/hud = null
|
|
||||||
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
|
vision_flags = (SEE_TURFS|SEE_OBJS|SEE_MOBS)
|
||||||
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
see_invisible = SEE_INVISIBLE_NOLIGHTING
|
||||||
canremove = 0
|
canremove = 0
|
||||||
@@ -443,12 +442,6 @@
|
|||||||
|
|
||||||
to_chat(usr, "<span class='notice'>\The [src]'s vision mode is now <b>[mode]</b>.</span>")
|
to_chat(usr, "<span class='notice'>\The [src]'s vision mode is now <b>[mode]</b>.</span>")
|
||||||
|
|
||||||
/* New()
|
|
||||||
..()
|
|
||||||
src.hud += new/obj/item/clothing/glasses/hud/security(src)
|
|
||||||
src.hud += new/obj/item/clothing/glasses/hud/health(src)
|
|
||||||
return
|
|
||||||
*/
|
|
||||||
/obj/item/clothing/glasses/sunglasses/bst/attack_hand()
|
/obj/item/clothing/glasses/sunglasses/bst/attack_hand()
|
||||||
if(!usr)
|
if(!usr)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -1414,6 +1414,7 @@
|
|||||||
species.handle_post_spawn(src,kpg) // should be zero by default
|
species.handle_post_spawn(src,kpg) // should be zero by default
|
||||||
|
|
||||||
maxHealth = species.total_health
|
maxHealth = species.total_health
|
||||||
|
health = maxHealth
|
||||||
|
|
||||||
spawn(0)
|
spawn(0)
|
||||||
regenerate_icons()
|
regenerate_icons()
|
||||||
|
|||||||
Reference in New Issue
Block a user