mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
Added script for Avant Gardens Survival buff station
This commit is contained in:
parent
3bb1491f09
commit
2a5f3b8072
@ -302,6 +302,7 @@ void BaseSurvivalServer::StartWaves(Entity *self) {
|
||||
self->SetVar<bool>(FirstTimeDoneVariable, true);
|
||||
self->SetVar<std::string>(MissionTypeVariable, state.players.size() == 1 ? "survival_time_solo" : "survival_time_team");
|
||||
|
||||
ActivateSpawnerNetwork(spawnerNetworks.rewardNetworks);
|
||||
ActivateSpawnerNetwork(spawnerNetworks.smashNetworks);
|
||||
self->SetNetworkVar<bool>(WavesStartedVariable, true);
|
||||
self->SetNetworkVar<std::string>(StartWaveMessageVariable, "Start!");
|
||||
|
@ -62,6 +62,7 @@
|
||||
#include "VeMech.h"
|
||||
#include "VeMissionConsole.h"
|
||||
#include "VeEpsilonServer.h"
|
||||
#include "AgSurvivalBuffStation.h"
|
||||
|
||||
// NS Scripts
|
||||
#include "NsModularBuild.h"
|
||||
@ -319,6 +320,8 @@ CppScripts::Script* CppScripts::GetScript(Entity* parent, const std::string& scr
|
||||
script = new BaseEnemyMech();
|
||||
else if (scriptName == "scripts\\zone\\AG\\L_ZONE_AG_SURVIVAL.lua")
|
||||
script = new ZoneAgSurvival();
|
||||
else if (scriptName == "scripts\\02_server\\Objects\\L_BUFF_STATION_SERVER.lua")
|
||||
script = new AgSurvivalBuffStation();
|
||||
else if (scriptName == "scripts\\ai\\AG\\L_AG_BUS_DOOR.lua")
|
||||
script = new AgBusDoor();
|
||||
else if (scriptName == "scripts\\02_server\\Equipment\\L_MAESTROM_EXTRACTICATOR_SERVER.lua")
|
||||
|
Loading…
Reference in New Issue
Block a user