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