branchrust_reboot/main/farming2cancel
430 Commits over 121 Days - 0.15cph!
Fixed the neighbouring check including itself.
Dominant neighbouring gene calculation per slot.
Crossbreeding basics.
Added crossbreeding weighting to GrowableGeneProperties
Assigned generic.genes to existing plant types.
Gene types can now be weighted per type and also per gene slot.
Added generic.genes definition.
Added GrowableGeneProperties scriptable object for gene/slot weights data per plant (or generic) to PlantProperties.
Bit of refactoring ready to start using the new data for generation.
Added negative/positive colour-coded gene make-up display to plant info UI.
Initial basic gene random generation.
GrowableEntityGenes proto and serialization.
Bunch of GrowableGenetics boiler plate and some basic initial functionality.
Reduce default fertilizer production value for items. Composter description. GrowableEntity info display now displays when hovering a growable inside a planter, instead of the planter options.
Composter protobuf and serialization.
More composter wip. Merged from main.
Added FertilizerQuantity to ItemModCompostable so that different items can produce varying amounts of fertilizer. Composter checks an item is compostable and uses FertilizerQuantity to produce the correct amount.
Made a bunch of items compostable.
Added ItemModCompostable and Composter checks for it.
Fertilizer now boosts growth rate.
Fixed growth bonuses such as light getting cancelled out.
LookAtPlant now uses GrowablEntity.
renamed some items/code for fertiliser/fertilizer consistency
Initial Composter functionallty: Converts food items to fertilizer over time.
GrowableEntity consumes fertilizer from PlanterBox. Switched Corn to GrowableEntity. Bit of a refactor. Save file.
placeholder Composter prefab setup, manifest, save update.
Added placeholder Fertilizer item. Manifest.
Cached some components that were getting called every update. Refactored/split out a bunch of GrowableEntity calculations so it's easier to take a bunch of new factors into account, going forwards.
Removed existing implementation of genetics from GrowableEntity
Added new GrowableEntity, based on the existing PlantEntity for now. Some clean-up.