Advertisement
evelynshilosky

QuestInfo - Part 31

Feb 1st, 2024
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.43 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using UnityEngine;
  3.  
  4. [CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/QuestInfo", order = 1)]
  5.  
  6. public class QuestInfo : ScriptableObject
  7. {
  8.     [TextArea(5, 10)]
  9.     public List<string> initialDialogue;
  10.     public List<AudioClip> initialDialogueClips;
  11.  
  12.     [Header("Options")]
  13.     [TextArea(5, 10)]
  14.     public string acceptOption;
  15.     [TextArea(5, 10)]
  16.     public string acceptAnswer;
  17.     public AudioClip acceptAnswerClip;
  18.  
  19.     [TextArea(5, 10)]
  20.     public string declineOption;
  21.     [TextArea(5, 10)]
  22.     public string declineAnswer;
  23.     public AudioClip declineAnswerClip;
  24.     [TextArea(5, 10)]
  25.     public string comebackAfterDecline;
  26.     public AudioClip comebackAfterDeclineClip;
  27.     [TextArea(5, 10)]
  28.     public string comebackInProgress;
  29.     public AudioClip comebackInProgressClip;
  30.     [TextArea(5, 10)]
  31.     public string comebackCompleted;
  32.     public AudioClip comebackCompletedClip;
  33.     [TextArea(5, 10)]
  34.     public string finalWords;
  35.     public AudioClip finalWordsClip;
  36.  
  37.     [Header("Rewards")]
  38.     public int coinReward;
  39.     public string rewardItem1;
  40.     public string rewardItem2;
  41.  
  42.     [Header("Requirements")]
  43.     public string firstRequirementItem;
  44.     public int firstRequirementAmount;
  45.  
  46.     public string secondRequirementItem;
  47.     public int secondRequirementAmount;
  48.  
  49.     public bool hasCheckpoints;
  50.     public List<Checkpoint> checkpoints;
  51.  
  52.  
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement