Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
eh
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 committed Jun 15, 2024
1 parent 7ba1c5a commit dc56f22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
if(huggers >= xeno_caste.huggers_max)
balloon_alert(F, "The carrier has no space")
return
if(F.health < F.maxHealth)
balloon_alert(F, "You're too damaged!")
return

huggers++
F.visible_message(span_xenowarning("[F] climb on the [src]."),span_xenonotice("You climb on the [src]."))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
if(tgui_alert(F, "Do you want to get into the egg?", "Get inside the egg", list("Yes", "No")) != "Yes")
return

if(F.health < F.maxHealth)
balloon_alert(F, "You're too damaged!")
return

if(!insert_new_hugger(new /obj/item/clothing/mask/facehugger/larval()))
F.balloon_alert(F, span_xenowarning("We can't use this egg"))
return
Expand Down

0 comments on commit dc56f22

Please sign in to comment.