Skip to content

Commit

Permalink
Re-add the ghost foxes, also reorder the list to actually be in game …
Browse files Browse the repository at this point in the history
…order (#82)

* Re-add them, also reorder the list to actually be in game order

* Fix placement of library exterior note

* Add back spawn all hint ghost thing

* Add the overrides for the exterior fox

* Set spawn test to false

* Update src/Patches/GhostHints.cs

Co-authored-by: Silent <[email protected]>

* Update src/Patches/GhostHints.cs

Co-authored-by: Silent <[email protected]>

* Apply suggestions from code review

---------

Co-authored-by: Silent <[email protected]>
  • Loading branch information
ScipioWright and silent-destroyer authored Sep 23, 2024
1 parent fb22e83 commit ed26a9b
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions src/Patches/GhostHints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -332,23 +332,33 @@ public HintGhost() { }
{ "Purgatory", new List<HintGhost>() {
new HintGhost("Hint Ghost Purgatory", "Purgatory", new Vector3(27.1514f, 38.018f, 74.7217f), new Quaternion(0f, 0.9585385f, 0f, -0.2849632f), NPC.NPCAnimState.DANCE, $"doo yoo nO skipEO? hE brOk awl uhv #uh dorz.") }
},
{ "Library Lab", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Lab 1", "Library Lab", new Vector3(139.3969f, 93.5073f, -74.8239f), new Quaternion(0f, 1f, 0f, 0.0089f), NPC.NPCAnimState.SIT, $"Im #uh lIbrArEuhn!---... juhst kidi^, I kahnt rEd."),
new HintGhost("Hint Ghost Library Lab 2", "Library Lab", new Vector3(131.3964f, 107.4616f, -37.7488f), new Quaternion(0f, 0.7272f, 0f, 0.6864f), NPC.NPCAnimState.FISHING, $"awl #is rEsurj ahnd #A stil dOnt nO wuht A\ndE pahd iz...") }
{ "Dusty", new List<HintGhost>() {
new HintGhost("Hint Ghost Dusty", "Dusty", new Vector3(64.3287f, 26.058f, 46.5875f), new Quaternion(0f, 0.9282f, 0f, -0.372f), NPC.NPCAnimState.IDLE, $"R yoo goi^ too klEn uhp #is mehs? wuht A rilEf!", cameraYOverride: 50), }
},
{ "Fortress Arena", new List<HintGhost>() {
new HintGhost("Hint Ghost Fortress Arena", "Fortress Arena", new Vector3(7.2f, .1f, 127.9f), new Quaternion(0f, .0872f, 0f, -.9962f), NPC.NPCAnimState.GAZE, $"I luhv #aht big spIdur gI, #A awlwAz wAr suhJ\nfuhnE hahtz.") }
},
{ "Library Exterior", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Exterior 1", "Library Exterior", new Vector3(27.4042f, 44f, 9.9574f), new Quaternion(0f, 0.9912f, 0f, 0.1326f), NPC.NPCAnimState.SIT, $"wuht R yoo dooi^ awl #uh wA uhp hEr?---... wuht ahm I dooi^ awl #uh wA uhp hEr?\nriturni^ ahn Ovurdoo lIbrArE bouk...", interactRadiusOverride: 4.2f, cameraYOverride: 310),
new HintGhost("Hint Ghost Library Exterior 2", "Library Exterior", new Vector3(-8.2745f, 44.0645f, -36.2473f), new Quaternion(0.018f, -0.2001f, -0.0037f, -0.9796f), NPC.NPCAnimState.SIT, $"#uh lIbrArEuhn iz uhp #Ar... $oud bE A tehkstbouk\nfIt for yoo #O!"),
new HintGhost("Hint Ghost Library Exterior 3", "Library Exterior", new Vector3(27.6f, 44f, 9.3f), new Quaternion(0f, 1f, 0f, 0f), NPC.NPCAnimState.FISHING, $"stuhk? nO, I juhst wawkd Ovur hEr. I gehs yoo\nkahnt geht hEr wi% #Oz lituhl lehgz, kahn yoo?", interactRadiusOverride: 4.2f, cameraYOverride: 310) }
},
{ "Library Hall", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Hall 1", "Library Hall", new Vector3(113.4677f, 12.4772f, -69.9041f), new Quaternion(0f, 0.8486f, 0f, -0.529f), NPC.NPCAnimState.SIT, $"hehlO... R yoo frehnds wi% #uh lIbrArEuhn?"),
new HintGhost("Hint Ghost Library Hall 2", "Library Hall", new Vector3(154.6941f, 12.5768f, -39.4832f), new Quaternion(0f, 0.9531f, 0f, -0.3025f), NPC.NPCAnimState.SIT, $"I kahnt rEj mI kawfE... wAr R #Oz wawki^ rObawt tAbuhlz\nwehn yoo nEd #ehm?") }
},
{ "Library Exterior", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Exterior 1", "Library Exterior", new Vector3(27.4042f, 44f, 9.9574f), new Quaternion(0f, 0.9912f, 0f, 0.1326f), NPC.NPCAnimState.SIT, $"wuht R yoo dooi^ awl #uh wA uhp hEr?---... wuht ahm I dooi^ awl #uh wA uhp hEr?\nriturni^ ahn Ovurdoo lIbrArE bouk...", interactRadiusOverride: 4.2f, cameraYOverride: 310),
new HintGhost("Hint Ghost Library Exterior 2", "Library Exterior", new Vector3(-8.2745f, 44.0645f, -36.2473f), new Quaternion(0.018f, -0.2001f, -0.0037f, -0.9796f), NPC.NPCAnimState.SIT, $"#uh lIbrArEuhn iz uhp #Ar... $oud bE A tehkstbouk\nfIt for yoo #O!") }
{ "Library Rotunda", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Rotunda 1", "Library Rotunda", new Vector3(-25.3f, -8.2f, 38.7f), new Quaternion(0f, .9343f, 0f, -.3566f), NPC.NPCAnimState.PRAY, $"wI did #uh lIbrArEuhn Evehn bild awl #Ez lahdurz?\nkahnt hE flI?"),
new HintGhost("Hint Ghost Library Rotunda 2", "Library Rotunda", new Vector3(-8.5f, -7f, 1.5f), new Quaternion(0f, .9973f, 0f, .0738f), NPC.NPCAnimState.SIT, $"#is yoosd too bE uh bAbE slorm rAstrahk bahk in %uh dA,\ngood tImz...") }
},
{ "Dusty", new List<HintGhost>() {
new HintGhost("Hint Ghost Dusty", "Dusty", new Vector3(64.3287f, 26.058f, 46.5875f), new Quaternion(0f, 0.9282f, 0f, -0.372f), NPC.NPCAnimState.IDLE, $"R yoo goi^ too klEn uhp #is mehs? wuht A rilEf!", cameraYOverride: 50), }
{ "Library Lab", new List<HintGhost>() {
new HintGhost("Hint Ghost Library Lab 1", "Library Lab", new Vector3(139.3969f, 93.5073f, -74.8239f), new Quaternion(0f, 1f, 0f, 0.0089f), NPC.NPCAnimState.SIT, $"Im #uh lIbrArEuhn!---... juhst kidi^, I kahnt rEd."),
new HintGhost("Hint Ghost Library Lab 2", "Library Lab", new Vector3(131.3964f, 107.4616f, -37.7488f), new Quaternion(0f, 0.7272f, 0f, 0.6864f), NPC.NPCAnimState.FISHING, $"awl #is rEsurj ahnd #A stil dOnt nO wuht A\ndE pahd iz..."),
new HintGhost("Hint Ghost Library Lab 3", "Library Lab", new Vector3(145.05f, 87f, -111.35f), new Quaternion(0f, .8829f, 0f, -.4695f), NPC.NPCAnimState.SIT, $"O, yoo wawnt too nO wuht Im rEdi^? its kawld\nfawks bEhAvyur: intrO too yahpi^ ahnd %EvurE.") }
},
{ "Cathedral", new List<HintGhost>() {
new HintGhost("Hint Ghost Cathedral", "Cathedral Redux", new Vector3(-14.5132f, -0.2167f, -64.2287f), new Quaternion(0f, 0.9629f, 0f, -0.2699f), NPC.NPCAnimState.IDLE, $"hahv yoo hurd uhbowt owur lord ahnd sAvyur ahndroo $OldIs?"), }
new HintGhost("Hint Ghost Cathedral", "Cathedral Redux", new Vector3(-14.5132f, -0.2167f, -64.2287f), new Quaternion(0f, 0.9629f, 0f, -0.2699f), NPC.NPCAnimState.IDLE, $"hahv yoo hurd uhbowt owur lord ahnd sAvyur ahndroo $OldIs?"),
new HintGhost("Hint Ghost Cathedral 2", "Cathedral Redux", new Vector3(-10.9f, 1.45f, -65.2f), new Quaternion(0f, .9238f, 0f, -.3829f), NPC.NPCAnimState.SIT, $"hI, Im #uh wuhn hoo rEsehts awl uhv #uh buhtin wawlz.") }
},
};

Expand All @@ -363,6 +373,16 @@ public static void InitializeGhostFox() {
}

public static void SpawnHintGhosts(string SceneName) {
bool spawnAllTest = false;
if (spawnAllTest) {
foreach (List<HintGhost> list in GhostLocations.Values) {
list.ForEach(ghost => SpawnHintGhost(ghost));
}
foreach (List<HintGhost> list in EntranceRandoGhostLocations.Values) {
list.ForEach(ghost => SpawnHintGhost(ghost));
}
return;
}
foreach (HintGhost HintGhost in HintGhosts.Values) {
if (HintGhost.SceneName == SceneName) {
SpawnHintGhost(HintGhost);
Expand Down

0 comments on commit ed26a9b

Please sign in to comment.