diff --git a/src/dehacked.c b/src/dehacked.c index 08b65c712..057b9ceab 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -9715,6 +9715,27 @@ static inline int lib_getenum(lua_State *L) } else if (fastcmp(word, "token")) { lua_pushinteger(L, token); return 1; + } else if (fastcmp(word,"gamespeed")) { + lua_pushinteger(L, gamespeed); + return 1; + } else if (fastcmp(word,"encoremode")) { + lua_pushboolean(L, encoremode); + return 1; + } else if (fastcmp(word,"franticitems")) { + lua_pushboolean(L, franticitems); + return 1; + } else if (fastcmp(word,"comeback")) { + lua_pushboolean(L, comeback); + return 1; + } else if (fastcmp(word,"wantedcalcdelay")) { + lua_pushboolean(L, wantedcalcdelay); + return 1; + } else if (fastcmp(word,"indirectitemcooldown")) { + lua_pushboolean(L, indirectitemcooldown); + return 1; + } else if (fastcmp(word,"thwompsactive")) { + lua_pushboolean(L, thwompsactive); + return 1; } return 0;