LadyAliceMargatroid d955f6e930 Renamed ForcedTiles to AdditionalTiles
Added backwards support (kinda, it needs to be looked at again since it probs don't work)
Added two behaviours for MainRoomDoorwayGroup. The original behaviour (RemoveGroup) and the new (SetInOrder)
Alternate main path's initial depth is set to the MainRoomTile's depth + 1 instead of always 1
DevDebugWindow now uses the retry counter outside of Application.IsEditor
2024-10-15 01:14:12 -07:00

37 lines
1.0 KiB
C#

using DunGen;
using DunGen.Graph;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using DunGenPlus.Collections;
namespace DunGenPlus {
[CreateAssetMenu(fileName = "DunGen Extender", menuName = "DunGenExtender/DunGen Extender", order = 1)]
public class DunGenExtender : ScriptableObject {
[Tooltip("DunGenExtender will only influence this DungeonFlow")]
public DungeonFlow DungeonFlow;
public DunGenExtenderProperties Properties = new DunGenExtenderProperties();
public DunGenExtenderEvents Events = new DunGenExtenderEvents();
[Header("DEV ONLY: DON'T TOUCH")]
[Attributes.ReadOnly]
public string Version = CURRENT_VERSION;
internal bool Active = true;
public static readonly string CURRENT_VERSION = "1";
public void OnValidate(){
if (Version == "0"){
Properties.AdditionalTilesProperties.CopyFrom(Properties.ForcedTilesProperties);
Version = "1";
}
}
}
}