Skip to content

Commit c338b2f

Browse files
committed
🚀 Update 12/31/2023, 8:25:34 AM
1 parent 97ec1e6 commit c338b2f

File tree

7 files changed

+283
-283
lines changed

7 files changed

+283
-283
lines changed

library/constraint.lua

Lines changed: 134 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,25 @@ function constraint.AddConstraintTableNoDelete(ent1, constrt, ent2, ent3, ent4)
4848
---@param nocollide number Whether the entities should be no-collided.
4949
---@return Entity # A phys_ragdollconstraint entity. Will return false if the constraint could not be created.
5050
function constraint.AdvBallsocket(
51-
Ent1,
52-
Ent2,
53-
Bone1,
54-
Bone2,
55-
LPos1,
56-
LPos2,
57-
forcelimit,
58-
torquelimit,
59-
xmin,
60-
ymin,
61-
zmin,
62-
xmax,
63-
ymax,
64-
zmax,
65-
xfric,
66-
yfric,
67-
zfric,
68-
onlyrotation,
69-
nocollide
51+
Ent1,
52+
Ent2,
53+
Bone1,
54+
Bone2,
55+
LPos1,
56+
LPos2,
57+
forcelimit,
58+
torquelimit,
59+
xmin,
60+
ymin,
61+
zmin,
62+
xmax,
63+
ymax,
64+
zmax,
65+
xfric,
66+
yfric,
67+
zfric,
68+
onlyrotation,
69+
nocollide
7070
)
7171
end
7272

@@ -87,18 +87,18 @@ end
8787
---@param DontAddTable boolean Whether or not to add the constraint info on the entity table. See constraint.AddConstraintTable.
8888
---@return Entity # Constraint. Will return false if the constraint could not be created.
8989
function constraint.Axis(
90-
Ent1,
91-
Ent2,
92-
Bone1,
93-
Bone2,
94-
LPos1,
95-
LPos2,
96-
forcelimit,
97-
torquelimit,
98-
friction,
99-
nocollide,
100-
LocalAxis,
101-
DontAddTable
90+
Ent1,
91+
Ent2,
92+
Bone1,
93+
Bone2,
94+
LPos1,
95+
LPos2,
96+
forcelimit,
97+
torquelimit,
98+
friction,
99+
nocollide,
100+
LocalAxis,
101+
DontAddTable
102102
)
103103
end
104104

@@ -173,19 +173,19 @@ function constraint.CreateStaticAnchorPoint(pos) end
173173
---@return Entity # Constraint. Will return false if the constraint could not be created.
174174
---@return Entity # rope. Will return nil if the constraint could not be created.
175175
function constraint.Elastic(
176-
Ent1,
177-
Ent2,
178-
Bone1,
179-
Bone2,
180-
LPos1,
181-
LPos2,
182-
constant,
183-
damping,
184-
rdamping,
185-
material,
186-
width,
187-
stretchonly,
188-
color
176+
Ent1,
177+
Ent2,
178+
Bone1,
179+
Bone2,
180+
LPos1,
181+
LPos2,
182+
constant,
183+
damping,
184+
rdamping,
185+
material,
186+
width,
187+
stretchonly,
188+
color
189189
)
190190
end
191191

@@ -331,21 +331,21 @@ function constraint.HasConstraints(ent) end
331331
---@return Entity # controller. Can return nil depending on how the constraint was created. Will return nil if the constraint could not be created.
332332
---@return Entity # slider. Can return nil depending on how the constraint was created. Will return nil if the constraint could not be created.
333333
function constraint.Hydraulic(
334-
pl,
335-
Ent1,
336-
Ent2,
337-
Bone1,
338-
Bone2,
339-
LPos1,
340-
LPos2,
341-
Length1,
342-
Length2,
343-
width,
344-
key,
345-
fixed,
346-
speed,
347-
material,
348-
color
334+
pl,
335+
Ent1,
336+
Ent2,
337+
Bone1,
338+
Bone2,
339+
LPos1,
340+
LPos2,
341+
Length1,
342+
Length2,
343+
width,
344+
key,
345+
fixed,
346+
speed,
347+
material,
348+
color
349349
)
350350
end
351351

@@ -384,23 +384,23 @@ function constraint.Keepupright(ent, ang, bone, angularLimit) end
384384
---@return Entity # Constraint. Will return false if the constraint could not be created.
385385
---@return Entity # axis. Will return nil if the constraint could not be created.
386386
function constraint.Motor(
387-
Ent1,
388-
Ent2,
389-
Bone1,
390-
Bone2,
391-
LPos1,
392-
LPos2,
393-
friction,
394-
torque,
395-
forcetime,
396-
nocollide,
397-
toggle,
398-
pl,
399-
forcelimit,
400-
numpadkey_fwd,
401-
numpadkey_bwd,
402-
direction,
403-
LocalAxis
387+
Ent1,
388+
Ent2,
389+
Bone1,
390+
Bone2,
391+
LPos1,
392+
LPos2,
393+
friction,
394+
torque,
395+
forcetime,
396+
nocollide,
397+
toggle,
398+
pl,
399+
forcelimit,
400+
numpadkey_fwd,
401+
numpadkey_bwd,
402+
direction,
403+
LocalAxis
404404
)
405405
end
406406

