ORK Framework Logo - RPG Editor for Unity
  • ORK 4 BETA
  • Features
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK

ORK 4 Documentation

  • Getting Started
    • Welcome
    • First Steps (Unity)
  • Features
    • The Status System
    • Schematics
    • Schematic Nodes
    • Dialogue Importer
    • Variables
    • Selected Data
  • Components
    • Battle Components
    • Combatant Components
    • Control Components
    • Cursor Prefab Components
    • Game Starters
    • Interactable Components
    • Move AI Components
    • Scene Setup Components
  • Editor
    • The ORK 4 Editor
    • Sections & Sub-Sections
    • Node Editor
    • Schematic Editor
    • Asset Sources
    • Unity Overlay Toolbar
  • Section: System
    • System Settings
    • Languages
    • Organizer Types
    • Game States & Conditions
    • General Condition Templates
    • Object Pools
    • Prefab Savers
    • Scene Connections
  • Section: Controls
    • Game Controls
    • Interaction Settings
    • Player Controls
    • Camera Controls
    • Input Keys
    • Control Maps
    • Camera Positions
    • Battle Camera
  • Section: Gameplay
    • Game Settings
    • Formulas
    • Difficulties
    • Shortcut Slots & Settings
    • Custom Settings & Global Custom Settings
    • Global Machines
    • Machine Templates
  • Section: Status
    • Status Values
    • Status Effects
    • Attack Modifiers
    • Defence Modifiers
    • Abilities & Ability Developments
    • Status Developments
    • Research Trees
    • Damage Types
    • Status Bonuses & Templates
    • Status Condition Templates
  • Section: Inventory
    • Inventory Settings
    • Inventory Containers
    • Currencies
    • Items
    • AI Rulesets
    • Crafting Recipes
    • Equipment Slots & Slot Set Templates
    • Equipment & Available Equipment Templates
    • Shops
    • Loot
  • Section: Combatants
    • Combatants
    • Combatant Groups
    • Class Slots
    • Classes
    • Factions & Faction Benefits
    • Animations
    • Move AIs
    • Formations
    • Action Combos
  • Section: Battles
    • Battle Systems
    • Turn Based Battles
    • Active Time Battles
    • Real Time Battles
    • Phase Battles
    • Battle Spots
    • Battle AIs
    • Battle Actions Settings
    • Special Commands Settings
    • Target Settings
    • Target Selection Templates
    • Battle Range Templates
    • Battle Grid Settings
    • Battle Grid Highlights
    • Battle Grid Cell Types
    • Battle Grid Formations
  • Section: Content
    • Content Types
    • Music
    • Sound Templates
    • Areas
    • Teleports
    • Quests & Quest Tasks
    • Logs & Log Texts
    • Object Contents
  • Section: UI
    • UI Settings
    • UI Layers
    • UI Layouts
    • UI Boxes
    • HUDs
    • Notifications
    • Cursor Settings
  • Section: Menus
    • Start Menu
    • Save Game Settings
    • Option Categories
    • Menu Screens
    • Menu Requirements
    • Battle Menus
    • Loot Dialogues
    • Item Collection
    • Combatant Selections
    • Quantity Selections
    • Shop Layouts
  • Section: Texts
    • Text Settings
    • Formatting Settings
    • Flying Texts
    • Use Cost Display
    • Status Preview Display
    • Bonus Display
    • Status Change Display
    • Console Settings & Console Types
    • Text Codes
  • Sections: Editor
    • Editor Settings
    • Backups
    • Variables
    • Plugins
  • Scripting
    • Access Handler
    • Custom Nodes
    • Custom Save Data
    • Custom Component Save Data

