Commit Graph

71 Commits

Author SHA1 Message Date
Stoob
171e84d926 Notes 2022-10-04 23:21:10 -05:00
Stoob
bb22bba6ca Removed usage of GetLink(s) 2022-10-04 23:20:54 -05:00
Stoob
3e1be4f384 Added CFW.parentFilter lookup table 2022-10-04 23:20:13 -05:00
Stooberton
cb3f42d925
Merge pull request #2 from CheezusChrust/main
Check that undo.Entities exists
2022-09-30 14:46:26 -05:00
Matt
08cc1e2eda Check that undo.Entities exists 2022-09-30 15:44:32 -04:00
Stoob
c6e015fd62 Fixed mass error on ents added to a contraption without a physObj
Handles cases of entities being added to a contraption before they have a physObj, then acquire one, and have their mass changed.
2022-07-25 17:40:59 -05:00
Stoob
5b9c9dd59b Removed test hook from position extension 2022-07-18 16:49:11 -05:00
Stoob
9c3bea1064 Added contraption:Defuse()
Allows for the safe removal of a contraption, particularly when an error occurs.
2022-07-18 16:48:10 -05:00
Stoob
2928dcc50c Fixed link error on player disconnect 2022-07-18 16:45:10 -05:00
Stoob
07b7a22b24 Added safety net in constraint removal w/ debug output
Instead of erroring and breaking, safely error and delete the contraption.
2022-07-14 17:17:04 -05:00
Stoob
9cc1d0e6ea Added validity check to constraints
Garry moment. The man doesn't clean up his constraint tables.
2022-07-14 15:27:16 -05:00
Stoob
23af343411 Removed debugging colors 2022-07-12 16:14:02 -05:00
Stoob
3583daf8b9 Optimized contraption splits
Contraptions now move the least amount of ents between a parent and child contraption during a split
Added cfw.contraption.split hook
2022-07-06 23:43:16 -05:00
Stoob
d5715df53b Further improved undo handling
Gotta pump those commit numbers

Now it'll take care of all entities, including those not in the dupe, such as holograms.
2022-07-06 18:21:11 -05:00
Stoob
cd2367928d Improved Undo handling
Fixed handling parented entities
2022-07-06 15:13:52 -05:00
Stoob
b8a1de5c37 Added support for E2 2022-07-06 13:15:34 -05:00
Stoob
1a16b75bca Changed mass to totalMass in mass extension 2022-07-06 13:09:40 -05:00
Stoob
9321bf1995 Renamed hooks 2022-07-06 13:09:20 -05:00
Stoob
43ec99d2ee Added workaround for elastic/hydraulic bug
Hooked into PreUndo to handle contraption deletion in a more optimal way (no contraption sub actions occur, only contraption delete) while conveniently circumventing the elastic/hydraulic bug
2022-07-03 04:11:35 -05:00
Stooberton
435108e854
Add files via upload 2022-06-27 16:34:28 -05:00
Stooberton
272202d574
Initial commit 2022-06-27 16:33:58 -05:00