-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenum.psm1
More file actions
64 lines (59 loc) · 1.08 KB
/
enum.psm1
File metadata and controls
64 lines (59 loc) · 1.08 KB
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
<#
# File: enum.psm1
# Created: Monday October 3rd 2022
# Author: Nick Strickland
# -----
# Last Modified: Monday, 3rd October 2022 10:01:08 pm
# ----
# Copright 2022 Nick Strickland, nsstrickland@outlook.com>>
# GNU General Public License v3.0 only - https://www.gnu.org/licenses/gpl-3.0-standalone.html
#>
# Stats
[Flags()] enum Stat {
Strength=1;
Dexterity=2;
Constitution=4;
Intelligence=8;
Wisdom=16;
Charisma=32;
}
# Effects
enum EffectSource {
Race=0;
Class=1;
Equipment=2;
Spell=3
Disease=4
}
# Items
enum ItemRarity {
Poor = 0; # Grey name
Common = 1; # White name
Uncommon = 2; # Green name
Rare = 3; # Blue name
Epic = 4; # Purple name
Legendary = 5; # Orange name
}
enum EquipmentClass {
Head = 0;
Shoulder = 1;
Chest = 2;
Hands = 3;
Waist = 4;
Legs = 5;
Feet = 6;
Back = 7;
Neck = 8;
Fingers = 9;
}
# Misc
[Flags()] enum Direction {
North=1;
South=2;
East=4;
West=8;
Northeast=16;
Northwest=32;
Southeast=64;
Southwest=128;
}