From 32ba973d6a8c6b32ffbb4eb0d401641a1361ef6a Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Tue, 8 Aug 2023 16:51:22 -0400 Subject: [PATCH] Add description field --- CustomModules/NodBot.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CustomModules/NodBot.js b/CustomModules/NodBot.js index 0e1c538..931f02c 100644 --- a/CustomModules/NodBot.js +++ b/CustomModules/NodBot.js @@ -57,6 +57,7 @@ module.exports = { this.type = ""; this.effects = ""; this.rating = "0.0"; + this.description = ""; } // Initial Strain configuration @@ -67,7 +68,8 @@ module.exports = { details: { type: String, effects: String, - rating: String + rating: String, + description: String } */ @@ -81,6 +83,7 @@ module.exports = { this.type = typeof details.type === 'string' ? details.type : this.type; this.effects = typeof details.effects === 'string' ? details.effects : this.effects; this.rating = typeof details.rating === 'string' ? details.rating : this.rating; + this.description = typeof details.description === 'string' ? details.description : this.description; return this; // For chaining