-
Notifications
You must be signed in to change notification settings - Fork 1
/
SEDropshipSettings.cs
143 lines (132 loc) · 3.07 KB
/
SEDropshipSettings.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SEDropship
{
[Serializable()]
public class SEDropshipSettings
{
private int m_slowDownDistance = 250;
private bool m_anyAsteroid = true;
private bool m_personalRoid;
private float m_slowSpeed = 5.0F;
private float m_startSpeed = 104.4F;
private int m_countdown = 10;
private bool m_deleteIfAbort = false;
private int m_teleportDistance = 10000;
private bool m_requireMagnesium = false;
private bool m_requireUranium = false;
private bool m_requireVital = false;
private bool m_requireIce = false;
private bool m_requireSilver = false;
private string m_ignoreKeyword = "";
private string m_arrivalMsg = "";
private string m_bootupMsg = "";
private double m_messageMult = 1.0d;
private string m_whitelistKeyword = "";
public static long FieldSize = 50000;
public int slowDownDistance
{
get { return m_slowDownDistance; }
set { if (value > 32) m_slowDownDistance = value; else m_slowDownDistance = 32; }//safe minimum
}
public bool anyAsteroid
{
get { return m_anyAsteroid; }
set { m_anyAsteroid = value; }
}
public float slowSpeed
{
get { return m_slowSpeed; }
set { if (value >= 0F) m_slowSpeed = value; }
}
public float startSpeed
{
get { return m_startSpeed; }
set { if (value >= 0F) m_startSpeed = value; }
}
public int countdown
{
get { return m_countdown; }
set { if (value >= 0) m_countdown = value; }
}
public bool deleteIfAbort
{
get { return m_deleteIfAbort; }
set { m_deleteIfAbort = value; }
}
public int teleportDistance
{
get { return m_teleportDistance; }
set { if (value >= 1000) m_teleportDistance = value; }
}
public bool requireMagnesium
{
get { return m_requireMagnesium; }
set { m_requireMagnesium = value; }
}
public bool requireUranium
{
get { return m_requireUranium; }
set { m_requireUranium = value; }
}
public bool requireIce
{
get { return m_requireIce; }
set { m_requireIce = value; }
}
public bool requireSilver
{
get { return m_requireSilver; }
set { m_requireSilver = value; }
}
public bool requireVital
{
get { return m_requireVital; }
set { m_requireVital = value; }
}
public string ignoreKeyword
{
get
{
return m_ignoreKeyword;
}
set
{
m_ignoreKeyword = value;
}
}
public string arrivalMsg
{
get { return m_arrivalMsg; }
set { m_arrivalMsg = value; }
}
public string bootupMsg
{
get { return m_bootupMsg; }
set { m_bootupMsg = value; }
}
public double messageMult
{
get { return m_messageMult; }
set { if(value >= 1.0d) m_messageMult = value; }
}
public string whitelistKeyword
{
get { return m_whitelistKeyword; }
set { m_whitelistKeyword = value; }
}
public bool personalRoid
{
get
{
return m_personalRoid;
}
set
{
m_personalRoid = value;
}
}
}
}