Curios and artifacts !
This commit is contained in:
@@ -36,7 +36,14 @@ export class GuiContainer extends GuiInventoryScreen {
|
||||
|
||||
for (const slot of layout.slots) {
|
||||
this.slots.push(
|
||||
new Slot("screen", slot.index, MARGIN + slot.x * SLOT_SIZE, AREA_Y + slot.y * SLOT_SIZE, slot.output),
|
||||
new Slot(
|
||||
"screen",
|
||||
slot.index,
|
||||
MARGIN + slot.x * SLOT_SIZE,
|
||||
AREA_Y + slot.y * SLOT_SIZE,
|
||||
slot.output,
|
||||
slot.icon,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user