| 152 | } |
| 153 | |
| 154 | DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) { |
| 155 | if (event == DFHack::SC_WORLD_UNLOADED) { |
| 156 | is_painting_warm = false; |
| 157 | is_painting_damp = false; |
| 158 | do_enable(false); |
| 159 | } |
| 160 | return CR_OK; |
| 161 | } |
| 162 | |
| 163 | static void fill_dig_jobs(std::unordered_map<df::coord, df::job *> &dig_jobs) { |
| 164 | df::job_list_link *link = world->jobs.list.next; |
nothing calls this directly
no test coverage detected