mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Implement color inverter building
This commit is contained in:
@@ -348,8 +348,11 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
|
||||
// ADVANCED PROCESSING
|
||||
|
||||
case enumItemProcessorTypes.advancedProcessor: {
|
||||
const shapeItem = /** @type {ShapeItem} */ (items[0].item);
|
||||
const newItem = this.root.shapeDefinitionMgr.shapeActionInvertColors(shapeItem.definition);
|
||||
|
||||
outItems.push({
|
||||
item: items[0].item,
|
||||
item: new ShapeItem(newItem),
|
||||
requiredSlot: 0,
|
||||
});
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user