2021-02-14 16:08:59 +01:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
2021-04-16 20:30:49 +02:00
|
|
|
using Ktyl.Util;
|
2021-02-14 16:08:59 +01:00
|
|
|
using UnityEngine;
|
|
|
|
|
2021-02-19 16:14:14 +01:00
|
|
|
public class Artefact : ScriptableObject
|
2021-02-14 16:08:59 +01:00
|
|
|
{
|
|
|
|
|
2021-02-19 16:14:14 +01:00
|
|
|
public int artefactID => _artefactID;
|
|
|
|
[SerializeField] private int _artefactID;
|
2021-02-23 14:05:42 +01:00
|
|
|
public string dialogueKey => _dialogueKey;
|
|
|
|
[SerializeField] private string _dialogueKey;
|
2021-04-16 17:26:42 +02:00
|
|
|
|
|
|
|
public string descriptionKey => _descriptionKey;
|
|
|
|
[SerializeField] private string _descriptionKey;
|
2021-02-14 16:08:59 +01:00
|
|
|
|
2021-03-02 17:33:31 +01:00
|
|
|
public string Name => _name;
|
|
|
|
[SerializeField] private string _name;
|
2021-03-11 14:31:35 +01:00
|
|
|
|
|
|
|
public GameObject Prefab => _prefab;
|
|
|
|
[SerializeField] private GameObject _prefab;
|
2021-03-02 17:33:31 +01:00
|
|
|
|
2021-04-16 20:30:49 +02:00
|
|
|
public GameEvent OnFound => _onFound;
|
|
|
|
[SerializeField] private GameEvent _onFound;
|
|
|
|
|
2021-02-19 16:14:14 +01:00
|
|
|
public bool show => _show;
|
|
|
|
private bool _show = false;
|
|
|
|
public bool canInteract => _canInteract;
|
|
|
|
private bool _canInteract = false;
|
2021-02-14 16:08:59 +01:00
|
|
|
|
2021-03-01 17:18:24 +01:00
|
|
|
public virtual void Pickup()
|
2021-02-25 21:12:08 +01:00
|
|
|
{
|
|
|
|
}
|
2021-02-14 16:08:59 +01:00
|
|
|
}
|