1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Renamed to mods

This commit is contained in:
DJ1TJOO 2022-02-05 22:34:38 +01:00
parent b257376568
commit eb73ca0dd9

View File

@ -55,7 +55,7 @@ export const MOD_ITEM_PROCESSOR_HANDLERS = {};
/** /**
* @type {Object<string, (ProccessingRequirementsImplementationPayload) => boolean>} * @type {Object<string, (ProccessingRequirementsImplementationPayload) => boolean>}
*/ */
export const MOD_PROCESSING_REQUIREMENTS = {}; export const MODS_PROCESSING_REQUIREMENTS = {};
export class ItemProcessorSystem extends GameSystemWithFilter { export class ItemProcessorSystem extends GameSystemWithFilter {
constructor(root) { constructor(root) {
@ -177,8 +177,8 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
const itemProcessorComp = entity.components.ItemProcessor; const itemProcessorComp = entity.components.ItemProcessor;
const pinsComp = entity.components.WiredPins; const pinsComp = entity.components.WiredPins;
if (MOD_PROCESSING_REQUIREMENTS[itemProcessorComp.processingRequirement]) { if (MODS_PROCESSING_REQUIREMENTS[itemProcessorComp.processingRequirement]) {
return MOD_PROCESSING_REQUIREMENTS[itemProcessorComp.processingRequirement].bind(this)({ return MODS_PROCESSING_REQUIREMENTS[itemProcessorComp.processingRequirement].bind(this)({
entity, entity,
item, item,
slotIndex, slotIndex,