Start new achievements

This commit is contained in:
Noah Pilarski 2022-08-31 11:28:52 -04:00
parent eaa57a761d
commit fe296952a4
5 changed files with 84 additions and 0 deletions

View File

@ -40,6 +40,18 @@
"NH_VESSEL_WARP": { "NH_VESSEL_WARP": {
"Name": "Lore Accurate", "Name": "Lore Accurate",
"Description": "Warp to a star system using the Vessel." "Description": "Warp to a star system using the Vessel."
},
"NH_RAFTING": {
"Name": "The Raft and the Furious",
"Description": "Go rafting."
},
"NH_SUCKED_INTO_LAVA_BY_TORNADO": {
"Name": "Placeholder",
"Description": "Get sucked into lava by a tornado."
},
"NH_TALK_TO_FIVE_CHARACTERS": {
"Name": "Placeholder",
"Description": "Talk to 5 characters."
} }
} }
} }

View File

@ -39,6 +39,9 @@ namespace NewHorizons.OtherMods.AchievementsPlus
NH.EatenOutsideBrambleAchievement.Init(); NH.EatenOutsideBrambleAchievement.Init();
NH.NewFrequencyAchievement.Init(); NH.NewFrequencyAchievement.Init();
NH.ProbeLostAchievement.Init(); NH.ProbeLostAchievement.Init();
NH.RaftingAchievement.Init();
NH.TalkToFiveCharactersAchievement.Init();
NH.SuckedIntoLavaByTornadoAchievement.Init();
API.RegisterTranslationsFromFiles(Main.Instance, "Assets/translations"); API.RegisterTranslationsFromFiles(Main.Instance, "Assets/translations");

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewHorizons.OtherMods.AchievementsPlus.NH
{
public static class RaftingAchievement
{
public static readonly string UNIQUE_ID = "NH_RAFTING";
public static void Init()
{
AchievementHandler.Register(UNIQUE_ID, false, Main.Instance);
}
public static void Earn()
{
AchievementHandler.Earn(UNIQUE_ID);
}
}
}

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewHorizons.OtherMods.AchievementsPlus.NH
{
public static class SuckedIntoLavaByTornadoAchievement
{
public static readonly string UNIQUE_ID = "NH_SUCKED_INTO_LAVA_BY_TORNADO";
public static void Init()
{
AchievementHandler.Register(UNIQUE_ID, false, Main.Instance);
}
public static void Earn()
{
AchievementHandler.Earn(UNIQUE_ID);
}
}
}

View File

@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewHorizons.OtherMods.AchievementsPlus.NH
{
public static class TalkToFiveCharactersAchievement
{
public static readonly string UNIQUE_ID = "NH_TALK_TO_FIVE_CHARACTERS";
public static void Init()
{
AchievementHandler.Register(UNIQUE_ID, false, Main.Instance);
}
public static void Earn()
{
AchievementHandler.Earn(UNIQUE_ID);
}
}
}