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

Function do_cycle

plugins/tailor.cpp:974–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972//
973
974static int do_cycle(color_ostream &out) {
975 // mark that we have recently run
976 cycle_timestamp = world->frame_counter;
977
978 DEBUG(cycle,out).print("running {} cycle\n", plugin_name);
979
980 return tailor_instance->do_cycle();
981}
982
983/////////////////////////////////////////////////////
984// Lua API

Callers 3

tailor_doCycleFunction · 0.70

Calls 2

printMethod · 0.45
do_cycleMethod · 0.45

Tested by

no test coverage detected