ORK 4 Tutorials

  • ORK 4 Unity Quickstart Tutorials (3D)
    • ORK 4 Unity Quickstart 3D
    • 01 Initial ORK Setup
    • 02 Player Setup
    • 03 Music & Scenes
    • 04 UI System Setup
    • 05 UI Boxes
    • 06 Flying Texts
    • 07 Status Values
    • 08 Status Effects
    • 09 First Abilities
    • 10 Fighter Setup
    • 11 First Enemies & Battle AI
    • 12 Battle System Setup
    • 13 Animating Battle Start and End
    • 14 Random Battles
    • 15 Animating Actions
    • 16 Player Battle HUD
    • 17 Elemental Attacks
    • 18 Animating More Actions
    • 19 Inventory & Loot
    • 20 Equipment
    • 21 Loot, Start Equipment & Viewers
    • 22 Magic Abilities
    • 23 Caster Setup
    • 24 More Enemies
    • 25 Start Menu & Save Games
    • 26 Menu Screens
    • 27 Interactions
    • 28 Item Collectors
    • Quickstart Extended
  • Battle Tutorials
    • Adding Active Time Battles
    • Adding Phase Battles
    • Hit & Miss
    • Critical Hits
    • Cast Time
    • Grid 01: Battle Grid Setup
    • Grid 02: Highlights
    • Grid 03: Cell Types
    • Grid 04: Move Command
    • Grid 05: Scene Grid Setup
    • Grid 06: Battle Ready
    • Grid 07 Use & Affect Ranges
    • Grid 08: Better Camera Control
  • Gameplay Tutorials
    • Multiple Interaction Controllers
    • Player Group Spawn & Follow
    • Spawn Hunting Enemies
    • Gamepad Controls (Unity Input System)
    • Combined Inputs
    • Quests 01: Menu Screen
    • Quests 02: Hunting
    • Quests 03: Collect Potion Materials
    • Quests 04: Collect Equipment Materials
    • Quests 05: Quest Mark HUDs
    • Crafting 01: Menu Screen
    • Crafting 02: Materials & Recipes
    • Crafting 03: Getting Materials
    • Crafting 04: Proficiency & Critical Outcome
    • Shop
    • Inventory Containers
  • Schematics Tutorials
    • UI Animation Schematics
    • Flying Text Animation Schematics
    • HUD Conditional Schematics
  • UI Tutorials
    • Unity UI: Initial Setup
    • Unity UI: Status Value UI Setup
    • Unity UI: Status Effect UI Setup
    • Unity UI: Shortcut UI Setup
    • Unity UI: Dragging Notification
    • Unity UI: Interaction HUD
    • Unity UI: Shortcut HUD
    • Unity UI: Turn Order HUD
    • Unity UI: Cast Time HUD
    • Unity UI: Quest HUD
    • Unity UI: Tooltip HUD
    • Unity UI: Move Range HUD

ORK 4 Extensions

  • Plugins
    • Save Game Compression Plugin
  • Schematic Nodes
    • Footstepper Nodes (Unity)
  • Scripts
    • A* Pathfinding Movement Component (Unity)
    • PolyNav 2D Movement Component (Unity)
    • Cinemachine Camera Control Type (Unity)
    • Rewired Input Key (Unity)
    • Unity Legacy Input Key (Unity)
    • Core GameKit Wrapper (Unity)
    • Pool Boss Wrapper (Unity)
View Categories
  • Guide
  • ORK 4
  • ORK 4 Tutorials
  • Gameplay Tutorials

Quests 04: Collect Equipment Materials

In this tutorial we’ll set up another quest to get an NPC some items.

This tutorial is part 4 of a mini-series covering quests. You can find the start of this series here.

This is a continuation of the crafting quest set up in part 3. This time, we’ll be tasked with collecting materials for equipment recipes. As before, you’ll need the crafting tutorial mini-series for this quest (at least part 1, 2 and 3).

This tutorial is based on the ORK 4 Unity Quickstart 3D tutorials and uses the previous quest tutorials and the crafting tutorials, but can be used in any project.

Quest #

We’ll start with setting up the quest.

The crafting NPC will give the player a second quest. Finishing the first quest will allow the player to start the second quest at the NPC, asking the player to fetch a sword and iron for equipment crafting (rewarding the player with equipment recipes).

Open the ORK editor and navigate to Content > Quests, we’ll add a new quest.

Collect Equipment Materials #

The second quest requires the player to collect a sword and iron for equipment recipes. The items will be defined in a quest task.

Add a new quest and change the following settings.

  • Name
    Set to: Collect Equipment Materials

Base Settings #

  • Content Type
    Select: Fetching Quests

Quest Text #

  • Default Content
    Set to: The crafting enthusiast now wants a sword and some iron in order to teach us about equipment crafting.

Rewards > Item Rewards #

Upon completion, the player will receive the remaining potion recipes – the regular Potion Recipe has already been given to the player by the crafting NPC before the quest.

We’ll add:

  • high potion recipe
  • magic potion recipe
  • revive potion recipe
  • cure potion recipe

Click on Add Item Reward.

  • Type
    Select: Crafting Recipe
  • Crafting Recipe
    Select: Enhanced Sword Recipe

Coy Item Reward 0.

  • Crafting Recipe
    Select: Enhanced Staff Recipe

Coy Item Reward 1.

  • Crafting Recipe
    Select: Iron Armor Recipe

Quest Tasks #

Next, we’ll set up the quest tasks for the quest.

The quest will have 2 tasks – one for collecting the required items and one to return to the NPC and deliver the items.

Navigate to Content > Quest Tasks, we’ll add new tasks.

Find Equipment Materials #

The equipment tasks will use a similar setup as the potion tasks. The player has to collect 1 sword and 3 iron.

Add a new quest task.

  • Name
    Set to: Find Equipment Materials

