dfhack/plugins/channel-safely/include/plugin.h

24 lines
549 B
C

2022-11-06 01:12:35 -06:00
#pragma once
#include <Debug.h>
namespace DFHack {
DBG_EXTERN(channelsafely, monitor);
DBG_EXTERN(channelsafely, manager);
DBG_EXTERN(channelsafely, groups);
DBG_EXTERN(channelsafely, jobs);
}
struct Configuration {
bool monitor_active = false;
bool require_vision = true;
bool insta_dig = false;
2022-11-07 15:54:39 -07:00
bool resurrect = false;
2022-11-06 01:12:35 -06:00
int32_t refresh_freq = 600;
2022-11-06 14:16:27 -07:00
int32_t monitor_freq = 1;
uint8_t ignore_threshold = 5;
2022-11-06 01:12:35 -06:00
uint8_t fall_threshold = 1;
};
extern Configuration config;
extern int32_t mapx, mapy, mapz;