mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
## About The Pull Request I added new helpers to the default SS13 lua library: `SS13.ispath`, `SS13.typecacheof`, `SS13.is_type_in_typecache`, `SS13.get_turf`, and `SS13.get_area`, which pretty much behave like their actual DM counterparts (albeit `SS13.typecacheof` lets you just input string typepaths, instead of needing to manually `SS13.type` each one) In addition, I discovered an issue with `SS13.register_signal`: `not type(func) == "function"` is the same as `(not type(func)) == "function"` - so the proper check is `type(func) ~= "function"`. ## Why It's Good For The Game ## Changelog 🆑 admin: Added some new Lua functions: SS13.ispath, SS13.typecacheof, SS13.is_type_in_typecache, SS13.get_turf, and SS13.get_area fix: Fixed a broken check in the SS13.register_signal Lua function. /🆑