177 Commits

Author SHA1 Message Date
f065564cea
Add named cooldowns
Function takes name and tick count. Return true and insert new cooldown
if no matching cooldown present, else return false
2022-03-20 00:41:39 -04:00
74608ed27c
Add skin state persistence using data api 2022-03-19 01:36:40 -04:00
7f64ee43c9
Add trust check, disable model if untrusted 2022-03-19 01:04:39 -04:00
f109c763c1
Add vanilla toggle function 2022-03-19 00:51:12 -04:00
b4c71f509d
Fix armor toggle function 2022-03-19 00:49:26 -04:00
81d66720fe
Add sync state function, fix tick optimization 2022-03-19 00:17:57 -04:00
042405cb63
Avoid accessing state variables within pings
The host instance of the variable should be authoritative to ensure host
and clients are in sync
2022-03-18 23:55:52 -04:00
776de24593
Refactor visor expression/damage code
- Scope entire expression change code
- Use tables for related values
- Make certain variables and functions local
2022-03-16 20:23:51 -04:00
9788f8d231
Use splitstring for command handling 2022-03-16 20:09:56 -04:00
cf2a52eb8b
Add split string function 2022-03-16 20:04:37 -04:00
3941dd831f
Add UV utility function 2022-03-16 19:42:48 -04:00
9bf55c0835
Merge branch 'feature/trust_check' into master 2022-03-16 14:10:50 -04:00
9ff1c3abf2
Add function to dump tables as string 2022-03-16 13:27:56 -04:00
c951d0b164
Split dimensions constant, remove useless var
Removes 'factor' and 'size', adds 'TEXTURE_WIDTH', 'TEXTURE_HEIGHT'
2022-03-16 10:33:20 -04:00
8f996c4dd0
remove empty onDamage function 2022-03-16 09:16:05 -04:00
da194701f9
Add comments (vim fold marker) 2022-03-16 09:15:04 -04:00
02c22df59c
Add vim modeline to beginning of script 2022-03-16 08:36:44 -04:00
d3af45409b
Fix indentation 2022-03-15 23:46:11 -04:00
1bf4859501
Add and use named timers instead
Prevents multiple calls to function when it expires, some functions
should only be run once
2022-03-15 23:44:17 -04:00
5694ab896f
change expression modifier to use timer function 2022-03-15 23:00:06 -04:00
2c3dae2156
Add timer function 2022-03-15 22:54:56 -04:00
1b16c728eb
Fix toggle_inner command 2022-03-15 22:40:33 -04:00
ec40071c61
Add command and array for vanilla inner layer 2022-03-15 22:40:33 -04:00
e5eb735858
Add command support and several debug commands 2022-03-15 22:40:32 -04:00
60b5cb495c
normalize line endings 2022-03-15 22:39:40 -04:00
71cfc72698
Add toggle armor function 2021-12-27 10:41:07 -05:00
e5c29d5bbd
Add files 2021-12-21 23:54:23 -05:00