From 7f429f2bb0098a1fc99f083d03d87e470a68e407 Mon Sep 17 00:00:00 2001 From: Skriv <skrivelese@gmail.com> Date: Sat, 30 Mar 2019 23:03:04 +0100 Subject: [PATCH] itemAvailability --- src/js/itemAvailability.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/js/itemAvailability.js b/src/js/itemAvailability.js index 049b0668248..5871a894ddf 100644 --- a/src/js/itemAvailability.js +++ b/src/js/itemAvailability.js @@ -1,5 +1,11 @@ /* eslint-disable no-undef */ /* intended to condense the clothing/toy/etc availability checks into something less asinine */ + +/** + * Checks whether item is accessible + * @param {string} string Name of the item + * @returns {boolean} + */ window.isItemAccessible = function(string) { const V = State.variables; -- GitLab