Some more hopefully working progress

This commit is contained in:
2025-05-31 23:54:55 +02:00
parent 0c9698879b
commit 6b6e7df035
26 changed files with 659 additions and 393 deletions

14
tiles/furnace.c Normal file
View File

@@ -0,0 +1,14 @@
//
// Created by bruno on 31.5.2025.
//
#include "furnace.h"
#include "tile.h"
uint16_t getFurnaceNewItem(uint16_t sourceItem) {
uint16_t realItemIndex = sourceItem - tileTypeIndex - 1;
if (realItemIndex < 8) {
return sourceItem + 1;
}
return 0;
}