mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 23:14:18 +01:00
Roundstart Readied Morale Bonus (#22927)
* Readying up and successfully joining the round now gives you a morale bonus that lasts for 30 minutes. AI usage disclosure: The code for this was created in-part using GPT 5.6 Sol.
This commit is contained in:
@@ -759,7 +759,9 @@ SUBSYSTEM_DEF(ticker)
|
||||
else if(!player.mind.assigned_role)
|
||||
continue
|
||||
else
|
||||
player.create_character()
|
||||
var/mob/living/carbon/human/character = player.create_character()
|
||||
var/datum/component/morale/morale = character.GetComponent(MORALE_COMPONENT)
|
||||
morale?.load_moodlet(/datum/moodlet/roundstart_ready, 10)
|
||||
qdel(player)
|
||||
CHECK_TICK
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
// a little bonus for people who joined by readying for the round
|
||||
/datum/moodlet/roundstart_ready
|
||||
moodlet_descriptor = SPAN_GOOD("Was early to their shift.")
|
||||
initial_descriptor = SPAN_GOOD("You arrived early and prepared yourself for this shift.")
|
||||
duration = 30 MINUTES
|
||||
Reference in New Issue
Block a user