Patrefans
Shattered Pixel from patreon
Shattered Pixel patreon

Lunar Cycles | Patreon Weekly #234

🕑 Added 2023-11-27 16:00:06 +0000 UTC

Comments

Shattered Pixel

Dates do indeed suck, but as annoying as adding this code was, I MUCH prefer it to adding a dependency just for holiday calculations. EDIT: I do think I watched that video a long while ago, but I forgot the specifics. Thankfully this problem is just an extremely small subset of figuring out the local date, I don't even need to think about time or coordination between different zones/standards, so it's a bit more feasible to do it myself.

Shattered Pixel

Oh that's neat, I had no idea that other games added holiday stuff inspired by Shattered.

Veek

I agree with your favorite unique enemy. The Chaos Elemental is by far the one that sparks the most excitement (not necessarily just because of its great reward).

Robert Heinig

FYI - This code: [HolidayDates](https://github.com/yairm210/Unciv/blob/master/core/src/com/unciv/logic/HolidayDates.kt) was inspired by Shattered. And for the "all eyes evil" question read recent OOTS.

Alex Allperino Zgabur

And this is why programmers should never make algorithms about dealing with dates or timezones :D Did you consider using some date library that has common holidays dates programmed? Also you reminded me of one Tom Scott video. I recommend if you did not watch it yet :) https://youtube.com/watch?v=-5wpm-gesOY


More Creators