Files
Bubberstation/code/modules/admin
Lucy 3a71c8a352 adds some more SDQL2/Lua wrappers (#91950)
## About The Pull Request

This adds ~~3~~ 8 wrappers for SDQL2/Lua: `_floor(x)`, `_ceil(x)` (we
already had `_round(a, b = 1)`), and `_typesof(a, subtypes_only)`

`_typesof` has a second argument, `subtypes_only` (default false), which
makes it act like `subtypesof` instead, to save from having to manually
remove the base type (especially since removing by value is kind of
annoying in Lua)

the Lua SS13 library has had a `SS13.typesof` function added, which does
exactly what it says on the tin (also with the second `subtypes_only`
argument)

also added `_uppertext`, `_html_encode`, `_html_decode`, `_url_encode`,
and `_url_decode`. these should all be selfexplanatory

## Why It's Good For The Game

more utility for Lua and SDQL2

## Changelog
🆑
admin: Added some more Lua/SDQL2 wrappers: _floor(), _ceil(),
_typesof(), _uppertext(), _html_encode(), _html_decode(), _url_encode(),
and _url_decode()
/🆑
2025-07-04 11:40:20 +02:00
..
2025-05-12 21:52:38 -04:00
2025-02-19 21:32:00 -05:00
2025-06-25 17:36:10 -07:00
2025-06-25 17:36:10 -07:00
2025-06-25 17:36:10 -07:00
2025-06-25 17:36:10 -07:00
2025-02-17 00:25:56 +01:00