Make the Avalian Trader less robotic, add Avali Feather
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using Terraria.ModLoader;
|
||||
using Terraria.ModLoader.IO;
|
||||
|
||||
namespace ForgottenWawiTech
|
||||
{
|
||||
public class ForgottenWawiTechSystem : ModSystem
|
||||
{
|
||||
public static bool hasObtainedRGBass = false;
|
||||
|
||||
public override void OnWorldLoad()
|
||||
{
|
||||
hasObtainedRGBass = false;
|
||||
}
|
||||
|
||||
public override void OnWorldUnload()
|
||||
{
|
||||
hasObtainedRGBass = false;
|
||||
}
|
||||
|
||||
public override void SaveWorldData(TagCompound tag)
|
||||
{
|
||||
tag["hasObtainedRGBass"] = hasObtainedRGBass;
|
||||
}
|
||||
|
||||
public override void LoadWorldData(TagCompound tag)
|
||||
{
|
||||
hasObtainedRGBass = tag.GetBool("hasObtainedRGBass");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user