Skip to content

Commit f16df0d

Browse files
committed
add death events
1 parent 522da51 commit f16df0d

File tree

2 files changed

+69
-16
lines changed

2 files changed

+69
-16
lines changed

resources/dicts/events/lifegen_events/ceremonies.json

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -692,30 +692,46 @@
692692
"As the territory dims around you, a single thought remains: you never got the chance to grow into who you were meant to be. The stars feel so, so far away."
693693
],
694694
"death_warrior": [
695-
695+
"You fought until there was nothing left to give. That's all your Clan could ask of you.",
696+
"You think of every patrol walked, every border defended. This was the life you chose, and you have no regrets.",
697+
"You close your eyes... You swear, you're just resting. Just for a moment.",
698+
"Your final thought is of your Clan, standing strong even as you fall.",
699+
"Your breathing is ragged. You wonder if you've done enough, that you've accomplished everything you'd wanted in life."
696700
],
697701
"death_medcat": [
698-
"Your thoughts drift to every life you saved, and the ones you couldn't. The memories weight on you heavily, then slip away."
699-
702+
"Your thoughts drift to every life you saved, and the ones you couldn't. The memories weight on you heavily, then slip away.",
703+
"Your paws feel unsteady and the world tilts beneath you. There's no panic when your heart starts to slow. You know what comes next.",
704+
"So much knowledge, so many herbs -- and yet, this was beyond any cat's ability to heal.",
705+
"Your vision blurs, lights flickering at the edges of your vision. The Clan will live on without you. It's in their paws now.",
706+
"You accept your death quietly. When the world fades away, you get the faint sense that you are no longer alone."
700707
],
701708
"death_mediator": [
702-
709+
"Your voice has calmed countless arguments... but now you have nothing left to say.",
710+
"Your paws feel unsteady and the world tilts beneath you. You wonder if the Clans will remember your words when pointless conflicts rise again.",
711+
"You always believed understanding was worth fighting for. You hope others still do."
703712
],
704713
"death_queen": [
705-
714+
"Your vision blurs, lights flickering at the edges of your vision. You wonder who will teach the kits the things you never got the chance to.",
715+
"Your paws feel unsteady and the world tilts beneath you. You hope that the Clan's kits will grow strong, even if you won't get to see it."
706716
],
707717
"death_elder": [
708-
718+
"Your vision blurs, lights flickering at the edges of your vision. You wonder who will teach the kits the things you never got the chance to.",
719+
"You close your eyes, content to leave the territory in younger, more capable paws.",
720+
"You rest your head and let the Clan's familiar sounds carry you into the dark of the afterlife."
709721
],
710722
"death_leader": [
711723
"Your breath slows, each inhale more labored than the last. As the world around you blurs into shades of twilight, you think back to the life you've led. The lessons you've shared, the battles you've fought, the Clan you've led. It's a wave of nostalgia, heavy but soothing. You close your eyes, taking solace in knowing that your legacy will live on in the hearts of your Clan.",
712724
"As the shadows of your life start to gather, you can't help but reflect. The days spent leading your Clan, the choices you've made, the challenges you've faced. Have they been enough? You take a deep breath, comforted by the thought that your Clan will continue to thrive.",
713725
"Your breaths come out in ragged gasps, each one more effortful than the last. The pain begins to ebb away, replaced by a cold numbness that seeps into your paws. The territory, your home, starts to blur at the edges of your vision. You reflect on your life, the successes and failures, the joys and sorrows. As you draw your final breath, you find peace in knowing that you've done your best for your Clan.",
714726
"The world around you slows, each moment stretching out as if to allow you one final look at your beloved Clan. The scent of the territory, the chorus of the night creatures, the faint rustling of leaves, everything begins to fade. You cast a final gaze at your Clan, your heart swelling with pride. You've given everything, fought every battle, for them. As the darkness beckons, you surrender, knowing you've left your Clan stronger than ever.",
715-
"Your sight grows dim, the familiar sounds of the camp grow faint, the scent of your Clanmates a distant memory. The world around you fades into a grey haze. Yet, your mind is alive with memories. The battles you've won, the friendships you've made, the wisdom you've passed on. You've shaped a Clan, raised warriors. As you breathe your last, a sense of tranquility washes over you. You've fulfilled your duties and more. You've left a legacy that will echo through the generations."
727+
"Your sight grows dim, the familiar sounds of the camp grow faint, the scent of your Clanmates a distant memory. The world around you fades into a grey haze. Yet, your mind is alive with memories. The battles you've won, the friendships you've made, the wisdom you've passed on. You've shaped a Clan, raised warriors. As you breathe your last, a sense of tranquility washes over you. You've fulfilled your duties and more. You've left a legacy that will echo through the generations.",
728+
"The weight of the Clan has rested on your shoulders for so long. At last, it slips away.",
729+
"You have given everything you could. The rest is up to them now."
716730
],
717731
"death_deputy": [
718-
732+
"The weight of the Clan has rested on your shoulders for so long. At last, it slips away.",
733+
"As your breath slips away, you hope that the Clan will stand strong without your guidance.",
734+
"You have given everything you could. The rest is up to them now."
719735
],
720736
"death_kittypet": [
721737
"Your strength gives out as you wonder if your housefolk know how hard you tried to stay.",
@@ -724,16 +740,23 @@
724740
"You wonder who will refill your bowl, who will call your name, once you're gone."
725741
],
726742
"death_rogue": [
727-
743+
"You wonder, too late, what might have changed if you'd chosen a different path.",
744+
"You fought so hard to survive, every day of your life. Today that fight ends.",
745+
"What comes after life? You have no idea, but you're ready to face it with your claws."
728746
],
729747
"death_loner": [
730-
748+
"You die alone, just as you lived. It's peaceful when you finally close your eyes.",
749+
"The wind carries your scent away as the darkness settles in.",
750+
"As your heart stops, you wonder briefly what it might have been like to belong somewhere.",
751+
"You fade into the land you roamed, leaving nothing behind but bones."
731752
],
732753
"death": [
733754
"Is this it? You wonder, while slipping slowly into the darkness, if you've made an impact on this world that you wouldn't regret.",
734755
"As you fade away, you can't help but think you've still got more to do, more to accomplish...",
735-
"So this is it.",
756+
"So this is it. You're dead.",
736757
"The sounds around you grow distant, as if you're sinking beneath deep water. You stop fighting and let yourself drift.",
737-
"You close your eyes, trusting that the path you followed was the right one, even if it led here."
758+
"You close your eyes, trusting that the path you followed was the right one, even if it led here.",
759+
"You gave everything you had, right to the very end.",
760+
"The world feels distant, as though it's already moving on without you."
738761
]
739762
}

