2023-12-22 22:51:17 +00:00
|
|
|
using System;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public class UnlockableItem
|
|
|
|
{
|
|
|
|
public string unlockableName;
|
|
|
|
|
|
|
|
public GameObject prefabObject;
|
|
|
|
|
|
|
|
public int unlockableType;
|
|
|
|
|
|
|
|
[Space(5f)]
|
|
|
|
public TerminalNode shopSelectionNode;
|
|
|
|
|
|
|
|
public bool alwaysInStock;
|
|
|
|
|
|
|
|
[Space(3f)]
|
|
|
|
public bool IsPlaceable;
|
|
|
|
|
|
|
|
[Space(3f)]
|
|
|
|
public bool hasBeenMoved;
|
|
|
|
|
|
|
|
public Vector3 placedPosition;
|
|
|
|
|
|
|
|
public Vector3 placedRotation;
|
|
|
|
|
|
|
|
[Space(3f)]
|
|
|
|
public bool inStorage;
|
|
|
|
|
|
|
|
public bool canBeStored = true;
|
|
|
|
|
|
|
|
public int maxNumber = 1;
|
|
|
|
|
|
|
|
[Space(3f)]
|
|
|
|
public bool hasBeenUnlockedByPlayer;
|
|
|
|
|
|
|
|
[Space(5f)]
|
|
|
|
public Material suitMaterial;
|
|
|
|
|
|
|
|
public bool alreadyUnlocked;
|
|
|
|
|
2023-12-23 02:13:19 +00:00
|
|
|
public bool unlockedInChallengeFile;
|
|
|
|
|
2023-12-22 22:51:17 +00:00
|
|
|
public bool spawnPrefab = true;
|
|
|
|
}
|