using System; using System.Collections; using System.Collections.Generic; using Unity.VisualScripting; using UnityEngine; [Serializable] public class Generateable : MonoBehaviour { public bool isGenerateable = true; //public string nameKey; /// /// The lower the numer the higher the amount of ores that will spawn /// Higher number means less ore /// [Tooltip("The lower the numer the higher the amount of ores that will spawn. Higher number means less ore.")] [Range(1, 100000)] public int weight; /// /// The lower the number the more dense the ore will spawn (big clusters /// Higher number means little clusters (more spread) /// [Tooltip("The lower the number the more dense the ore will spawn (big clusters. Higher number means little clusters (more spread).")] [Range(10, 100000)] public int clusterWeight; public int minClusterSize; internal CustomRuleTile tile; public int maxSpawnHeight; public int minSpawnHeight; public Sprite sprite; }