Added growing sapling types to enum growing_plant_type

This commit is contained in:
CobaltXII
2019-01-04 17:40:35 -05:00
parent 6e2642868a
commit 0adb0ed348

View File

@@ -12,6 +12,13 @@ inline unsigned int growth_4()
return growth_8() * 2;
}
// Choose a growth timer for a growing tree/sapling.
inline unsigned int growth_tree()
{
return rand() % 60;
}
// Types of growing plants.
enum growing_plant_type
@@ -22,7 +29,11 @@ enum growing_plant_type
growing_potatoes,
growing_beetroots
growing_beetroots,
growing_oak_sapling,
growing_birch_sapling
};
// A growing plant.