-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.cs
More file actions
28 lines (26 loc) · 1000 Bytes
/
Config.cs
File metadata and controls
28 lines (26 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using Multiverse.ModWorlds;
using SubworldLibrary;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using Terraria;
using Terraria.IO;
using Terraria.ModLoader;
using Terraria.ModLoader.Config;
namespace Multiverse
{
public class Config : ModConfig
{
public override ConfigScope Mode => ConfigScope.ServerSide;
[Label("Subworlds")]
public Dictionary<string, WorldSettings> WorldsRegistry = new Dictionary<string, WorldSettings>()
{
{ "VoidWorld", new WorldSettings {type = WorldType.VoidWorld, size = WorldSize.Medium, save = true} },
{ "FlatWorld", new WorldSettings {type = WorldType.FlatWorld, size = WorldSize.Medium, save = true} },
{ "NormalWorld", new WorldSettings {type = WorldType.NormalWorld, size = WorldSize.Medium, save = true} }
};
[Label("Flat Worlds Have Trees")] [DefaultValue(true)]
public bool FlatWorldsHaveTrees = true;
}
}