Base Settings #

  • Quest
    Select: Collect Equipment Materials

Activate Requirements #

  • Auto Activate
    Enable

Finish Requirements #

  • Auto Finish
    Enable

Click on Add Requirement to add a finish requirement for this task.

  • Requirement
    Select: Item
  • Type
    Select: Equipment
  • Equipment
    Select: Sword
  • Quantity
    Set to: 1
  • Collect
    Enable
    The player must collect a new sword, a sword already in the inventory is not used.

Click on Add Requirement.

  • Requirement
    Select: Item
  • Type
    Select: Item
  • Item
    Select: Iron
  • Quantity
    Set to: 3

Deliver Equipment Materials #

This task will automatically start when the Find Equipment Materials task finished. The task doesn’t automatically finish, that’ll be handled in the crafting NPC’s schematic.

Add a new task.

  • Name
    Set to: Deliver Equipment Materials

Base Settings #

  • Quest
    Select: Collect Equipment Materials

We’ll also update the quest text.

  • Update Quest Text
    Enable
  • Replace Text
    Enable
  • Default Content (Quest Text)
    Set to: We’ve found the required equipment materials, let’s return to the crafting enthusiast.

Activate Requirements #

We’ll automatically activate the task when the other task was finished.

  • Auto Activate
    Enable

Click on Add Requirement.

  • Requirement
    Select: Finished Task
  • Finished Task
    Select: Find Equipment Materials

Finish Requirements #

  • Finish Quest
    Enable

Save Changes #

That’s all we need to set up in the editor.

Don’t forget to save your changes by clicking on Save Settings at the bottom of the editor.

Crafting NPC Schematic #

Open the schematic editor and open the CraftingNPC schematic again.

We’ll simply copy all nodes of the first quest and adjust them to using quest 2. Select all nodes of the first quest (from Quest Status Fork node onward) and copy them. If you’ve used a node group for the first quest, you’ll most likely also want to add the copied nodes into a separate node group.

The final schematic will look like this:

Make the following changes in the copied nodes.

Quest Status Fork #

This node is connected to the Finished slot of the first quest’s Quest Status Fork node.

  • Quest
    Select: Collect Equipment Materials

Show Dialogue #

This node is connected to the Not Added slot of the Quest Status Fork node.

  • Text (Message Content)
    Set to: Would you like to craft some equipment?
    I can teach more about this if you bring me some ingredients.

Quest Choice #

  • Quest
    Select: Collect Equipment Materials

Add Quest #

  • Quest
    Select: Collect Equipment Materials

Show Dialogue #

This node is connected to the Success slot of the Add Quest node and the Active and Inactive slots of the Quest Status Fork node.

  • Text (Message Content)
    Set to: Bring me the materials and I’ll teach you how to craft equipment.

Check Quest Conditions #

  • Quest Task
    Select: Deliver Equipment Materials

Has In Inventory #

Item 0 #

  • Type
    Select: Equipment
  • Equipment
    Select: Sword

Item 1 #

  • Item
    Select: Iron
  • Quantity
    Set the value to: 3

Item 2 #

Click on Remove to remove the item.

Show Dialogue #

This is the dialogue connected to the Success slot of the Has In Inventory node.

  • Text (Message Content)
    Set to: You’ve got the materials?
    Great!
    <#>Here’s how you can craft or enhance equipment … mumble mumble mumble …
    <#>And that’s all that is to it.
    Oh, and you can keep the materials!

Change Task Status #

  • Quest Task
    Select: Deliver Equipment Materials

Save Changes #

And that’s it for the second crafting quest.

Click on Save Schematic to save the changes we’ve made to the CraftingNPC schematic.

Testing #

It’s time to test the second quest – hit play, finish the first quest and start the second quest.

Collect the needed items via the shop, fighting enemies or using the player combatant’s inspector.

The next part of the crafting mini-series will add quest mark HUDs.

Table of Contents
  • Quest
    • Collect Equipment Materials
      • Base Settings
      • Quest Text
      • Rewards > Item Rewards
  • Quest Tasks
    • Find Equipment Materials
      • Base Settings
      • Activate Requirements
      • Finish Requirements
    • Deliver Equipment Materials
      • Base Settings
      • Activate Requirements
      • Finish Requirements
  • Save Changes
  • Crafting NPC Schematic
    • Quest Status Fork
    • Show Dialogue
    • Quest Choice
    • Add Quest
    • Show Dialogue
    • Check Quest Conditions
    • Has In Inventory
      • Item 0
      • Item 1
      • Item 2
    • Show Dialogue
    • Change Task Status
    • Save Changes
  • Testing
Sitemap
  • ORK 4 BETA
  • Features
  • Showcase
  • Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (73)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (156)
Search

© 2015 Gaming is Love e.U.

Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!