mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Add Kart globals
This commit is contained in:
parent
3009c22312
commit
7410ddad12
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…
Add table
Reference in a new issue