Some more hopefully working progress
This commit is contained in:
14
tiles/furnace.c
Normal file
14
tiles/furnace.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user