Skip to content

Commit 55641d5

Browse files
committed
Make the Ides of March a holiday on which slime molds are Caesar salads
Yes, I know the Ides of March was yesterday, and I also know Caesar salads have nothing to do with Julius Caesar. But I think enough people will find the connection funny to add this in.
1 parent 46012aa commit 55641d5

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

doc/xnh-changelog-10.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ changes:
2222

2323
### Gameplay changes
2424

25+
- The Ides of March (March 15th) is recognized as one of the in-game holidays,
26+
and slime molds will generate as "Caesar salads" on that day.
2527

2628
### Interface changes
2729

include/hack.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,7 @@ typedef uint32_t mmflags_nht; /* makemon MM_ flags */
14931493
#define HOLIDAY_LOS_MUERTOS 0x08000
14941494
#define HOLIDAY_MARDI_GRAS 0x10000
14951495
#define HOLIDAY_GROUNDHOG_DAY 0x20000
1496+
#define HOLIDAY_IDES_OF_MARCH 0x40000
14961497

14971498
/* message flags for dump_container() */
14981499
#define DUMPCONT_NORMAL 0x0

src/calendar.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,9 @@ current_holidays(void)
324324
if (month == 3 && date == 14) {
325325
retmask |= HOLIDAY_PI_DAY;
326326
}
327+
if (month == 3 && date == 15) {
328+
retmask |= HOLIDAY_IDES_OF_MARCH;
329+
}
327330
if (month == 4 && date == 1) {
328331
retmask |= HOLIDAY_APRIL_FOOLS;
329332
}

src/cmd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5473,6 +5473,8 @@ doholidays(void)
54735473
putstr(win, 0, "Valentine's Day");
54745474
if (holidays & HOLIDAY_PI_DAY)
54755475
putstr(win, 0, "Pi Day");
5476+
if (holidays & HOLIDAY_PI_DAY)
5477+
putstr(win, 0, "The Ides of March");
54765478
if (holidays & HOLIDAY_APRIL_FOOLS)
54775479
putstr(win, 0, "April Fools' Day");
54785480
if (holidays & HOLIDAY_EASTER)

src/mkobj.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,9 @@ maybe_festive_fruit(void)
912912
foods[idx++] = "irrational pie";
913913
foods[idx++] = "perfectly circular pie";
914914
}
915+
if (holiday & HOLIDAY_IDES_OF_MARCH) {
916+
foods[idx++] = "Caesar salad";
917+
}
915918
if (holiday & HOLIDAY_EASTER) {
916919
foods[idx++] = "easter egg";
917920
foods[idx++] = "chocolate bunny";

0 commit comments

Comments
 (0)