Add Kart globals

This commit is contained in:
TehRealSalt 2018-11-07 18:31:07 -05:00
parent b9161871a1
commit 95a1637437

View file

@ -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;