mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-14 18:51:51 +00:00
aaaaa
This commit is contained in:
parent
4cb99383f7
commit
663c7b2a02
@ -27,7 +27,7 @@ export class MetaSorterBuilding extends MetaBuilding {
|
|||||||
* @param {GameRoot} root
|
* @param {GameRoot} root
|
||||||
*/
|
*/
|
||||||
getIsUnlocked(root) {
|
getIsUnlocked(root) {
|
||||||
return true;//root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_sorter);
|
return true; //root.hubGoals.isRewardUnlocked(enumHubGoalRewards.reward_sorter);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -123,7 +123,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
|
|||||||
trackProduction = false;
|
trackProduction = false;
|
||||||
const availableSlots = entity.components.ItemEjector.slots.length - 1;
|
const availableSlots = entity.components.ItemEjector.slots.length - 1;
|
||||||
assert(inputItem instanceof ShapeItem, "Input for sorting is not a shape");
|
assert(inputItem instanceof ShapeItem, "Input for sorting is not a shape");
|
||||||
console.log(inputItem.serialize)
|
console.log(inputItem.serialize);
|
||||||
if (inputItem.serialize() == "CuCuCuCu") {
|
if (inputItem.serialize() == "CuCuCuCu") {
|
||||||
let nextSlot = processorComp.nextOutputSlot++ % availableSlots;
|
let nextSlot = processorComp.nextOutputSlot++ % availableSlots;
|
||||||
for (let i = 0; i < items.length; ++i) {
|
for (let i = 0; i < items.length; ++i) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user