scripts/events.py

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,17 +1440,47 @@ def generate_death_event(self):
14401440
ceremony_txt = random.choice(self.b_txt['death_kit'])
14411441
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
14421442
elif game.clan.your_cat.status.rank == CatRank.MEDICINE_APPRENTICE:
1443-
ceremony_txt = random.choice(self.b_txt['death_medapp'])
1443+
ceremony_txt = random.choice(self.b_txt['death_medapp'] + self.b_txt['death'])
14441444
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
14451445
elif game.clan.your_cat.status.rank == CatRank.APPRENTICE:
1446-
ceremony_txt = random.choice(self.b_txt['death_app'])
1446+
ceremony_txt = random.choice(self.b_txt['death_app'] + self.b_txt['death'])
14471447
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
14481448
elif game.clan.your_cat.status.rank == CatRank.MEDIATOR_APPRENTICE:
1449-
ceremony_txt = random.choice(self.b_txt['death_mediapp'])
1449+
ceremony_txt = random.choice(self.b_txt['death_mediapp'] + self.b_txt['death'])
1450+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1451+
elif game.clan.your_cat.status.rank == CatRank.QUEENS_APPRENTICE:
1452+
ceremony_txt = random.choice(self.b_txt['death_queenapp'] + self.b_txt['death'])
1453+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1454+
elif game.clan.your_cat.status.rank == CatRank.WARRIOR:
1455+
ceremony_txt = random.choice(self.b_txt['death_warrior'] + self.b_txt['death'])
1456+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1457+
elif game.clan.your_cat.status.rank == CatRank.MEDICINE_CAT:
1458+
ceremony_txt = random.choice(self.b_txt['death_medcat'] + self.b_txt['death'])
1459+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1460+
elif game.clan.your_cat.status.rank == CatRank.MEDIATOR:
1461+
ceremony_txt = random.choice(self.b_txt['death_mediator'] + self.b_txt['death'])
1462+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1463+
elif game.clan.your_cat.status.rank == CatRank.QUEEN:
1464+
ceremony_txt = random.choice(self.b_txt['death_queen'] + self.b_txt['death'])
14501465
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
14511466
elif game.clan.your_cat.status.rank == CatRank.ELDER:
1452-
ceremony_txt = random.choice(self.b_txt['death_elder'])
1467+
ceremony_txt = random.choice(self.b_txt['death_elder'] + self.b_txt['death'])
14531468
game.cur_events_list.insert(1, Single_Event(ceremony_txt, "alert", game.clan.your_cat.ID))
1469+
elif game.clan.your_cat.status.rank == CatRank.LEADER:
1470+
ceremony_txt = random.choice(self.b_txt['death_leader'] + self.b_txt['death'])
1471+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1472+
elif game.clan.your_cat.status.rank == CatRank.DEPUTY:
1473+
ceremony_txt = random.choice(self.b_txt['death_deputy'] + self.b_txt['death'])
1474+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1475+
elif game.clan.your_cat.status == CatRank.ROGUE:
1476+
ceremony_txt = random.choice(self.b_txt['death_rogue'] + self.b_txt['death'])
1477+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1478+
elif game.clan.your_cat.status == CatRank.KITTYPET:
1479+
ceremony_txt = random.choice(self.b_txt['death_kittypet'] + self.b_txt['death'])
1480+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
1481+
elif game.clan.your_cat.status == CatRank.LONER:
1482+
ceremony_txt = random.choice(self.b_txt['death_loner'] + self.b_txt['death'])
1483+
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))
14541484
else:
14551485
ceremony_txt = random.choice(self.b_txt['death'])
14561486
game.cur_events_list.insert(1, Single_Event(ceremony_txt, game.clan.your_cat.ID))

0 commit comments

Comments
 (0)