MCPcopy Create free account
hub / github.com/DFHack/dfhack / get_next_birthday

Function get_next_birthday

plugins/timestream.cpp:306–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306static int32_t get_next_birthday(int32_t next_tick) {
307 if (next_tick < 0 || next_tick >= (int32_t)birthday_triggers.size())
308 return INT32_MAX;
309 return birthday_triggers[next_tick];
310}
311
312static int32_t clamp_coverage(int32_t timeskip) {
313 if (season_tick_throttled)

Callers 1

clamp_timeskipFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected