-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSolSysResourcesCheat.cpp
More file actions
40 lines (31 loc) · 1 KB
/
SolSysResourcesCheat.cpp
File metadata and controls
40 lines (31 loc) · 1 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
#include "stdafx.h"
#include "SolSysResourcesCheat.h"
#include "SolarSystemResources.h"
#include "VaultManager.h"
using namespace Simulator;
SolSysResourcesCheat::SolSysResourcesCheat()
{
}
SolSysResourcesCheat::~SolSysResourcesCheat()
{
}
void SolSysResourcesCheat::ParseLine(const ArgScript::Line& line)
{
//CinematicManager.PlayCinematic("RSPORE_VaultDetector", 0, 0, 0, 0, 0);
VaultManagerA.OpenVault(GetActivePlanetRecord());
//CinematicManager.PlayCinematic("RSPORE_VAULTCUT", 0, 0, 0, 0, 0);
//This will not work until the SolarSystemResources is re-added to DLLMAIN
//SolarSystemResourcesA.OpenSysUI();
//SolarSystemResourcesA.LogSystem();
// This method is called when your cheat is invoked.
// Put your cheat code here.
}
const char* SolSysResourcesCheat::GetDescription(ArgScript::DescriptionMode mode) const
{
if (mode == ArgScript::DescriptionMode::Basic) {
return "This cheat does something.";
}
else {
return "SolSysResourcesCheat: Elaborate description of what this cheat does.";
}
}