mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-02 07:35:08 +02:00
add recipes for converting ore blocks back to source materials
This commit is contained in:
@@ -40,6 +40,26 @@ void getCraftingOutput (PlayerData *player, uint8_t *count, uint16_t *item) {
|
|||||||
*item = I_oak_button;
|
*item = I_oak_button;
|
||||||
*count = 1;
|
*count = 1;
|
||||||
return;
|
return;
|
||||||
|
case I_iron_block:
|
||||||
|
*item = I_iron_ingot;
|
||||||
|
*count = 9;
|
||||||
|
return;
|
||||||
|
case I_gold_block:
|
||||||
|
*item = I_gold_ingot;
|
||||||
|
*count = 9;
|
||||||
|
return;
|
||||||
|
case I_diamond_block:
|
||||||
|
*item = I_diamond;
|
||||||
|
*count = 9;
|
||||||
|
return;
|
||||||
|
case I_redstone_block:
|
||||||
|
*item = I_redstone;
|
||||||
|
*count = 9;
|
||||||
|
return;
|
||||||
|
case I_coal_block:
|
||||||
|
*item = I_coal;
|
||||||
|
*count = 9;
|
||||||
|
return;
|
||||||
|
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user