This commit is contained in:
2025-07-16 23:04:04 +02:00
parent 5751cfec80
commit c8b66ed3af
212 changed files with 9332 additions and 1812 deletions

View File

@@ -1,11 +1,24 @@
using System;
using Unity.Collections;
using System.ComponentModel.DataAnnotations;
using UnityEngine;
namespace RebootReality.jelycho.Items {
public enum ItemType {
Neutral = 0,
Egg = 1,
Sword = 2,
}
[Serializable]
public struct ItemConfig {
public FixedString32Bytes itemID;
public class ItemConfig {
public ItemType itemType = ItemType.Neutral;
public Sprite icon;
[MaxLength(32)] public string characterEquippedMountSlotName = "hand_right";
[Header("Chargeable")]
public bool isChargeable = false;
public float chargeDuration = 0.5f;
public float chargeCooldown = 1.0f;
}
}