





🌟 Special thanks to our amazing supporters:
✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Arch Toasty][Benedikt][David Martínez Martí]
- Added previous turn color player as second param for onPlayerTurn event.
- Added Object.getZones() that returns all the zones that the object is interacting with. https://tabletopsimulator.nolt.io/219
- Added onObject(Enter/Leave)Zone that works on all zones instead of just scripting zones. https://tabletopsimulator.nolt.io/85
- Added support for all zones with getObjects(). https://tabletopsimulator.nolt.io/613
- Added UI.loading bool to see if the UI is still loading on this Object.
- Added lua object.getJson(bool indented) to disable indenting.
- Added (Global) tryObjectRotate(object, spin, flip, player_color, old_spin, old_flip). spin & flip values [0, 360] degrees.
- Added (Object) tryRotate(spin, flip, player_color, old_spin, old_flip).
- Added (Universal) onObjectRotate(object, spin, flip, player_color, old_spin, old_flip).
- Added (Object) onRotate(spin, flip, player_color, old_spin, old_flip).
- Added (Universal) onPlayerPing(player, position). https://tabletopsimulator.nolt.io/28
- Added (LayoutZone) `object.LayoutZone.getOptions()`, `.setOptions({options table})`, `.layout()`
- Added (LayoutZone) `onGroupSort(table group, bool reversed)` and `onZoneGroupSort(object zone, table group, bool reversed)` lua events: return table in desired sorted order, or false to allow default zone behaviour. If present they take precedence over the selected sort in the zone options.
- Ensured LuaWebRequest's text no longer raises a null reference exception when no downloadHandler is set.
- Object.getData() now correctly omits null value keys.
- Fixed being able to addAttachment with the Table bricking the game. https://tabletopsimulator.nolt.io/413
- Fixed being unable to lua object.deal() to index hands greater than 1. https://tabletopsimulator.nolt.io/400
- Fixed issue with on[Enter/Leave]ScriptingZone was firing multiple times in a row. https://tabletopsimulator.nolt.io/176
- Fixed Book setHighlight()/clearHighlight() bug. https://tabletopsimulator.nolt.io/270
- Fixed minor bug whereby RPCLookAt was using the yaw after validating the pitch (instead of validating the yaw).
- Fixed lua Player.getAvailableColors() can have repeats. https://tabletopsimulator.nolt.io/536
- Fixed issue with tryObjectEnter/tryObjectEnterContainer only firing for the first object dropped in a bag. https://tabletopsimulator.nolt.io/150
- Fixed tryObjectEnter/tryObjectEnterContainer not being passed the object entering when the container was a stack. https://tabletopsimulator.nolt.io/477
- Fixed data/JSON round-tripping i.e. spawnObjectData({data=JSON.decode(JSON.encode(container.getData()))}).
- Fixed Lua core mishandling of nil table inserts i.e. table.insert(tab, 1, nil).
- Player.Action.Select
- Player.Action.PickUp
- Player.Action.RotateIncrementalLeft (Q)
- Player.Action.RotateIncrementalRight (E)
- Player.Action.RotateOver (Alt + F, whilst held)
- Player.Action.FlipIncrementalLeft (Alt + Q, whilst held)
- Player.Action.FlipIncrementalRight (Alt + E, whilst held)
- Player.Action.FlipOver (F)
Player.Action is not a table, but you may still do:
- for name, value in pairs(Player.Action) do
- log(Player.Action)
Nolt Links:
[ 5973 ]
[ 1742 ]
[ 1755 ]