Put object into player's inventory */ u.giveobj(obj.new("rock")); */
| 2048 | /* Put object into player's inventory */ |
| 2049 | /* u.giveobj(obj.new("rock")); */ |
| 2050 | staticfn int |
| 2051 | nhl_u_giveobj(lua_State *L) |
| 2052 | { |
| 2053 | return nhl_obj_u_giveobj(L); |
| 2054 | } |
| 2055 | |
| 2056 | static const struct luaL_Reg nhl_u_functions[] = { |
| 2057 | { "clear_inventory", nhl_u_clear_inventory }, |
nothing calls this directly
no test coverage detected