mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Organize dScripts (#814)
* Organize dScripts whitespace Remove parent scope Remove parent scope from initial setter Remove debug Remove helper programs * Fix NtImagimeterVisibility script Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
This commit is contained in:
3
dScripts/02_server/Map/Property/AG_Med/CMakeLists.txt
Normal file
3
dScripts/02_server/Map/Property/AG_Med/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
set(DSCRIPTS_SOURCES_02_SERVER_MAP_PROPERTY_AG_MED
|
||||
"ZoneAgMedProperty.cpp"
|
||||
PARENT_SCOPE)
|
42
dScripts/02_server/Map/Property/AG_Med/ZoneAgMedProperty.cpp
Normal file
42
dScripts/02_server/Map/Property/AG_Med/ZoneAgMedProperty.cpp
Normal file
@@ -0,0 +1,42 @@
|
||||
#include "ZoneAgMedProperty.h"
|
||||
#include "Entity.h"
|
||||
|
||||
void ZoneAgMedProperty::SetGameVariables(Entity* self) {
|
||||
|
||||
self->SetVar<std::string>(ClaimMarkerGroup, "ClaimMarker");
|
||||
self->SetVar<std::string>(GeneratorGroup, "Generator");
|
||||
self->SetVar<std::string>(GuardGroup, "Guard");
|
||||
self->SetVar<std::string>(PropertyPlaqueGroup, "PropertyPlaque");
|
||||
self->SetVar<std::string>(PropertyVendorGroup, "PropertyVendor");
|
||||
self->SetVar<std::string>(SpotsGroup, "Spots");
|
||||
self->SetVar<std::string>(MSCloudsGroup, "maelstrom");
|
||||
self->SetVar<std::string>(EnemiesGroup, "Enemies");
|
||||
self->SetVar<std::string>(FXManagerGroup, "FXObject");
|
||||
self->SetVar<std::string>(ImagOrbGroup, "Orb");
|
||||
self->SetVar<std::string>(GeneratorFXGroup, "GeneratorFX");
|
||||
|
||||
self->SetVar<std::vector<std::string>>(EnemiesSpawner, {
|
||||
"StrombieWander", "Strombies", "Mechs", "OtherEnemy"
|
||||
});
|
||||
self->SetVar<std::string>(ClaimMarkerSpawner, "ClaimMarker");
|
||||
self->SetVar<std::string>(GeneratorSpawner, "Generator");
|
||||
self->SetVar<std::string>(DamageFXSpawner, "MaelstromFX");
|
||||
self->SetVar<std::string>(FXSpotsSpawner, "MaelstromSpots");
|
||||
self->SetVar<std::string>(PropertyMGSpawner, "PropertyGuard");
|
||||
self->SetVar<std::string>(ImageOrbSpawner, "Orb");
|
||||
self->SetVar<std::string>(GeneratorFXSpawner, "GeneratorFX");
|
||||
self->SetVar<std::string>(SmashablesSpawner, "Smashables");
|
||||
self->SetVar<std::string>(FXManagerSpawner, "FXObject");
|
||||
self->SetVar<std::string>(PropObjsSpawner, "BankObj");
|
||||
self->SetVar<std::vector<std::string>>(AmbientFXSpawner, { "BirdFX", "SunBeam" });
|
||||
self->SetVar<std::vector<std::string>>(BehaviorObjsSpawner, {});
|
||||
|
||||
self->SetVar<uint32_t>(defeatedProperyFlag, 118);
|
||||
self->SetVar<uint32_t>(placedModelFlag, 119);
|
||||
self->SetVar<uint32_t>(guardMissionFlag, 1293);
|
||||
self->SetVar<uint32_t>(brickLinkMissionIDFlag, 1294);
|
||||
self->SetVar<std::string>(passwordFlag, "s3kratK1ttN");
|
||||
self->SetVar<LOT>(generatorIdFlag, 10118);
|
||||
self->SetVar<LOT>(orbIDFlag, 10226);
|
||||
self->SetVar<LOT>(behaviorQBID, 10445);
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
#include "BasePropertyServer.h"
|
||||
|
||||
class ZoneAgMedProperty : public BasePropertyServer {
|
||||
void SetGameVariables(Entity* self) override;
|
||||
};
|
Reference in New Issue
Block a user