Skip to content
Snippets Groups Projects
Commit f35f3275 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

comment fix

fix doc
parent 0a655a13
No related branches found
No related tags found
1 merge request!6139Clothes array for ra
...@@ -211,7 +211,6 @@ window.isClothingAccessible = (function() { ...@@ -211,7 +211,6 @@ window.isClothingAccessible = (function() {
* @param {string} string Name of wearable item * @param {string} string Name of wearable item
* @returns {boolean} * @returns {boolean}
*/ */
function entry(string) { function entry(string) {
if (V.cheatMode === 1) { if (V.cheatMode === 1) {
return true; return true;
...@@ -227,11 +226,10 @@ window.isClothingAccessible = (function() { ...@@ -227,11 +226,10 @@ window.isClothingAccessible = (function() {
return isAvailable(item); return isAvailable(item);
} }
/** /**
* Returns array of wearable clothing in format [name, value], or player facing / game data. * Returns array of wearable clothing in format [name, value], basically player facing / game data.
* @param {string} db Name of array to look in (such as "App.Data.misc.niceClothes") * @param {string} db Name of array to look in (such as "App.Data.misc.niceClothes")
* @returns {Array} * @returns {Array}
*/ */
// returns array [.name, .value]
function array(db) { function array(db) {
const array = []; const array = [];
db.forEach((i) => { db.forEach((i) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment