Advertisement
evelynshilosky

QuestInfo - Part 28

Dec 14th, 2023
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.13 KB | None | 0 0
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using TMPro;
  5. using UnityEngine;
  6. using UnityEngine.UI;
  7.  
  8. [CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/QuestInfo", order = 1)]
  9.  
  10. public class QuestInfo : ScriptableObject
  11. {
  12.     [TextArea(5, 10)]
  13.     public List<string> initialDialogue;
  14.  
  15.     [Header("Options")]
  16.     [TextArea(5, 10)]
  17.     public string acceptOption;
  18.     [TextArea(5, 10)]
  19.     public string acceptAnswer;
  20.     [TextArea(5, 10)]
  21.     public string declineOption;
  22.     [TextArea(5, 10)]
  23.     public string declineAnswer;
  24.     [TextArea(5, 10)]
  25.     public string comebackAfterDecline;
  26.     [TextArea(5, 10)]
  27.     public string comebackInProgress;
  28.     [TextArea(5, 10)]
  29.     public string comebackCompleted;
  30.     [TextArea(5, 10)]
  31.     public string finalWords;
  32.  
  33.     [Header("Rewards")]
  34.     public int coinReward;
  35.     public string rewardItem1;
  36.     public string rewardItem2;
  37.  
  38.     [Header("Requirements")]
  39.     public string firstRequirementItem;
  40.     public int firstRequirementAmount;
  41.  
  42.     public string secondRequirementItem;
  43.     public int secondRequirementAmount;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement