farming-weight 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { GearSlot } from "./armor";
1
+ import type { GearSlot } from "./armor";
2
2
  import { Crop } from "./crops";
3
3
  import { FARMING_TOOLS } from "./tools";
4
4
  export declare enum UpgradeReason {
@@ -16,4 +16,3 @@ export interface InitialItems {
16
16
  armor: Record<GearSlot, string | string[]>;
17
17
  pets: string[];
18
18
  }
19
- export declare const INITIAL_ITEMS: InitialItems;
@@ -1,37 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INITIAL_ITEMS = exports.UpgradeReason = void 0;
4
- const armor_1 = require("./armor");
5
- const crops_1 = require("./crops");
3
+ exports.UpgradeReason = void 0;
6
4
  var UpgradeReason;
7
5
  (function (UpgradeReason) {
8
6
  UpgradeReason["Standard"] = "standard";
9
7
  UpgradeReason["DeadEnd"] = "dead_end";
10
8
  UpgradeReason["Situational"] = "situational";
11
9
  })(UpgradeReason || (exports.UpgradeReason = UpgradeReason = {}));
12
- exports.INITIAL_ITEMS = {
13
- tools: {
14
- [crops_1.Crop.Cactus]: 'CACTUS_KNIFE',
15
- [crops_1.Crop.CocoaBeans]: 'COCO_CHOPPER',
16
- [crops_1.Crop.Carrot]: 'THEORETICAL_HOE_CARROT_1',
17
- [crops_1.Crop.Melon]: 'MELON_DICER',
18
- [crops_1.Crop.Mushroom]: 'FUNGI_CUTTER',
19
- [crops_1.Crop.NetherWart]: 'THEORETICAL_HOE_WARTS_1',
20
- [crops_1.Crop.Potato]: 'THEORETICAL_HOE_POTATO_1',
21
- [crops_1.Crop.Pumpkin]: 'PUMPKIN_DICER',
22
- [crops_1.Crop.SugarCane]: 'THEORETICAL_HOE_CANE_1',
23
- [crops_1.Crop.Wheat]: 'THEORETICAL_HOE_WHEAT_1'
24
- },
25
- armor: {
26
- [armor_1.GearSlot.Boots]: ['MELON_BOOTS', 'FARMER_BOOTS', 'RANCHERS_BOOTS'],
27
- [armor_1.GearSlot.Leggings]: 'MELON_LEGGINGS',
28
- [armor_1.GearSlot.Chestplate]: 'MELON_CHESTPLATE',
29
- [armor_1.GearSlot.Helmet]: 'MELON_HELMET',
30
- [armor_1.GearSlot.Necklace]: 'LOTUS_NECKLACE',
31
- [armor_1.GearSlot.Cloak]: 'LOTUS_CLOAK',
32
- [armor_1.GearSlot.Belt]: 'LOTUS_BELT',
33
- [armor_1.GearSlot.Gloves]: 'LOTUS_BRACELET',
34
- },
35
- pets: ['ELEPHANT', 'MOOSHROOM_COW']
36
- };
10
+ // export const INITIAL_ITEMS: InitialItems = {
11
+ // tools: {
12
+ // [Crop.Cactus]: 'CACTUS_KNIFE',
13
+ // [Crop.CocoaBeans]: 'COCO_CHOPPER',
14
+ // [Crop.Carrot]: 'THEORETICAL_HOE_CARROT_1',
15
+ // [Crop.Melon]: 'MELON_DICER',
16
+ // [Crop.Mushroom]: 'FUNGI_CUTTER',
17
+ // [Crop.NetherWart]: 'THEORETICAL_HOE_WARTS_1',
18
+ // [Crop.Potato]: 'THEORETICAL_HOE_POTATO_1',
19
+ // [Crop.Pumpkin]: 'PUMPKIN_DICER',
20
+ // [Crop.SugarCane]: 'THEORETICAL_HOE_CANE_1',
21
+ // [Crop.Wheat]: 'THEORETICAL_HOE_WHEAT_1'
22
+ // },
23
+ // armor: {
24
+ // [GearSlot.Boots]: [ 'MELON_BOOTS', 'FARMER_BOOTS', 'RANCHERS_BOOTS' ],
25
+ // [GearSlot.Leggings]: 'MELON_LEGGINGS',
26
+ // [GearSlot.Chestplate]: 'MELON_CHESTPLATE',
27
+ // [GearSlot.Helmet]: 'MELON_HELMET',
28
+ // [GearSlot.Necklace]: 'LOTUS_NECKLACE',
29
+ // [GearSlot.Cloak]: 'LOTUS_CLOAK',
30
+ // [GearSlot.Belt]: 'LOTUS_BELT',
31
+ // [GearSlot.Gloves]: 'LOTUS_BRACELET',
32
+ // },
33
+ // pets: [ 'ELEPHANT', 'MOOSHROOM_COW' ]
34
+ // };
37
35
  //# sourceMappingURL=upgrades.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"upgrades.js","sourceRoot":"","sources":["../../src/constants/upgrades.ts"],"names":[],"mappings":";;;AAAA,mCAAmC;AACnC,mCAA+B;AAG/B,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,sCAAqB,CAAA;IACrB,qCAAoB,CAAA;IACpB,4CAA2B,CAAA;AAC5B,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAcY,QAAA,aAAa,GAAiB;IAC1C,KAAK,EAAE;QACN,CAAC,YAAI,CAAC,MAAM,CAAC,EAAE,cAAc;QAC7B,CAAC,YAAI,CAAC,UAAU,CAAC,EAAE,cAAc;QACjC,CAAC,YAAI,CAAC,MAAM,CAAC,EAAE,0BAA0B;QACzC,CAAC,YAAI,CAAC,KAAK,CAAC,EAAE,aAAa;QAC3B,CAAC,YAAI,CAAC,QAAQ,CAAC,EAAE,cAAc;QAC/B,CAAC,YAAI,CAAC,UAAU,CAAC,EAAE,yBAAyB;QAC5C,CAAC,YAAI,CAAC,MAAM,CAAC,EAAE,0BAA0B;QACzC,CAAC,YAAI,CAAC,OAAO,CAAC,EAAE,eAAe;QAC/B,CAAC,YAAI,CAAC,SAAS,CAAC,EAAE,wBAAwB;QAC1C,CAAC,YAAI,CAAC,KAAK,CAAC,EAAE,yBAAyB;KACvC;IACD,KAAK,EAAE;QACN,CAAC,gBAAQ,CAAC,KAAK,CAAC,EAAE,CAAE,aAAa,EAAE,cAAc,EAAE,gBAAgB,CAAE;QACrE,CAAC,gBAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAgB;QACrC,CAAC,gBAAQ,CAAC,UAAU,CAAC,EAAE,kBAAkB;QACzC,CAAC,gBAAQ,CAAC,MAAM,CAAC,EAAE,cAAc;QACjC,CAAC,gBAAQ,CAAC,QAAQ,CAAC,EAAE,gBAAgB;QACrC,CAAC,gBAAQ,CAAC,KAAK,CAAC,EAAE,aAAa;QAC/B,CAAC,gBAAQ,CAAC,IAAI,CAAC,EAAE,YAAY;QAC7B,CAAC,gBAAQ,CAAC,MAAM,CAAC,EAAE,gBAAgB;KACnC;IACD,IAAI,EAAE,CAAE,UAAU,EAAE,eAAe,CAAE;CACrC,CAAC"}
1
+ {"version":3,"file":"upgrades.js","sourceRoot":"","sources":["../../src/constants/upgrades.ts"],"names":[],"mappings":";;;AAIA,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,sCAAqB,CAAA;IACrB,qCAAoB,CAAA;IACpB,4CAA2B,CAAA;AAC5B,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAcD,+CAA+C;AAC/C,YAAY;AACZ,mCAAmC;AACnC,uCAAuC;AACvC,+CAA+C;AAC/C,iCAAiC;AACjC,qCAAqC;AACrC,kDAAkD;AAClD,+CAA+C;AAC/C,qCAAqC;AACrC,gDAAgD;AAChD,4CAA4C;AAC5C,MAAM;AACN,YAAY;AACZ,2EAA2E;AAC3E,2CAA2C;AAC3C,+CAA+C;AAC/C,uCAAuC;AACvC,2CAA2C;AAC3C,qCAAqC;AACrC,mCAAmC;AACnC,yCAAyC;AACzC,MAAM;AACN,yCAAyC;AACzC,KAAK"}
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "farming-weight",
3
- "version": "0.4.0",
4
- "description": "Tools for calculating farming weight and fortune in Hypixel Skyblock",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "scripts": {
8
- "build": "tsc",
9
- "format": "prettier --write \"src/**/*.ts\"",
10
- "lint": "eslint",
11
- "test": "vitest"
12
- },
13
- "keywords": [
14
- "farming",
15
- "weight",
16
- "farming-weight",
17
- "skyblock",
18
- "hypixel",
19
- "hypixel-skyblock",
20
- "fortune"
21
- ],
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/EliteFarmers/Tools.git"
25
- },
26
- "files": [
27
- "dist/**/*"
28
- ],
29
- "bugs": {
30
- "url": "https://github.com/EliteFarmers/Tools/issues"
31
- },
32
- "publishConfig": {
33
- "registry": "https://registry.npmjs.org/",
34
- "access": "public"
35
- },
36
- "homepage": "https://github.com/EliteFarmers/Tools#readme",
37
- "author": "Kaeso",
38
- "license": "LGPL-3.0-only",
39
- "devDependencies": {
40
- "@typescript-eslint/eslint-plugin": "^6.7.4",
41
- "eslint": "^8.50.0",
42
- "prettier": "^3.0.3",
43
- "typescript": "^5.2.2",
44
- "vitest": "^1.6.0"
45
- }
46
- }
1
+ {
2
+ "name": "farming-weight",
3
+ "version": "0.4.1",
4
+ "description": "Tools for calculating farming weight and fortune in Hypixel Skyblock",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc",
9
+ "format": "prettier --write \"src/**/*.ts\"",
10
+ "lint": "eslint",
11
+ "test": "vitest"
12
+ },
13
+ "keywords": [
14
+ "farming",
15
+ "weight",
16
+ "farming-weight",
17
+ "skyblock",
18
+ "hypixel",
19
+ "hypixel-skyblock",
20
+ "fortune"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/EliteFarmers/Tools.git"
25
+ },
26
+ "files": [
27
+ "dist/**/*"
28
+ ],
29
+ "bugs": {
30
+ "url": "https://github.com/EliteFarmers/Tools/issues"
31
+ },
32
+ "publishConfig": {
33
+ "registry": "https://registry.npmjs.org/",
34
+ "access": "public"
35
+ },
36
+ "homepage": "https://github.com/EliteFarmers/Tools#readme",
37
+ "author": "Kaeso",
38
+ "license": "LGPL-3.0-only",
39
+ "devDependencies": {
40
+ "@typescript-eslint/eslint-plugin": "^6.7.4",
41
+ "eslint": "^8.50.0",
42
+ "prettier": "^3.0.3",
43
+ "typescript": "^5.2.2",
44
+ "vitest": "^1.6.0"
45
+ }
46
+ }