Skip to content

Commit

Permalink
1.0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
paissaheavyindustries committed Aug 18, 2024
1 parent b4adcd2 commit 0ca30e8
Show file tree
Hide file tree
Showing 9 changed files with 67 additions and 7 deletions.
24 changes: 24 additions & 0 deletions Lemegeton/Content/Radar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ public enum EntryTypeEnum
ARank,
BRank,
RareAnimal,
FateSpecial,
}

public ObjectKind Kind { get; set; }
Expand Down Expand Up @@ -689,6 +690,10 @@ public override void RenderEditor(string path)
public bool IncludeIslandRare { get; set; } = true;
[AttributeOrderNumber(1031)]
public Vector4 RareAnimalColor { get; set; } = new Vector4(1.0f, 1.0f, 0.0f, 1.0f);
[AttributeOrderNumber(1040)]
public bool IncludeFateSpecial { get; set; } = true;
[AttributeOrderNumber(1041)]
public Vector4 FateSpecialColor { get; set; } = new Vector4(1.0f, 0.0f, 1.0f, 1.0f);

[AttributeOrderNumber(2000)]
public AlertEditor LookFor { get; set; }
Expand Down Expand Up @@ -1188,6 +1193,14 @@ public override void RenderEditor(string path)
new Entry() { Type = Entry.EntryTypeEnum.BRank, Kind = ObjectKind.BattleNpc, NameId = 10636 },
};

private List<Entry> _defaultsFateSpecial = new List<Entry>()
{
// the Forlorn
new Entry() { Type = Entry.EntryTypeEnum.FateSpecial, Kind = ObjectKind.BattleNpc, NameId = 6738 },
// Forlorn maiden
new Entry() { Type = Entry.EntryTypeEnum.FateSpecial, Kind = ObjectKind.BattleNpc, NameId = 6737 },
};

private Dictionary<nint, DateTime> _seen = new Dictionary<nint, DateTime>();
private Dictionary<nint, DateTime> _firstSeen = new Dictionary<nint, DateTime>();
private DateTime _loaded;
Expand Down Expand Up @@ -1245,6 +1258,9 @@ private void SawEntry(GameObject go, Entry e, DateTime run)
case Entry.EntryTypeEnum.RareAnimal:
mycol = RareAnimalColor;
break;
case Entry.EntryTypeEnum.FateSpecial:
mycol = FateSpecialColor;
break;
}
string name = String.Format("{0}", go.Name.ToString());
if (IncludeHP == true)
Expand Down Expand Up @@ -1424,6 +1440,14 @@ protected override bool ExecutionImplementation()
}
lookup[ObjectKind.BattleNpc].AddRange(_defaultsIsland);
}
if (IncludeFateSpecial == true)
{
if (lookup.ContainsKey(ObjectKind.BattleNpc) == false)
{
lookup[ObjectKind.BattleNpc] = new List<Entry>();
}
lookup[ObjectKind.BattleNpc].AddRange(_defaultsFateSpecial);
}
foreach (GameObject go in _state.ot)
{
if (lookup.ContainsKey(go.ObjectKind) == false)
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/Chinese.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class Chinese : Core.Language

public Chinese(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/Danish.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class Danish : Core.Language

public Danish(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
5 changes: 5 additions & 0 deletions Lemegeton/Language/English.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ internal class English : Core.Language

public English(State st) : base(st)
{
#region 1.0.4.7
AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/French.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class French : Core.Language

public French(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/German.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class German : Core.Language

public German(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/Japanese.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class Japanese : Core.Language

public Japanese(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
7 changes: 6 additions & 1 deletion Lemegeton/Language/Korean.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ internal class Korean : Core.Language

public Korean(State st) : base(st)
{
#region 1.0.4.7
//AddEntry("Changelog/1.0.4.7", " Radar/Finder can now point out special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/IncludeFateSpecial", "Include special FATE targets");
//AddEntry("Content/Miscellaneous/Radar/AlertFinder/FateSpecialColor", "Special FATE target highlight color");
#endregion
#region 1.0.4.6
//AddEntry("Changelog/1.0.4.6", " small fix to M2s Alarm Pheromones angles");
#endregion
#region 1.0.4.5
//AddEntry("Changelog/1.0.4.3", " added indicator for M2s Alarm Pheromones");
//AddEntry("Changelog/1.0.4.5", " added indicator for M2s Alarm Pheromones");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees", "(M2s) Alarm Pheromones indicator");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Enabled", "Enabled");
//AddEntry("Content/DawntrailRaids/DTRaidLightHeavy/Groupbees/Test", "Test through the center");
Expand Down
3 changes: 2 additions & 1 deletion Lemegeton/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public sealed class Plugin : IDalamudPlugin
#else
public string Name => "Lemegeton";
#endif
public string Version = "1.0.4.6";
public string Version = "1.0.4.7";

internal class Downloadable
{
Expand Down Expand Up @@ -85,6 +85,7 @@ internal class ActionTypeItem
new Tuple<Version, string>(new System.Version("1.0.4.4"), "Changelog/1.0.4.4"),
new Tuple<Version, string>(new System.Version("1.0.4.5"), "Changelog/1.0.4.5"),
new Tuple<Version, string>(new System.Version("1.0.4.6"), "Changelog/1.0.4.6"),
new Tuple<Version, string>(new System.Version("1.0.4.7"), "Changelog/1.0.4.7"),
};
internal List<Version> ChangeLogVersions = null;

Expand Down

0 comments on commit 0ca30e8

Please sign in to comment.