-
Notifications
You must be signed in to change notification settings - Fork 5
/
object_npcs.h
80 lines (65 loc) · 2 KB
/
object_npcs.h
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
#ifndef NPCS_H
#define NPCS_H
using namespace std;
# include "PCH.h"
# include "dirent.h"
# include "gameforms.h"
# include "utility.h"
# include <fstream>
# include <iostream>
# include <regex>
# include <string>
# include <vector>
namespace NPCS
{
struct patch_instruction
{
std::vector<std::string> object;
std::vector<std::string> objectExcluded;
std::vector<std::string> keywords;
std::vector<std::string> keywordsOr;
std::vector<std::string> keywordsExcluded;
std::vector<std::string> races;
std::vector<std::string> filterFactions;
std::vector<std::string> filterFactionsOr;
std::vector<std::string> filterFactionsExcluded;
std::vector<std::string> factionsToRemove;
std::vector<std::string> factionsToAdd;
std::vector<float> factionsToAddRank1;
std::vector<float> factionsToAddRank2;
std::string calcStats;
std::string kPCLevelMult;
std::string kEssential;
std::string kProtected;
std::string isFemale;
std::string level_min;
std::string level_max;
std::vector<std::string> avifs;
std::vector<float> values1;
std::vector<float> values2;
std::vector<std::string> keywordsToAdd;
std::vector<std::string> keywordsToRemove;
std::vector<std::string> perksToAdd;
std::vector<std::string> spellsToAdd;
std::string outfitDefault;
std::string outfitSleep;
std::string deathItem;
std::string powerArmorStand;
std::string skin;
std::string race;
std::vector<std::string> filterClass;
std::string Class;
std::string xpValueOffset;
std::string level;
std::string calcLevelMin;
std::string calcLevelMax;
std::string fullName;
std::vector<std::string> objectsToAdd;
std::vector<std::string> objectsToAddValue;
std::vector<std::string> objectsToRemove;
};
struct patch_instruction create_patch_instruction(const std::string& line);
void process_patch_instructions(const std::list<patch_instruction>& tokens);
void* readConfig(const std::string& folder);
}
#endif