Introduction

Island Customers is designed to enhance player-owned businesses by introducing a dynamic customer NPC system. The script provides a comprehensive framework for managing customer interactions, transactions, and business operations within the game.

  1. Customer NPC System:

    • Spawns customer NPCs at designated business locations.

    • NPCs queue up and wait for service, with configurable patience levels.

    • NPCs can perform various animations and dialogues while waiting.

  2. Business Operations:

    • Supports multiple businesses with unique configurations.

    • Businesses have specific operating hours and customer flow patterns.

    • Employees can start and stop working at businesses, with job and grade requirements.

  3. Transaction Handling:

    • Players can handle customer transactions by providing required items.

    • A minigame is included to simulate item preparation, adding an interactive element to transactions.

    • Successful transactions reward players with in-game currency.

  4. Inventory Integration:

    • Supports both ox_inventory and qb-inventory (new) systems for item management out of the box. You can adapt the inventory functions to use your own inventory system.

    • Fetches and displays player inventory items during transactions.

  5. UI and Notifications:

    • Custom UI elements for displaying customer requests and transaction details.

    • Notifications for various events, such as starting/stopping work, transaction outcomes, and customer impatience.

  6. Localization:

    • Supports multiple languages out of the box, with translations available for English and Spanish

SHOWCASE VIDEO

Last updated