Go to file
LiddulBOFH 69e11a6169 Update E2 function
Change what the function is marked to return to what it is actually returning
Previously was returning a contraption object that just wasn't valid to instead represent the collection of entities it is supposed to
2024-05-31 22:01:11 -05:00
.github/workflows Add linter 2024-05-16 13:32:23 -04:00
lua Update E2 function 2024-05-31 22:01:11 -05:00
.glualint.json Add linter 2024-05-16 13:32:23 -04:00
LICENSE.md Create LICENSE.md 2023-02-01 22:01:43 -06:00
README.md Update README.md 2024-04-18 17:57:19 -04:00

Contraption Framework

Workshop

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.