Firstborn/Assets/RPG Creation Kit/Scripts/Save System/SaveElements/SpellsKnowledgeSaveData.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

22 lines
557 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using RPGCreationKit.SaveSystem;
using RPGCreationKit;
namespace RPGCreationKit.SaveSystem
{
[Serializable]
public class SpellsKnowledgeSaveData
{
public string equippedSpell = string.Empty;
public List<string> items = new List<string>();
public void RetrieveItemsFromDatabase()
{
for (int i = 0; i < items.Count; i++)
items[i] = SpellsDatabase.GetSpell(items[i]).spellID;
}
}
}