Modular Unity factory framework with machines, recipes, spline conveyors, splitters, physical items, fuel and power systems for automation, tycoon, crafting and simulation games.DocumentationDescriptionProduction System Pro is a complete, customizable production and automation framework for Unity.It provides the main systems required to create physical resource-processing chains such as:Logs → Planks → Wooden ProductsOre → Ingots → Manufactured PartsWheat → Flour → Food ProductsRaw Materials → Processed Resources → Final ProductsThe package is suitable for:Factory and automation gamesTycoon and management gamesSurvival and crafting gamesFarming and cooking gamesMining and resource-processing gamesSimulation gamesData-Driven WorkflowItems, recipes, fuels, machines, and conveyor configurations are created using ScriptableObjects.Developers can create new production content by configuring reusable data assets rather than modifying the core framework.Modular Machine SystemMachines support:Multiple input itemsMultiple output itemsByproductsProcessing timesProcessing-speed multipliersMachine tiersInput and output inventoriesPhysical input and output portsElectrical power requirementsSolid-fuel requirementsConfigurable output spawningSequential or simultaneous output productionMachines validate all required conditions before completing a recipe. If output capacity is unavailable, processing waits instead of deleting or losing items.Physical Conveyor SystemConveyors use configurable Catmull-Rom spline paths and support:Straight conveyorsCurved conveyorsUpward conveyorsDownward conveyorsMixed custom pathsDropped and thrown physical itemsAutomatic centering and alignmentItem spacing and stable queuesDirection reversalOpen-end item releaseMachine and conveyor handoffsThe same conveyor component can be adapted to many shapes by editing its path waypoints.Splitters and RoutingItems can be distributed using:Round-robin splittingConfigurable items per outputConditional item sortingItem-specific routesFallback routes for unmatched itemsPower and FuelMachines and conveyors can optionally require power.Power sources provide configurable output capacity and coverage radius. Consumers automatically register with the power network and pause when power is unavailable.Fuel-powered machines can use configurable fuel definitions with different energy values.Custom FeedbackMachine events can trigger:AnimationsParticle effectsSound effectsUnityEventsCustom methodsExternal gameplay systemsThis allows the production framework to be visually adapted to different art styles and genres.CustomizationThe package includes full C# source code and does not require third-party dependencies.Models, materials, sounds, particles, recipes, processing values, conveyor speeds, power values, feedback actions, and production rules can all be customized.The included content is intended as an example and can be replaced with project-specific assets.Item and Recipe SystemScriptableObject-based item definitionsUnique item identifiersDisplay names and iconsPhysical world prefabsItem categoriesConfigurable stack limitsItem weight configurationMultiple recipe inputsMultiple recipe outputsRecipe byproductsConfigurable processing timeMachine compatibility filteringRecipe unlock settingsMachine SystemReusable machine definitionsGeneric processing-machine componentMultiple input and output slotsAutomatic recipe validationProcessing-speed multipliersMachine tiersStrict input modeInternal machine inventoriesAtomic input and output transactionsPhysical item intakePhysical output spawningInternal output-storage modeSequential output spawningSimultaneous output spawningConfigurable output spreadOptional unlimited stack capacityMachine StatesIdleMissing InputsProcessingOutput FullNo PowerNo FuelDisabledMachine FeedbackAnimation triggersAutomatic animation-duration detectionParticle-system playbackAssociated-port particle positioningAudio one-shotsVolume configurationPitch variationUnityEventsCustom method callsProcessing and item eventsConveyor SystemCatmull-Rom spline pathsArc-length parameterizationConstant world-space movement speedStraight and curved pathsAscending and descending pathsDynamic physical-item captureKinematic conveyor movementAutomatic center-path correctionItem rotation alignmentUpright correctionElongated-item detectionStable queueingConfigurable minimum item gapConveyor reversalOptional open-end item releaseExit velocity restorationBelt material scrollingRoller rotationLooping conveyor audioOptional conveyor power consumptionConveyor RoutingMulti-output splittersRound-robin distributionConfigurable items per portConditional routingItem-specific filteringFallback routingIndividual output-lane controlPower and FuelShared power-consumer interfaceAutomatic power-network registrationRadial power-source coverageConfigurable power outputConfigurable consumer power usagePowered machinesPowered conveyorsFuel-definition assetsConfigurable fuel energy valuesMultiple accepted fuel typesIntegration and ExtensibilityFull C# source code includedScriptableObject-based data architectureMonoBehaviour-based runtime componentsGlobal machine event busUnityEventsPublic runtime APIsCustom gameplay integration supportNo required third-party dependenciesDemo content includedExample production configurationsDocumentation includedAI/ML Usage DisclosureAI Tools UsedChatGPTBeziUnity AI AssistantHow AI Was UsedAI coding assistants were used as development-support and pair-programming tools throughout the creation of Production System Pro.AI-assisted contributions included:Initial C# class scaffolding and boilerplateSuggestions for ScriptableObject data structuresMachine, recipe, conveyor, and power-system implementation suggestionsEditor-window implementation suggestionsInspector and custom-editor layout suggestionsCode-completion assistanceDebugging suggestions and error analysisNull-checking and validation suggestionsRefactoring suggestionsXML comments and code commentsREADME and documentation draftingAPI usage examplesDemo-data suggestionsTest-case and edge-case suggestionsAI was used to accelerate repetitive work, explore implementation alternatives, and help identify potential technical issues.Human-Authored and Human-Directed WorkI personally designed and directed the package, including:Overall product concept and feature scopeSystem architecture and modular structureMachine-processing workflowRecipe and inventory behaviorConveyor gameplay behaviorConveyor capture, centering, alignment, spacing, and handoff requirementsSplitter and routing behaviorPower and fuel-system requirementsScriptableObject data relationshipsEditor workflow and interface directionAsset Store positioning and package presentationDemo-scene designExample production chainsIntegration of all package componentsReview and modification of AI-assisted codeDebugging and bug fixingRuntime testingPhysics testingPerformance reviewCompatibility validationDocumentation reviewFinal quality assuranceAll AI-assisted code and documentation were reviewed, modified, integrated, and tested by me.I made the final architecture, implementation, design, and quality decisions and take full responsibility for the package's functionality, maintainability, and support.Runtime AI/MLProduction System Pro does not contain, download, train, or execute any artificial-intelligence or machine-learning model at runtime.AI tools were used only during the development process.




