Commit Graph

1289 Commits

Author SHA1 Message Date
Linden
4d8af3c31e fix(zones): update zone distance when checking contains
todo: consume caffeine
2025-03-14 10:11:08 +11:00
Linden
ae02b74878 fix(zones): correct contains check 2025-03-14 10:02:37 +11:00
Manifest Bumper
b97469ef91 chore: bump manifest version to v3.30.1 2025-03-13 10:15:21 +00:00
Linden
34fb03d783 fix(zones): don't trigger onEnter on grid change 2025-03-13 21:14:19 +11:00
Manifest Bumper
d2134bd644 chore: bump manifest version to v3.30.0 2025-03-13 08:33:10 +00:00
Linden
4188bd2596 feat(zones): add getNearbyZones 2025-03-13 19:31:21 +11:00
Linden
0b9f6e0cce refactor(grid): use an array to store nearby entries 2025-03-13 19:28:57 +11:00
Linden
5fb16444e6 refactor(client/progress): minor adjustment to duration check 2025-03-13 18:58:44 +11:00
CENSOR37
4690564755 feat(print): add convar change listener (#728) 2025-03-13 18:17:36 +11:00
ANTOND.
2a8ce3f4b0 fix(zones): correct zone data types (#729) 2025-03-13 18:17:10 +11:00
Linden
39ec1d3df5 feat(points): utilise the grid system 2025-03-10 16:42:00 +11:00
Linden
5a18b7e2d5 fix(grid): clear cached entries on change 2025-03-10 16:28:23 +11:00
Linden
caa9ed1d97 fix(zones): filter grid entries for zones 2025-03-10 14:28:29 +11:00
Linden
29f207edf9 feat(grid): add filtering to getNearbyEntries 2025-03-10 14:28:06 +11:00
Linden
105a079c09 feat(zones): utilise the grid system
This probably works, even.
2025-03-10 12:30:00 +11:00
Linden
534b1ab435 feat(grid): add a grid system
Based on mkafrin's grid used by PolyZone's ComboZones.
2025-03-10 12:29:14 +11:00
Linden
9e7750b3ba refactor(zones): improve types 2025-03-10 12:02:45 +11:00
Linden
9135e65009 refactor(zones): move to shared module 2025-03-10 11:52:20 +11:00
Linden
c9b7c375ee refactor(array): add generic to class type 2025-03-10 11:51:48 +11:00
Linden
12ef8e542f fix(client/progress): check duration 2025-03-10 11:50:00 +11:00
Qotrek
e846d41f23 fix(zonecreator): vector formatting on some systems (#683) 2025-03-10 11:32:02 +11:00
Stan
68210b2a59 fix(zones): Fix error that occurs when there are no duplicate z-coords (#723) 2025-03-10 11:28:05 +11:00
HellPortal
0b41731c3b chore(locales/tr): add missing locales (#725)
Signed-off-by: HellPortal <104918285+HellPortal@users.noreply.github.com>
2025-03-10 11:26:57 +11:00
Dimmies
024b392fdd fix(client/zones): fix nil error when multiple zones are removes at once (#726)
Signed-off-by: Dimmies <dimmiestv@gmail.com>
2025-03-10 11:23:50 +11:00
Stan
c45a9a1698 fix(web): Remove unused font imports. Fixes #721. (#722)
* fix(web): Remove unused fonts and switch to Inter. Fixes #721.

* chore(web): Switch to self-hosted Roboto font

* chore(web): Add font style variants

* chore(web): Add Roboto Mono font

* chore(web): Formatting
2025-03-08 19:45:24 +01:00
Slyy
cf5423e42f feat(table): added table.shuffle (#718) 2025-03-07 15:16:42 +11:00
sync
32d3fb05c7 fix(types): add TextAreaProps to RowInput (#717) 2025-03-03 08:53:07 +01:00
Dolu
f4f1596ff6 feat(relativeCoords): allow passing full rotation (#703) 2025-02-12 14:51:57 +11:00
Judd
a4978804a2 feat(cron): add maxDelay property to control task execution delay (#708) 2025-02-11 20:15:29 +11:00
Linden
cbca5b7951 fix(scaleform): missing types 2025-02-08 18:02:14 +11:00
iSentrie
0f2e904e16 chore(locales): update lt.json (#706) 2025-02-08 14:47:27 +11:00
Linden
aa2f761a34 fix(scaleform): invalid private property access
Adds an isDrawing and draw method to scaleforms.
So technically a feature I guess.
2025-02-08 13:14:51 +11:00
Linden
b726faea2d feat(callback): implement callback validation
Prevent callbacks from being overwritten by other resources.
Throw an immediate error if the callback does not exist.
2025-02-03 15:41:58 +11:00
Manifest Bumper
7dc8fb544c chore: bump manifest version to v3.29.0 2025-01-30 23:25:44 +00:00
Rafael
5c0239be06 feat(relativeCoords): add lib.getRelativeCoords function (#685) 2025-01-31 10:23:08 +11:00
Codexis
c1ccd767ff feat: scaleform class (#698) 2025-01-31 09:57:47 +11:00
Jag
648a13f749 fix(client/vehicleproperties): reset colors when changing painttype (#692) 2025-01-29 18:17:11 +11:00
Linden
189306d5aa fix(array): Array.from string delimiter 2025-01-29 08:02:06 +11:00
Linden
6a24f9b971 fix(array): format error message 2025-01-29 07:13:16 +11:00
Scully
d56c785a37 fix(vehicleProps): split modLivery from livery (#699) 2025-01-29 07:00:58 +11:00
hakanesnn
7076f19c9b fix(cron): matching weekdayMap with os.date (#700) 2025-01-29 07:00:20 +11:00
Linden
45b045a37e feat(array): additional methods 2025-01-29 06:54:06 +11:00
Linden
d0a0f34018 fix(timer): set initial value of triggerOnEnd to true 2025-01-28 06:47:48 +11:00
Linden
769fa35f38 fix(timer): redefine local function as method
The previous commit added a private property, but they
cannot be set outside of class methods. Added an error
when starting a running timer, too.
2025-01-26 05:20:23 +11:00
Linden
8af94a7194 feat(class): allow private to be redefined
Allows self.private to defined as a new table, allowing it to
remain empty without being removed after instantiation.

Resolves #696.
2025-01-26 04:05:29 +11:00
Manifest Bumper
3751945ed7 chore: bump manifest version to v3.28.1 2025-01-21 00:35:51 +00:00
Linden
0192fd015b fix(array): indexOf return value 2025-01-21 11:33:15 +11:00
Manifest Bumper
755272423b chore: bump manifest version to v3.28.0 2025-01-19 15:27:23 +00:00
Linden
728d20c079 fix(timer): re-enable onEnd after stopping a timer
Resolves #667.
2025-01-20 02:24:00 +11:00
Linden
99fb752d30 fix(callback): support __call metatables as cb function
Resolves #668.
2025-01-20 02:10:09 +11:00