20 lines
550 B
C#
20 lines
550 B
C#
using UnityEngine;
|
|||
|
|
|
||
|
|
namespace Ironspore
|
||
|
|
{
|
||
|
|
[CreateAssetMenu(menuName = "Ironspore/Equipment")]
|
||
|
|
public sealed class EquipmentDefinition : ScriptableObject
|
||
|
|
{
|
||
|
|
public string id;
|
||
|
|
public string displayName;
|
||
|
|
public string LocalizedName => GameLocalization.Text("equipment." + id + ".name");
|
||
|
|
public int slot;
|
||
|
|
public float mass = 2;
|
||
|
|
public float power = 2;
|
||
|
|
public float damage = 15;
|
||
|
|
public float fireRate = 6;
|
||
|
|
public float speedFactor = 1;
|
||
|
|
public bool guided;
|
||
|
|
}
|
||
|
|
}
|