Roblox Crafting System with Data-Driven Recipes and Server Validation
For Roblox developers of survival games, RPGs, and simulators who want a secure, easy-to-expand crafting system. It works for prototyping or for organizing an existing system, without relying on client-side logic.
The prompt makes the AI act as a senior Roblox software architect and deliver three parts: rules, recipe schema, and UX; Luau modules (ModuleScript, RemoteEvent, interface) with examples; and tests, balancing, and extension points. The server is authoritative: every remote input is validated, with rate limiting, and the client never decides inventory or progress.
Fill in the bracketed fields with your game, current inventory, platforms, and technical level. Start with the first part, approve the structure, and only then ask for the scripts, testing each one in Studio before moving on.
Act as a software architect and senior Roblox (Luau) specialist. Design a data-driven crafting system, with recipes in a ModuleScript, server-side validation, and integration with the game's inventory. Game: [GENRE_AND_THEME: e.g. survival with a base and campfire] Current inventory: [EXISTING_INVENTORY: how items are stored, or 'I don't have one'] Platforms: [PC/MOBILE/CONSOLE] Technical level: [BEGINNER/INTERMEDIATE/ADVANCED] Deliver in 3 parts, one at a time, waiting for my confirmation.