mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 13:51:31 +00:00
Add Kart globals
This commit is contained in:
parent
b9161871a1
commit
95a1637437
1 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue