DarkflameServer/dScripts/zone/PROPERTY/NS/ZoneNsProperty.cpp
David Markowitz 8d37d9b681
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>
2022-11-03 12:57:54 -05:00

42 lines
1.9 KiB
C++

#include "ZoneNsProperty.h"
#include "Entity.h"
void ZoneNsProperty::SetGameVariables(Entity* self) {
self->SetVar<std::string>(ClaimMarkerGroup, "Rhino");
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, "Clouds");
self->SetVar<std::string>(EnemiesGroup, "Enemies");
self->SetVar<std::string>(FXManagerGroup, "FXManager");
self->SetVar<std::string>(ImagOrbGroup, "Orb");
self->SetVar<std::string>(GeneratorFXGroup, "GeneratorFX");
self->SetVar<std::vector<std::string>>(EnemiesSpawner, {
"StrombieWander", "StrombieGen", "PirateWander", "PirateGen", "RoninGen"
});
self->SetVar<std::string>(ClaimMarkerSpawner, "ClaimMarker");
self->SetVar<std::string>(GeneratorSpawner, "Generator");
self->SetVar<std::string>(DamageFXSpawner, "MSClouds");
self->SetVar<std::string>(FXSpotsSpawner, "Spots");
self->SetVar<std::string>(PropertyMGSpawner, "Guard");
self->SetVar<std::string>(ImageOrbSpawner, "Orb");
self->SetVar<std::string>(GeneratorFXSpawner, "GeneratorFX");
self->SetVar<std::string>(SmashablesSpawner, "Smashables");
self->SetVar<std::string>(FXManagerSpawner, "FXManager");
self->SetVar<std::string>(PropObjsSpawner, "BankObj");
self->SetVar<std::vector<std::string>>(AmbientFXSpawner, { "Rockets" });
self->SetVar<std::vector<std::string>>(BehaviorObjsSpawner, { "Cage", "Platform", "Door" });
self->SetVar<uint32_t>(defeatedProperyFlag, 97);
self->SetVar<uint32_t>(placedModelFlag, 105);
self->SetVar<uint32_t>(guardMissionFlag, 872);
self->SetVar<uint32_t>(brickLinkMissionIDFlag, 948);
self->SetVar<std::string>(passwordFlag, "s3kratK1ttN");
self->SetVar<LOT>(generatorIdFlag, 11031);
self->SetVar<LOT>(orbIDFlag, 10226);
self->SetVar<LOT>(behaviorQBID, 11009);
}