@@ -429,23 +429,23 @@ end
429429
---@return Entity # controller. Will return nil if the constraint could not be created.
430430
---@return Entity # slider. Will return nil if the fixed argument is not 1 or if the constraint could not be created.
431431
function constraint.Muscle(
432-
pl,
433-
Ent1,
434-
Ent2,
435-
Bone1,
436-
Bone2,
437-
LPos1,
438-
LPos2,
439-
Length1,
440-
Length2,
441-
width,
442-
key,
443-
fixed,
444-
period,
445-
amplitude,
446-
starton,
447-
material,
448-
color
432+
pl,
433+
Ent1,
434+
Ent2,
435+
Bone1,
436+
Bone2,
437+
LPos1,
438+
LPos2,
439+
Length1,
440+
Length2,
441+
width,
442+
key,
443+
fixed,
444+
period,
445+
amplitude,
446+
starton,
447+
material,
448+
color
449449
)
450450
end
451451

@@ -478,19 +478,19 @@ function constraint.NoCollide(Ent1, Ent2, Bone1, Bone2) end
478478
---@param color table The color of the rope. See Global.Color.
479479
---@return Entity # Constraint. Will return false if the constraint could not be created.
480480
function constraint.Pulley(
481-
Ent1,
482-
Ent4,
483-
Bone1,
484-
Bone4,
485-
LPos1,
486-
LPos4,
487-
WPos2,
488-
WPos3,
489-
forcelimit,
490-
rigid,
491-
width,
492-
material,
493-
color
481+
Ent1,
482+
Ent4,
483+
Bone1,
484+
Bone4,
485+
LPos1,
486+
LPos4,
487+
WPos2,
488+
WPos3,
489+
forcelimit,
490+
rigid,
491+
width,
492+
material,
493+
color
494494
)
495495
end
496496

@@ -530,19 +530,19 @@ function constraint.RemoveConstraints(ent, type) end
530530
---@return Entity # The constraint entity. Will be a `keyframe_rope` if you are roping to the same bone on the same entity. Will return `false` if the constraint could not be created.
531531
---@return Entity # The rope entity. Will return `nil` if `constraint` return value is a `keyframe_rope` or if the constraint could not be created.
532532
function constraint.Rope(
533-
Ent1,
534-
Ent2,
535-
Bone1,
536-
Bone2,
537-
LPos1,
538-
LPos2,
539-
length,
540-
addlength,
541-
forcelimit,
542-
width,
543-
material,
544-
rigid,
545-
color
533+
Ent1,
534+
Ent2,
535+
Bone1,
536+
Bone2,
537+
LPos1,
538+
LPos2,
539+
length,
540+
addlength,
541+
forcelimit,
542+
width,
543+
material,
544+
rigid,
545+
color
546546
)
547547
end
548548

@@ -599,20 +599,20 @@ function constraint.Weld(ent1, ent2, bone1, bone2, forcelimit, nocollide, delete
599599
---@return Entity # rope. Will return nil if the constraint could not be created.
600600
---@return Entity # controller. Can return nil.
601601
function constraint.Winch(
602-
pl,
603-
Ent1,
604-
Ent2,
605-
Bone1,
606-
Bone2,
607-
LPos1,
608-
LPos2,
609-
width,
610-
fwd_bind,
611-
bwd_bind,
612-
fwd_speed,
613-
bwd_speed,
614-
material,
615-
toggle,
616-
color
602+
pl,
603+
Ent1,
604+
Ent2,
605+
Bone1,
606+
Bone2,
607+
LPos1,
608+
LPos2,
609+
width,
610+
fwd_bind,
611+
bwd_bind,
612+
fwd_speed,
613+
bwd_speed,
614+
material,
615+
toggle,
616+
color
617617
)
618618
end

library/construct.lua

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ construct = {}
2222
---@param frozen? boolean Freeze the magnet on start
2323
---@return Entity # The magnet
2424
function construct.Magnet(
25-
ply,
26-
pos,
27-
ang,
28-
model,
29-
material,
30-
key,
31-
maxObjects,
32-
strength,
33-
nopull,
34-
allowrot,
35-
startOn,
36-
toggle,
37-
vel,
38-
aVel,
39-
frozen
25+
ply,
26+
pos,
27+
ang,
28+
model,
29+
material,
30+
key,
31+
maxObjects,
32+
strength,
33+
nopull,
34+
allowrot,
35+
startOn,
36+
toggle,
37+
vel,
38+
aVel,
39+
frozen
4040
)
4141
end
4242

library/dlistview.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,13 @@ function DListView:SortByColumn(columnIndex, descending) end
237237
---@param column4? number
238238
---@param descrending4? boolean
239239
function DListView:SortByColumns(
240-
column1,
241-
descrending1,
242-
column2,
243-
descrending2,
244-
column3,
245-
descrending3,
246-
column4,
247-
descrending4
240+
column1,
241+
descrending1,
242+
column2,
243+
descrending2,
244+
column3,
245+
descrending3,
246+
column4,
247+
descrending4
248248
)
249249
end

0 commit comments

Comments
 (0)