Add trigger arrays
This commit is contained in:
@@ -549,6 +549,8 @@ class BusinessData {
|
||||
|
||||
this.labelHelpType = VRR_PROPLABEL_INFO_NONE;
|
||||
|
||||
this.triggers = [];
|
||||
|
||||
if(dbAssoc) {
|
||||
this.databaseId = toInteger(dbAssoc["biz_id"]);
|
||||
this.name = toString(dbAssoc["biz_name"]);
|
||||
@@ -683,6 +685,8 @@ class HouseData {
|
||||
|
||||
this.streamingRadioStation = -1;
|
||||
|
||||
this.triggers = [];
|
||||
|
||||
if(dbAssoc) {
|
||||
this.databaseId = toInteger(dbAssoc["house_id"]);
|
||||
this.description = toString(dbAssoc["house_description"]);
|
||||
@@ -949,6 +953,8 @@ class VehicleData {
|
||||
|
||||
this.lastActiveTime = false;
|
||||
|
||||
this.triggers = [];
|
||||
|
||||
if(dbAssoc) {
|
||||
// General Info
|
||||
this.databaseId = toInteger(dbAssoc["veh_id"]);
|
||||
@@ -1511,6 +1517,8 @@ class NPCData {
|
||||
rightFoot: [0,0],
|
||||
};
|
||||
|
||||
this.triggers = [];
|
||||
|
||||
if(dbAssoc) {
|
||||
this.databaseId = toInteger(dbAssoc["npc_id"]);
|
||||
this.serverId = toInteger(dbAssoc["npc_server"]);
|
||||
|
||||
@@ -31,6 +31,7 @@ let serverData = {
|
||||
localeStrings: {},
|
||||
cachedTranslations: [],
|
||||
cachedTranslationFrom: [],
|
||||
triggers: [],
|
||||
};
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user