First commit for private source control. Older commits available on Github.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Linq;
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Managers.Levels.Data;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BriarQueen.Game.Levels.ChapterOne.PumpingHouse
|
||||
{
|
||||
public class Pumphouse : BaseLevel
|
||||
{
|
||||
[SerializeField]
|
||||
private GameObject _pliers;
|
||||
|
||||
public override string LevelName => "Pumphouse";
|
||||
|
||||
protected override async UniTask PostLoadInternal()
|
||||
{
|
||||
if (SaveManager.CurrentSave.CollectedItems.Any(x => x.UniqueIdentifier == ItemIDs.Get(ItemKey.Pliers)))
|
||||
await DestructionService.Destroy(_pliers);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1efd43218bd3433ba49703e12a719efd
|
||||
timeCreated: 1773606763
|
||||
@@ -0,0 +1,20 @@
|
||||
using BriarQueen.Data.Identifiers;
|
||||
using BriarQueen.Framework.Events.Save;
|
||||
using BriarQueen.Framework.Events.UI;
|
||||
using BriarQueen.Framework.Managers.Levels.Data;
|
||||
using Cysharp.Threading.Tasks;
|
||||
|
||||
namespace BriarQueen.Game.Levels.ChapterOne.PumpingHouse
|
||||
{
|
||||
public class PumphouseTable : BaseLevel
|
||||
{
|
||||
public override string LevelName => "Pumphouse Table";
|
||||
|
||||
protected override UniTask PostActivateInternal()
|
||||
{
|
||||
TutorialService.DisplayTutorial(TutorialPopupID.HiddenItems);
|
||||
|
||||
return UniTask.CompletedTask;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c2b71bfe7974dad82e7256cca1c93d2
|
||||
timeCreated: 1773851681
|
||||
Reference in New Issue
Block a user