-
Notifications
You must be signed in to change notification settings - Fork 10
/
ZaupFeastConfiguration.cs
80 lines (77 loc) · 1.87 KB
/
ZaupFeastConfiguration.cs
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Rocket.API;
namespace ZaupFeast
{
public class FeastConfiguration : IRocketPluginConfiguration
{
public bool Enabled;
public int MinDropTime;
public int MaxDropTime;
public byte DropRadius;
public byte MinItemsDrop;
public byte MaxItemsDrop;
public bool SkyDrop;
public ushort PlaneEffectId;
public ushort SkydropEffectId;
public string MessageColor;
public List<FeastItem> Items;
public void LoadDefaults()
{
Enabled = true;
MinDropTime = 600;
MaxDropTime = 1200;
DropRadius = 20;
MinItemsDrop = 10;
MaxItemsDrop = 25;
SkyDrop = false;
PlaneEffectId = 1001;
SkydropEffectId = 1006;
MessageColor = "red";
Items = new List<FeastItem>
{
new FeastItem(66, "Cloth", 10, new List<string>
{
"all"
}),
new FeastItem(43, "Military Ammunition Box", 10, new List<string>
{
"all"
}),
new FeastItem(44, "Civilian Ammunition Box", 10, new List<string>
{
"all"
}),
new FeastItem(13, "Canned Beans", 10, new List<string>
{
"all"
}),
new FeastItem(14, "Bottled Water", 10, new List<string>
{
"all"
}),
new FeastItem(10, "Police Vest", 10, new List<string>
{
"all"
}),
new FeastItem(251, "White Travelpack", 10, new List<string>
{
"all"
}),
new FeastItem(223, "Police Top", 10, new List<string>
{
"all"
}),
new FeastItem(224, "Police Bottom", 10, new List<string>
{
"all"
}),
new FeastItem(366, "Maple Crate", 10, new List<string>
{
"all"
})
};
}
}
}