Skip to content

Commit

Permalink
Remove data-of-loathing from greenbox-data as it is not really needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gausie committed Nov 22, 2024
1 parent 4998e03 commit db34e7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/greenbox-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "greenbox-data",
"version": "0.0.3",
"version": "0.0.4",
"description": "> TODO: description",
"author": "Sam Gaus <[email protected]>",
"homepage": "https://github.com/loathers/greenbox#readme",
Expand Down Expand Up @@ -39,7 +39,6 @@
},
"prettier": "greenbox-prettier-config",
"dependencies": {
"data-of-loathing": "^1.4.0",
"jsoncrush": "^1.1.8"
}
}
3 changes: 1 addition & 2 deletions packages/greenbox-script/src/greenbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
getMiscTattoos,
getOutfitTattoos,
isOutfitTattoo,
isSkillPermable,
ItemStatus,
loadIotMs,
loadPaths,
Expand Down Expand Up @@ -104,7 +103,7 @@ function checkSkills(): RawSkill[] {
}

return Skill.all()
.filter((skill) => isSkillPermable(skill))
.filter((skill) => skill.permable)
.map((skill) => [toInt(skill), getStatus(skill), getLevel(skill)]);
}

Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6232,7 +6232,6 @@ __metadata:
"@trivago/prettier-plugin-sort-imports": "npm:^4.3.0"
"@typescript-eslint/eslint-plugin": "npm:^7.16.0"
"@typescript-eslint/parser": "npm:^7.16.0"
data-of-loathing: "npm:^1.4.0"
eslint: "npm:^8.57.0"
eslint-config-prettier: "npm:^9.1.0"
eslint-plugin-prettier: "npm:^5.1.3"
Expand Down

0 comments on commit db34e7a

Please sign in to comment.