Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queen Maturity Timer #6585

Merged
merged 12 commits into from
Jul 21, 2024
5 changes: 2 additions & 3 deletions code/modules/mob/living/carbon/xenomorph/castes/Queen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,8 @@

. += "Pooled Larvae: [stored_larvae]"
. += "Leaders: [xeno_leader_num] / [hive?.queen_leader_limit]"
if(queen_age_timer_id != TIMER_ID_NULL)
var/time_left = time2text(timeleft(queen_age_timer_id) + 1 MINUTES, "mm") // We add a minute so that it basically ceilings the value.
. += "Maturity: [time_left == 1? "[time_left] minute" : "[time_left] minutes"] remaining"
if(!queen_aged && queen_age_timer_id != TIMER_ID_NULL) // Idk, bug or not, but when timer ends, it leave just "2", this is soft solution to polution
blackcrystall marked this conversation as resolved.
Show resolved Hide resolved
. += "Maturity: [time2text(timeleft(queen_age_timer_id), "mm:ss")] remaining"

/mob/living/carbon/xenomorph/queen/proc/set_orders()
set category = "Alien"
Expand Down
Loading