| 1054 | } |
| 1055 | |
| 1056 | static void setSpecial(color_ostream &out, df::building_type type, int16_t subtype, int32_t custom, string special, bool val) { |
| 1057 | DEBUG(control,out).print("entering setSpecial\n"); |
| 1058 | BuildingTypeKey key(type, subtype, custom); |
| 1059 | auto &filters = get_item_filters(out, key); |
| 1060 | filters.setSpecial(special, val); |
| 1061 | Lua::CallLuaModuleFunction(out, "plugins.buildingplan", "signal_reset"); |
| 1062 | } |
| 1063 | |
| 1064 | static int getSpecials(lua_State *L) { |
| 1065 | color_ostream *out = Lua::GetOutput(L); |
nothing calls this directly
no test coverage detected