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:
Geeves
2026-08-02 01:24:39 +00:00
committed by GitHub
parent 958a54adaa
commit dc3a56407f
4 changed files with 15 additions and 1 deletions
+1
View File
@@ -528,6 +528,7 @@
#include "code\datums\components\eye\blueprints.dm"
#include "code\datums\components\eye\freelook.dm"
#include "code\datums\components\medical\medicalAnalyzer.dm"
#include "code\datums\components\morale\moodlet_types.dm"
#include "code\datums\components\morale\moodlets.dm"
#include "code\datums\components\morale\morale_component.dm"
#include "code\datums\components\multitool\_multitool.dm"
+3 -1
View File
@@ -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
+6
View File
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- rscadd: "Readying up and successfully joining the round now gives you a morale bonus that lasts for 30 minutes."