823 lines
22 KiB
C#
823 lines
22 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using PixelCrushers.DialogueSystem;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200001C RID: 28
|
|
public class CharacterQuips : MonoBehaviour
|
|
{
|
|
// Token: 0x06000460 RID: 1120 RVA: 0x00063B1C File Offset: 0x00061D1C
|
|
private void Awake()
|
|
{
|
|
this.AddQuip("Party");
|
|
this.AddQuip("BloodlessHunter");
|
|
this.AddQuip("Yeti");
|
|
this.AddQuip("Empty");
|
|
this.AddQuip("FarmerRozafir");
|
|
this.AddQuip("FarmerRozafirChora");
|
|
this.AddQuip("Pedlar");
|
|
this.AddQuip("Stonesmith");
|
|
this.AddQuip("Menestral");
|
|
this.AddQuip("Barkeep");
|
|
this.AddQuip("BarkeepRozafir");
|
|
this.AddQuip("Shipwrith");
|
|
this.AddQuip("BarPatron");
|
|
this.AddQuip("Herder");
|
|
this.AddQuip("Meadmaid");
|
|
this.AddQuip("Monger");
|
|
this.AddQuip("Chanter");
|
|
this.AddQuip("Dolki");
|
|
this.AddQuip("Cook");
|
|
this.AddQuip("CookApprentice");
|
|
this.AddQuip("FarmerLazure");
|
|
this.AddQuip("RozafirUnderkeep");
|
|
this.AddQuip("HerderRozafir");
|
|
this.AddQuip("GuardLazure");
|
|
this.AddQuip("GuardRozafir");
|
|
this.AddQuip("RozafirStorekeep");
|
|
this.AddQuip("RozafirNewStorekeep");
|
|
this.AddQuip("Resting");
|
|
this.AddQuip("BanquetFriend");
|
|
this.AddQuip("BanquetSpawn");
|
|
this.AddQuip("GuardMainC5Caravan");
|
|
this.AddQuip("GuardC5Caravan");
|
|
this.AddQuip("C5Camper");
|
|
this.AddQuip("LittleFairyC5_A");
|
|
this.AddQuip("LittleFairyC5_B");
|
|
this.AddQuip("LittleFairyC5_C");
|
|
this.AddQuip("LittleFairyC6_A");
|
|
this.AddQuip("LittleFairyC6_B");
|
|
this.AddQuip("LittleFairyC6_C");
|
|
this.AddQuip("LittleFairyE6_A");
|
|
this.AddQuip("LittleFairyE6_B");
|
|
this.AddQuip("LittleFairyE6_C");
|
|
this.AddQuip("GuardD5");
|
|
this.AddQuip("RobberD5");
|
|
this.AddQuip("Minstrel");
|
|
}
|
|
|
|
// Token: 0x06000461 RID: 1121 RVA: 0x00063D18 File Offset: 0x00061F18
|
|
private void AddQuip(string n)
|
|
{
|
|
QuipSet.Quips quips = new QuipSet.Quips();
|
|
if (n == "Party")
|
|
{
|
|
quips.type = n;
|
|
quips.foundItem = new List<string>();
|
|
this.l = quips.foundItem;
|
|
this.l.Add("I could use this");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("We should keep moving");
|
|
this.l.Add("Come on");
|
|
quips.equipJewelry = new List<string>();
|
|
this.l = quips.equipJewelry;
|
|
this.l.Add("This suits me");
|
|
this.l.Add("A fine piece");
|
|
this.l.Add("This befits my rank");
|
|
this.l.Add("I'm moving up in the world");
|
|
quips.equipJewelry = new List<string>();
|
|
this.l = quips.equipJewelry;
|
|
this.l.Add("I'll put this to good use");
|
|
this.l.Add("I can work with this");
|
|
this.l.Add("I'll give this a try");
|
|
this.l.Add("I could use this");
|
|
}
|
|
if (n == "BloodlessHunter")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Something lingers");
|
|
this.l.Add("This air smells of death");
|
|
this.l.Add("Death clings to this land");
|
|
quips.taunt = new List<string>();
|
|
this.l = quips.taunt;
|
|
this.l.Add("Come and get me!");
|
|
}
|
|
if (n == "Yeti")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("Huh?");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("Huh?");
|
|
}
|
|
if (n == "Empty")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
}
|
|
if (n == "Pedlar")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Got used goods?");
|
|
this.l.Add("I'll buy anything...");
|
|
this.l.Add("Your trash is my treasure");
|
|
}
|
|
if (n == "Stonesmith")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("So dull...");
|
|
this.l.Add("Where are those hammers hiding...?");
|
|
this.l.Add("Riddled with holes...");
|
|
}
|
|
if (n == "Menestral")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("La-la-la di-dilly-day");
|
|
this.l.Add("Hmm-hmm-hmmmmmm");
|
|
this.l.Add("Do-a-di-a-tra-la-do");
|
|
}
|
|
if (n == "Barkeep")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Baked apples, mushroom curry...");
|
|
this.l.Add("Where has Florina run off to?");
|
|
this.l.Add("Etherflora, silaflora, musswort...");
|
|
}
|
|
if (n == "BarkeepRozafir")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Good music today...");
|
|
this.l.Add("Reve has all the farmers working 'round the clock");
|
|
this.l.Add("Have you tried the mulled mead?");
|
|
this.l.Add("Imported rice beer, all the way from the Taratian hills...");
|
|
this.l.Add("Best to unwind with a spiced gin...");
|
|
}
|
|
if (n == "BarPatron")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Another round?");
|
|
this.l.Add("A decent inn, not what I expected");
|
|
this.l.Add("A pot of mushroom stew for me, please you");
|
|
this.l.Add("How now, Florina?");
|
|
this.l.Add("Did you hear about the spy? Reporting to the Renazin he was...");
|
|
this.l.Add("Good mead, this");
|
|
this.l.Add("Two barrels of peppura, I hear...");
|
|
this.l.Add("Just one more");
|
|
this.l.Add("What news, my good Nelu?");
|
|
}
|
|
if (n == "RozafirUnderkeep")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Another round?");
|
|
this.l.Add("Does this rice beer taste stale to you?");
|
|
this.l.Add("More bread pudding, please you");
|
|
this.l.Add("I feel safer down here");
|
|
this.l.Add("Have you visited the new shopkeep?");
|
|
this.l.Add("Good gin, this");
|
|
this.l.Add("Not long 'til harvest");
|
|
this.l.Add("Just one more");
|
|
this.l.Add("What news, good Vali?");
|
|
}
|
|
if (n == "Shipwrith")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Faster, faster");
|
|
this.l.Add("Not a boat in the harbor");
|
|
this.l.Add("Where is that shipment from Porta Dun?");
|
|
this.l.Add("No ships on the horizon");
|
|
}
|
|
if (n == "Shipwrith")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Where have I placed that netting?");
|
|
this.l.Add("Not one boat left behind...");
|
|
this.l.Add("I hope they're keeping watch on the horizon...");
|
|
this.l.Add("Not a ship to be seen...");
|
|
}
|
|
if (n == "Herder")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("You'll stay here with me");
|
|
this.l.Add("Your friends will return soon");
|
|
this.l.Add("So far from home...");
|
|
this.l.Add("None to tend them...");
|
|
}
|
|
if (n == "HerderRozafir")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Coats are looking good");
|
|
this.l.Add("No fleas");
|
|
this.l.Add("Too bright...");
|
|
this.l.Add("Not long 'til harvest...");
|
|
}
|
|
if (n == "Meadmaid")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
}
|
|
if (n == "Monger")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("One emerald, two emeralds, three...");
|
|
this.l.Add("Five-and-twenty emeralds, six-and-twenty...");
|
|
this.l.Add("Fresh wares!");
|
|
this.l.Add("Highest quality!");
|
|
}
|
|
if (n == "Chanter")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Respiv sima soara vivrii");
|
|
this.l.Add("Impez sima acru sil");
|
|
this.l.Add("Para sima pivi asade");
|
|
this.l.Add("Qie sima resivi se");
|
|
}
|
|
if (n == "Dolki")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Hisssss...");
|
|
this.l.Add("Hisss...");
|
|
this.l.Add("Hisssssssth...");
|
|
}
|
|
if (n == "Cook")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Five potatoes...dimi-bushel mushrooms...");
|
|
this.l.Add("Forget not the dilwere...");
|
|
this.l.Add("Boil, dry, then soak anew....");
|
|
}
|
|
if (n == "CookApprentice")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Spit duty yesternight");
|
|
this.l.Add("Spit duty morrownight");
|
|
this.l.Add("Spit duty everlasting");
|
|
}
|
|
if (n == "FarmerLazure")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Not yet ripe");
|
|
this.l.Add("These are ready for harvest");
|
|
this.l.Add("Shroomsect eggs...we'll need a potion");
|
|
this.l.Add("Blisters all over my hands...");
|
|
}
|
|
if (n == "FarmerRozafir")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("This plant needs more dew");
|
|
this.l.Add("My back aches so...");
|
|
this.l.Add("Sela fair blazes today");
|
|
this.l.Add("These leaves show signs of shroombites");
|
|
this.l.Add("Is that a small footprint?");
|
|
this.l.Add("Harvest is not so far away");
|
|
this.l.Add("What burrows here?");
|
|
}
|
|
if (n == "FarmerRozafirChora")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Mmmm-tra-la-la-lo...");
|
|
this.l.Add("Do-dora-dae...");
|
|
this.l.Add("Lo-La-Li-Lo-La-Li-Le...");
|
|
this.l.Add("Chora please bless us...Chora protect us...La-la-li la-la-li loooo...");
|
|
this.l.Add("Hmmm hmmmm hm hm hum hmmmmm");
|
|
}
|
|
if (n == "GuardLazure")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Stay sharp");
|
|
this.l.Add("No ships on the horizon yet");
|
|
this.l.Add("I should visit the stonesmith");
|
|
this.l.Add("Not long 'til harvest");
|
|
this.l.Add("No news yet from the Pavura");
|
|
this.l.Add("The Renazin would be fools to attack here");
|
|
this.l.Add("Was that a bakka howl?");
|
|
this.l.Add("The forten's on edge");
|
|
this.l.Add("Too soon for news from the army");
|
|
this.l.Add("Stay vigilant");
|
|
}
|
|
if (n == "GuardRozafir")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Stay sharp");
|
|
this.l.Add("Step wide around the Dolki");
|
|
this.l.Add("This will be the best harvest yet");
|
|
this.l.Add("No news yet from Forten Lazure");
|
|
this.l.Add("The Renazin would be fools to attack us");
|
|
this.l.Add("Wish there was fresh news from Forten Lazure");
|
|
}
|
|
if (n == "RozafirStorekeep")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Fresh wares all the way from Porta Dun");
|
|
this.l.Add("A better deal you'll not find");
|
|
this.l.Add("Don't bother traveling to Din Sera, this is premium stock");
|
|
}
|
|
if (n == "RozafirNewStorekeep")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("How now, my good guard?");
|
|
}
|
|
if (n == "Resting")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("I am not myself...");
|
|
this.l.Add("So tired...");
|
|
this.l.Add("I've not the strength to rise....");
|
|
}
|
|
if (n == "BanquetFriend")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("I never though to see such madness...");
|
|
this.l.Add("Where is the Lady of Spring?");
|
|
this.l.Add("Spawn of the Bloodless, every one of them...");
|
|
this.l.Add("Where are the gods now?");
|
|
}
|
|
if (n == "BanquetSpawn")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("I will obey...");
|
|
this.l.Add("Master...my will is yours...");
|
|
this.l.Add("All will fall to him...");
|
|
}
|
|
if (n == "GuardMainC5Caravan")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Stay sharp");
|
|
this.l.Add("Keep the incense burning");
|
|
this.l.Add("Another raid would be disastrous");
|
|
this.l.Add("Did you hear somewhat?");
|
|
this.l.Add("We should not linger here");
|
|
}
|
|
if (n == "GuardC5Caravan")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Did you hear that?");
|
|
this.l.Add("I'll not drop my guard");
|
|
this.l.Add("These woods are not safe");
|
|
this.l.Add("We should stay near the camp");
|
|
this.l.Add("I do not like the look of this place");
|
|
}
|
|
if (n == "C5Camper")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("This is a dismal beach");
|
|
this.l.Add("I fear to leave this fire");
|
|
this.l.Add("I long for my bed");
|
|
this.l.Add("Our supplies run low soon");
|
|
this.l.Add("This island is cursed");
|
|
}
|
|
if (n == "LittleFairyC5_A")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("lis");
|
|
}
|
|
if (n == "LittleFairyC5_B")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("fal");
|
|
}
|
|
if (n == "LittleFairyC5_C")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("ero");
|
|
}
|
|
if (n == "LittleFairyC6_A")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("ila");
|
|
}
|
|
if (n == "LittleFairyC6_B")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("por");
|
|
}
|
|
if (n == "LittleFairyC6_C")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("vex");
|
|
}
|
|
if (n == "LittleFairyE6_A")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("sea");
|
|
}
|
|
if (n == "LittleFairyE6_B")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("mar");
|
|
}
|
|
if (n == "LittleFairyE6_C")
|
|
{
|
|
quips.type = n;
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("fin");
|
|
}
|
|
if (n == "GuardD5")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("To arms!");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Wits sharp, blades sharper");
|
|
this.l.Add("House Dura will not falter!");
|
|
this.l.Add("What fresh predator stalks our borders?");
|
|
this.l.Add("Did you hear somewhat?");
|
|
this.l.Add("My skin fair crawls to sleep here");
|
|
}
|
|
if (n == "RobberD5")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("Intruder!");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("Did you hear that?");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("The cowards will regret their hasty attack!");
|
|
this.l.Add("We'll cut them down like the Grave Keeper!");
|
|
this.l.Add("We've not had fresh provisions for days...");
|
|
this.l.Add("Did you hear somewhat?");
|
|
this.l.Add("Rozafir's caverns are well-stocked, and poorly defended...");
|
|
}
|
|
if (n == "Minstrel")
|
|
{
|
|
quips.type = n;
|
|
quips.seen = new List<string>();
|
|
this.l = quips.seen;
|
|
this.l.Add("");
|
|
quips.heard = new List<string>();
|
|
this.l = quips.heard;
|
|
this.l.Add("");
|
|
quips.idle = new List<string>();
|
|
this.l = quips.idle;
|
|
this.l.Add("Mmmm-tra-la-la-lo...");
|
|
this.l.Add("Do-dora-dae...");
|
|
this.l.Add("Lo-La-Li-Lo-La-Li-Le...");
|
|
}
|
|
this.quips.Add(quips);
|
|
}
|
|
|
|
// Token: 0x06000462 RID: 1122 RVA: 0x00065A74 File Offset: 0x00063C74
|
|
public string GetQuip(string type, int quipID)
|
|
{
|
|
this.list = null;
|
|
if (quipID == -1)
|
|
{
|
|
return "";
|
|
}
|
|
if (type == "Seen")
|
|
{
|
|
this.list = this.quips[quipID].seen;
|
|
}
|
|
if (type == "Heard")
|
|
{
|
|
this.list = this.quips[quipID].heard;
|
|
}
|
|
if (type == "Taunt")
|
|
{
|
|
this.list = this.quips[quipID].taunt;
|
|
}
|
|
if (type == "Idle")
|
|
{
|
|
if (quipID == 4)
|
|
{
|
|
if (QuestLog.GetQuestState("D6_Chora") == QuestState.Complete)
|
|
{
|
|
this.list = this.quips[5].idle;
|
|
}
|
|
else
|
|
{
|
|
this.list = this.quips[quipID].idle;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.list = this.quips[quipID].idle;
|
|
}
|
|
}
|
|
if (type == "End Search")
|
|
{
|
|
this.list = this.quips[quipID].endSearch;
|
|
}
|
|
if (type == "Scared")
|
|
{
|
|
this.list = this.quips[quipID].scared;
|
|
}
|
|
if (type == "Combat Win")
|
|
{
|
|
this.list = this.quips[quipID].combatWin;
|
|
}
|
|
if (type == "Found Item")
|
|
{
|
|
this.list = this.quips[quipID].foundItem;
|
|
}
|
|
if (type == "Equip Item")
|
|
{
|
|
this.list = this.quips[quipID].equipItem;
|
|
}
|
|
if (type == "Equip Jewelry")
|
|
{
|
|
this.list = this.quips[quipID].equipJewelry;
|
|
}
|
|
if (this.list != null && this.list.Count > 0)
|
|
{
|
|
return this.list[Random.Range(0, this.list.Count)];
|
|
}
|
|
return "";
|
|
}
|
|
|
|
// Token: 0x06000463 RID: 1123 RVA: 0x00065C7C File Offset: 0x00063E7C
|
|
public int GetQuipIndex(string quipLine)
|
|
{
|
|
for (int i = 0; i < this.quips.Count; i++)
|
|
{
|
|
if (quipLine == this.quips[i].type)
|
|
{
|
|
return i;
|
|
}
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
// Token: 0x06000464 RID: 1124 RVA: 0x00065CBC File Offset: 0x00063EBC
|
|
public bool HasIdleQuip(int quipID)
|
|
{
|
|
this.list = null;
|
|
if (quipID == -1)
|
|
{
|
|
return false;
|
|
}
|
|
this.list = this.quips[quipID].idle;
|
|
return this.list != null && this.list.Count > 0;
|
|
}
|
|
|
|
// Token: 0x0400071C RID: 1820
|
|
private List<QuipSet.Quips> quips = new List<QuipSet.Quips>();
|
|
|
|
// Token: 0x0400071D RID: 1821
|
|
private List<string> list;
|
|
|
|
// Token: 0x0400071E RID: 1822
|
|
private List<string> l;
|
|
}
|