started building out level

Signed-off-by: sdqhome\caleb <caleb@sdqhome.co.uk>
This commit is contained in:
2026-08-05 08:18:15 +01:00
parent f53c8256df
commit 7b8d500f75
6372 changed files with 6314829 additions and 20587 deletions

View File

@@ -13,11 +13,20 @@ public enum NPCType
Trainer
}
public enum NPCRelationship
{
Hostile,
Neutral,
Friendly
}
public enum NPCState
{
Idle,
Wandering,
Talking
Talking,
Attacking,
Dead
}
public enum DialogueBehavior
@@ -37,9 +46,22 @@ public class NPC : MonoBehaviour, IInteractable
[Header("NPC Configuration")]
[SerializeField] private NPCType npcType = NPCType.Villager;
[SerializeField] private NPCRelationship relationship = NPCRelationship.Neutral;
[SerializeField] private NPCState currentState = NPCState.Idle;
[SerializeField] private float interactionRadius = 2.5f;
public NPCRelationship Relationship
{
get => relationship;
set => relationship = value;
}
public NPCState CurrentState
{
get => currentState;
set => currentState = value;
}
[Header("Dialogue Settings")]
[SerializeField] private DialogueBehavior dialogueType = DialogueBehavior.Sequential;
[TextArea(2, 5)]