mirror of
https://github.com/ACF-Team/CFW.git
synced 2025-03-04 03:03:16 -05:00
![]() A potential fix for floodfill in connectivity_sv erroring when running through an entity's _links table, due to said table being set to nil if the last link in that table happened to be removed Also new tool (to be fleshed out later) to aid in seeing an entity's connections in various manners for CFW. Right now it requires 'developer 1' due to usage of debugoverlay, later an overlay can be made alongside networking for CFW info. Due to that requirement, the tool will not be listed in the menu and must be accessed alternatively, such as 'gmod_tool cfw_tool' |
||
---|---|---|
.github/workflows | ||
lua | ||
.glualint.json | ||
LICENSE.md | ||
README.md |
Contraption Framework
Monitors constraints to create "contraption" objects and adds callbacks for changes made to contraptions for efficient contraption-aware functionality.
For example, in order to calculate the total mass of a contraption traditionally one would need to iterate over every entity on the contraption and store this information somewhere.
With Contraption Framework (CFW), a callback is run whenever an entity is added to or removed from a contraption and the total mass is added to or subtracted from the total stored in memory on the contraption object.