level_difficulty() */
| 954 | |
| 955 | /* level_difficulty() */ |
| 956 | staticfn int |
| 957 | nhl_level_difficulty(lua_State *L) |
| 958 | { |
| 959 | int argc = lua_gettop(L); |
| 960 | if (argc == 0) { |
| 961 | lua_pushinteger(L, level_difficulty()); |
| 962 | } else { |
| 963 | nhl_error(L, "level_difficulty should not have any args"); |
| 964 | } |
| 965 | return 1; |
| 966 | } |
| 967 | |
| 968 | /* local x = nh.is_genocided("vampire") */ |
| 969 | staticfn int |
nothing calls this directly
no test coverage detected