From 9b9dd8071d05b910f764241a9d6e0a5e74de8ca1 Mon Sep 17 00:00:00 2001 From: Max Weber Date: Wed, 20 Mar 2024 21:19:50 -0600 Subject: [PATCH] Update timetracking --- src/modules/timetracking/BirdHouse.js | 1 - src/modules/timetracking/BirdHouseSpace.js | 6 +- src/modules/timetracking/BirdHouseState.js | 4 - src/modules/timetracking/BirdHouseTracker.js | 5 +- src/modules/timetracking/FarmingPatch.js | 2 +- src/modules/timetracking/FarmingRegion.js | 4 +- src/modules/timetracking/FarmingTracker.js | 6 +- src/modules/timetracking/FarmingWorld.js | 72 +++- .../timetracking/PatchImplementation.js | 378 ++++++------------ src/modules/timetracking/Tab.js | 1 - src/modules/timetracking/VarPlayer.js | 58 +-- src/modules/timetracking/Varbits.js | 129 ++---- 12 files changed, 253 insertions(+), 413 deletions(-) diff --git a/src/modules/timetracking/BirdHouse.js b/src/modules/timetracking/BirdHouse.js index e213eda145..dc7348b27f 100644 --- a/src/modules/timetracking/BirdHouse.js +++ b/src/modules/timetracking/BirdHouse.js @@ -76,7 +76,6 @@ export class BirdHouse_$WRAPPER { } } BirdHouse['__class'] = 'timetracking.BirdHouse' -BirdHouse['__interfaces'] = ['java.lang.Comparable', 'java.io.Serializable'] BirdHouse['_$wrappers'] = { 0: new BirdHouse_$WRAPPER(0, 'NORMAL', 'Bird House', ItemID.BIRD_HOUSE), 1: new BirdHouse_$WRAPPER(1, 'OAK', 'Oak Bird House', ItemID.OAK_BIRD_HOUSE), diff --git a/src/modules/timetracking/BirdHouseSpace.js b/src/modules/timetracking/BirdHouseSpace.js index b709e3fa57..38d63c992e 100644 --- a/src/modules/timetracking/BirdHouseSpace.js +++ b/src/modules/timetracking/BirdHouseSpace.js @@ -17,7 +17,7 @@ export class BirdHouseSpace_$WRAPPER { this.__name = null } if (this.varp === undefined) { - this.varp = null + this.varp = 0 } this.__name = name this.varp = varp @@ -39,10 +39,6 @@ export class BirdHouseSpace_$WRAPPER { } } BirdHouseSpace['__class'] = 'timetracking.BirdHouseSpace' -BirdHouseSpace['__interfaces'] = [ - 'java.lang.Comparable', - 'java.io.Serializable' -] BirdHouseSpace['_$wrappers'] = { 0: new BirdHouseSpace_$WRAPPER( 0, diff --git a/src/modules/timetracking/BirdHouseState.js b/src/modules/timetracking/BirdHouseState.js index 83030654ec..6a815308f2 100644 --- a/src/modules/timetracking/BirdHouseState.js +++ b/src/modules/timetracking/BirdHouseState.js @@ -53,10 +53,6 @@ export class BirdHouseState_$WRAPPER { } } BirdHouseState['__class'] = 'timetracking.BirdHouseState' -BirdHouseState['__interfaces'] = [ - 'java.lang.Comparable', - 'java.io.Serializable' -] BirdHouseState['_$wrappers'] = { 0: new BirdHouseState_$WRAPPER(0, 'SEEDED'), 1: new BirdHouseState_$WRAPPER(1, 'BUILT'), diff --git a/src/modules/timetracking/BirdHouseTracker.js b/src/modules/timetracking/BirdHouseTracker.js index 450d66fa9a..729c853269 100644 --- a/src/modules/timetracking/BirdHouseTracker.js +++ b/src/modules/timetracking/BirdHouseTracker.js @@ -1,6 +1,5 @@ // @ts-nocheck /* eslint-disable */ -import { VarPlayer } from './VarPlayer' export class BirdHouseTracker { loadFromConfig(getConfiguration) { const birdHouseData = new Map() @@ -31,9 +30,7 @@ export class BirdHouseTracker { const key = TimeTrackingConfig.BIRD_HOUSE + '.' + - VarPlayer['_$wrappers'][ - BirdHouseSpace['_$wrappers'][space].getVarp() - ].getId() + BirdHouseSpace['_$wrappers'][space].getVarp() const storedValue = (target => typeof target === 'function' ? target(TimeTrackingConfig.CONFIG_GROUP, key) diff --git a/src/modules/timetracking/FarmingPatch.js b/src/modules/timetracking/FarmingPatch.js index f2e975d678..d16cfd75e3 100644 --- a/src/modules/timetracking/FarmingPatch.js +++ b/src/modules/timetracking/FarmingPatch.js @@ -9,7 +9,7 @@ export class FarmingPatch { this.name = null } if (this.varbit === undefined) { - this.varbit = null + this.varbit = 0 } if (this.implementation === undefined) { this.implementation = null diff --git a/src/modules/timetracking/FarmingRegion.js b/src/modules/timetracking/FarmingRegion.js index 27088013ab..f5bf61b63b 100644 --- a/src/modules/timetracking/FarmingRegion.js +++ b/src/modules/timetracking/FarmingRegion.js @@ -1,7 +1,7 @@ // @ts-nocheck /* eslint-disable */ export class FarmingRegion { - constructor(name, regionID, ...patches) { + constructor(name, regionID, definite, ...patches) { if (this.name === undefined) { this.name = null } @@ -19,7 +19,7 @@ export class FarmingRegion { this.patches = patches this.varbits = (s => { let a = [] - while (s-- > 0) a.push(null) + while (s-- > 0) a.push(0) return a })(patches.length) for (let i = 0; i < patches.length; i++) { diff --git a/src/modules/timetracking/FarmingTracker.js b/src/modules/timetracking/FarmingTracker.js index aa3cef9da3..f41b5d6534 100644 --- a/src/modules/timetracking/FarmingTracker.js +++ b/src/modules/timetracking/FarmingTracker.js @@ -1,6 +1,5 @@ // @ts-nocheck /* eslint-disable */ -import { Varbits } from './Varbits' export class FarmingTracker { predictPatch(patch, getConfiguration) { const unixNow = (n => (n < 0 ? Math.ceil(n) : Math.floor(n)))( @@ -24,10 +23,7 @@ export class FarmingTracker { TimeTrackingConfig.CONFIG_GROUP, TimeTrackingConfig.BOTANIST ))(getConfiguration) - const key = - patch.getRegion().getRegionID() + - '.' + - Varbits['_$wrappers'][patch.getVarbit()].getId() + const key = patch.getRegion().getRegionID() + '.' + patch.getVarbit() const storedValue = (target => typeof target === 'function' ? target(TimeTrackingConfig.CONFIG_GROUP, key) diff --git a/src/modules/timetracking/FarmingWorld.js b/src/modules/timetracking/FarmingWorld.js index e3079fb772..bcb5eefa7c 100644 --- a/src/modules/timetracking/FarmingWorld.js +++ b/src/modules/timetracking/FarmingWorld.js @@ -11,6 +11,7 @@ export class FarmingWorld { new FarmingRegion( 'Al Kharid', 13106, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.CACTUS) ), 13362, @@ -20,6 +21,7 @@ export class FarmingWorld { new FarmingRegion( 'Ardougne', 10290, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.BUSH) ), 10546 @@ -28,6 +30,7 @@ export class FarmingWorld { new FarmingRegion( 'Ardougne', 10548, + false, new FarmingPatch( 'North', Varbits.FARMING_4771, @@ -43,10 +46,24 @@ export class FarmingWorld { new FarmingPatch('', Varbits.FARMING_4775, PatchImplementation.COMPOST) ) ) + this.add( + new FarmingRegion( + 'Avium Savannah', + 6702, + true, + new FarmingPatch( + '', + Varbits.FARMING_4771, + PatchImplementation.HARDWOOD_TREE + ) + ), + 6446 + ) this.add( new FarmingRegion( 'Brimhaven', 11058, + false, new FarmingPatch( '', Varbits.FARMING_4771, @@ -64,6 +81,7 @@ export class FarmingWorld { new FarmingRegion( 'Catherby', 11062, + false, new FarmingPatch( 'North', Varbits.FARMING_4771, @@ -86,6 +104,7 @@ export class FarmingWorld { new FarmingRegion( 'Catherby', 11317, + false, new FarmingPatch( '', Varbits.FARMING_4771, @@ -93,10 +112,32 @@ export class FarmingWorld { ) ) ) + this.add( + new FarmingRegion( + 'Civitas illa Fortis', + 6192, + false, + new FarmingPatch( + 'North', + Varbits.FARMING_4771, + PatchImplementation.ALLOTMENT + ), + new FarmingPatch( + 'South', + Varbits.FARMING_4772, + PatchImplementation.ALLOTMENT + ), + new FarmingPatch('', Varbits.FARMING_4773, PatchImplementation.FLOWER), + new FarmingPatch('', Varbits.FARMING_4774, PatchImplementation.HERB), + new FarmingPatch('', Varbits.FARMING_4775, PatchImplementation.COMPOST) + ), + 6448 + ) this.add( new FarmingRegion( "Champions' Guild", 12596, + true, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.BUSH) ) ) @@ -104,6 +145,7 @@ export class FarmingWorld { new FarmingRegion( 'Draynor Manor', 12340, + false, new FarmingPatch( 'Belladonna', Varbits.FARMING_4771, @@ -115,6 +157,7 @@ export class FarmingWorld { new FarmingRegion( 'Entrana', 11060, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HOPS) ), 11316 @@ -123,6 +166,7 @@ export class FarmingWorld { new FarmingRegion( 'Etceteria', 10300, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.BUSH), new FarmingPatch( '', @@ -135,6 +179,7 @@ export class FarmingWorld { new FarmingRegion( 'Falador', 11828, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.TREE) ), 12084 @@ -143,6 +188,7 @@ export class FarmingWorld { new FarmingRegion( 'Falador', 12083, + false, new FarmingPatch( 'North West', Varbits.FARMING_4771, @@ -162,6 +208,7 @@ export class FarmingWorld { new FarmingRegion( 'Fossil Island', 14651, + false, new FarmingPatch( 'East', Varbits.FARMING_4771, @@ -191,6 +238,7 @@ export class FarmingWorld { new FarmingRegion( 'Seaweed', 15008, + false, new FarmingPatch( 'North', Varbits.FARMING_4771, @@ -207,6 +255,7 @@ export class FarmingWorld { new FarmingRegion( 'Gnome Stronghold', 9781, + true, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.TREE), new FarmingPatch( '', @@ -222,6 +271,7 @@ export class FarmingWorld { new FarmingRegion( 'Harmony', 15148, + false, new FarmingPatch( '', Varbits.FARMING_4771, @@ -234,6 +284,7 @@ export class FarmingWorld { new FarmingRegion( 'Kourend', 6967, + false, new FarmingPatch( 'North East', Varbits.FARMING_4771, @@ -259,6 +310,7 @@ export class FarmingWorld { new FarmingRegion( 'Kourend', 7223, + false, new FarmingPatch( 'East 1', Varbits.GRAPES_4953, @@ -325,6 +377,7 @@ export class FarmingWorld { new FarmingRegion( 'Lletya', 9265, + false, new FarmingPatch( '', Varbits.FARMING_4771, @@ -337,6 +390,7 @@ export class FarmingWorld { new FarmingRegion( 'Lumbridge', 12851, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HOPS) ) ) @@ -344,6 +398,7 @@ export class FarmingWorld { new FarmingRegion( 'Lumbridge', 12594, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.TREE) ), 12850 @@ -352,6 +407,7 @@ export class FarmingWorld { new FarmingRegion( 'Morytania', 13622, + false, new FarmingPatch( 'Mushroom', Varbits.FARMING_4771, @@ -364,6 +420,7 @@ export class FarmingWorld { new FarmingRegion( 'Morytania', 14391, + false, new FarmingPatch( 'North West', Varbits.FARMING_4771, @@ -384,6 +441,7 @@ export class FarmingWorld { new FarmingRegion( 'Port Sarim', 12082, + false, new FarmingPatch( '', Varbits.FARMING_4771, @@ -396,6 +454,7 @@ export class FarmingWorld { new FarmingRegion( 'Rimmington', 11570, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.BUSH) ), 11826 @@ -404,6 +463,7 @@ export class FarmingWorld { new FarmingRegion( "Seers' Village", 10551, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HOPS) ), 10550 @@ -412,6 +472,7 @@ export class FarmingWorld { new FarmingRegion( 'Tai Bwo Wannai', 11056, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.CALQUAT) ) ) @@ -419,6 +480,7 @@ export class FarmingWorld { new FarmingRegion( 'Taverley', 11573, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.TREE) ), 11829 @@ -427,6 +489,7 @@ export class FarmingWorld { new FarmingRegion( 'Tree Gnome Village', 9777, + true, new FarmingPatch( '', Varbits.FARMING_4771, @@ -439,6 +502,7 @@ export class FarmingWorld { new FarmingRegion( 'Troll Stronghold', 11321, + true, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HERB) ) ) @@ -446,6 +510,7 @@ export class FarmingWorld { new FarmingRegion( 'Varrock', 12854, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.TREE) ), 12853 @@ -454,6 +519,7 @@ export class FarmingWorld { new FarmingRegion( 'Yanille', 10288, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HOPS) ) ) @@ -461,6 +527,7 @@ export class FarmingWorld { new FarmingRegion( 'Weiss', 11325, + false, new FarmingPatch('', Varbits.FARMING_4771, PatchImplementation.HERB) ) ) @@ -468,6 +535,7 @@ export class FarmingWorld { new FarmingRegion( 'Farming Guild', 5021, + true, new FarmingPatch( 'Hespori', Varbits.FARMING_7908, @@ -479,6 +547,7 @@ export class FarmingWorld { (this.farmingGuildRegion = new FarmingRegion( 'Farming Guild', 4922, + true, new FarmingPatch('', Varbits.FARMING_7905, PatchImplementation.TREE), new FarmingPatch('', Varbits.FARMING_4775, PatchImplementation.HERB), new FarmingPatch('', Varbits.FARMING_4772, PatchImplementation.BUSH), @@ -496,7 +565,7 @@ export class FarmingWorld { new FarmingPatch( '', Varbits.FARMING_7912, - PatchImplementation.GIANT_COMPOST + PatchImplementation.BIG_COMPOST ), new FarmingPatch('', Varbits.FARMING_7904, PatchImplementation.CACTUS), new FarmingPatch( @@ -534,6 +603,7 @@ export class FarmingWorld { new FarmingRegion( 'Prifddinas', 13151, + false, new FarmingPatch( 'North', Varbits.FARMING_4771, diff --git a/src/modules/timetracking/PatchImplementation.js b/src/modules/timetracking/PatchImplementation.js index 78702ff202..0ccaa27525 100644 --- a/src/modules/timetracking/PatchImplementation.js +++ b/src/modules/timetracking/PatchImplementation.js @@ -30,12 +30,11 @@ export var PatchImplementation PatchImplementation[(PatchImplementation['CRYSTAL_TREE'] = 19)] = 'CRYSTAL_TREE' PatchImplementation[(PatchImplementation['COMPOST'] = 20)] = 'COMPOST' - PatchImplementation[(PatchImplementation['GIANT_COMPOST'] = 21)] = - 'GIANT_COMPOST' + PatchImplementation[(PatchImplementation['BIG_COMPOST'] = 21)] = 'BIG_COMPOST' })(PatchImplementation || (PatchImplementation = {})) /** @ignore */ export class PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { this._$ordinal = _$ordinal this._$name = _$name if (this.tab === undefined) { @@ -64,10 +63,6 @@ export class PatchImplementation_$WRAPPER { } } PatchImplementation['__class'] = 'timetracking.PatchImplementation' -PatchImplementation['__interfaces'] = [ - 'java.lang.Comparable', - 'java.io.Serializable' -] ;(function (PatchImplementation) { let Produce ;(function (Produce) { @@ -151,12 +146,11 @@ PatchImplementation['__interfaces'] = [ Produce[(Produce['SUPERCOMPOST'] = 77)] = 'SUPERCOMPOST' Produce[(Produce['ULTRACOMPOST'] = 78)] = 'ULTRACOMPOST' Produce[(Produce['ROTTEN_TOMATO'] = 79)] = 'ROTTEN_TOMATO' - Produce[(Produce['EMPTY_GIANT_COMPOST_BIN'] = 80)] = - 'EMPTY_GIANT_COMPOST_BIN' - Produce[(Produce['GIANT_COMPOST'] = 81)] = 'GIANT_COMPOST' - Produce[(Produce['GIANT_SUPERCOMPOST'] = 82)] = 'GIANT_SUPERCOMPOST' - Produce[(Produce['GIANT_ULTRACOMPOST'] = 83)] = 'GIANT_ULTRACOMPOST' - Produce[(Produce['GIANT_ROTTEN_TOMATO'] = 84)] = 'GIANT_ROTTEN_TOMATO' + Produce[(Produce['EMPTY_BIG_COMPOST_BIN'] = 80)] = 'EMPTY_BIG_COMPOST_BIN' + Produce[(Produce['BIG_COMPOST'] = 81)] = 'BIG_COMPOST' + Produce[(Produce['BIG_SUPERCOMPOST'] = 82)] = 'BIG_SUPERCOMPOST' + Produce[(Produce['BIG_ULTRACOMPOST'] = 83)] = 'BIG_ULTRACOMPOST' + Produce[(Produce['BIG_ROTTEN_TOMATO'] = 84)] = 'BIG_ROTTEN_TOMATO' })( (Produce = PatchImplementation.Produce || (PatchImplementation.Produce = {})) @@ -167,7 +161,6 @@ PatchImplementation['__interfaces'] = [ _$ordinal, _$name, name, - contractName, patchImplementation, itemID, tickrate, @@ -179,7 +172,6 @@ PatchImplementation['__interfaces'] = [ this._$name = _$name if ( (typeof name === 'string' || name === null) && - (typeof contractName === 'string' || contractName === null) && (typeof patchImplementation === 'number' || patchImplementation === null) && (typeof itemID === 'number' || itemID === null) && @@ -192,9 +184,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -214,7 +203,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = 0 } this.__name = name - this.contractName = contractName this.patchImplementation = patchImplementation this.itemID = itemID this.tickrate = tickrate @@ -223,7 +211,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = harvestStages } else if ( (typeof name === 'string' || name === null) && - (typeof contractName === 'string' || contractName === null) && (typeof patchImplementation === 'number' || patchImplementation === null) && (typeof itemID === 'number' || itemID === null) && @@ -240,9 +227,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -262,7 +246,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = 0 } this.__name = name - this.contractName = contractName this.patchImplementation = patchImplementation this.itemID = itemID this.tickrate = tickrate @@ -273,9 +256,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -299,9 +279,6 @@ PatchImplementation['__interfaces'] = [ getName() { return this.__name } - getContractName() { - return this.contractName - } getItemID() { return this.itemID } @@ -332,23 +309,12 @@ PatchImplementation['__interfaces'] = [ } PatchImplementation.Produce_$WRAPPER = Produce_$WRAPPER Produce['__class'] = 'timetracking.PatchImplementation.Produce' - Produce['__interfaces'] = ['java.lang.Comparable', 'java.io.Serializable'] Produce['_$wrappers'] = { - 0: new Produce_$WRAPPER( - 0, - 'WEEDS', - 'Weeds', - 'Weeds', - null, - ItemID.WEEDS, - 5, - 4 - ), + 0: new Produce_$WRAPPER(0, 'WEEDS', 'Weeds', null, ItemID.WEEDS, 5, 4), 1: new Produce_$WRAPPER( 1, 'SCARECROW', 'Scarecrow', - 'Scarecrow', null, ItemID.SCARECROW, 5, @@ -358,7 +324,6 @@ PatchImplementation['__interfaces'] = [ 2, 'POTATO', 'Potato', - 'Potatoes', PatchImplementation.ALLOTMENT, ItemID.POTATO, 10, @@ -370,7 +335,6 @@ PatchImplementation['__interfaces'] = [ 3, 'ONION', 'Onion', - 'Onions', PatchImplementation.ALLOTMENT, ItemID.ONION, 10, @@ -382,7 +346,6 @@ PatchImplementation['__interfaces'] = [ 4, 'CABBAGE', 'Cabbage', - 'Cabbages', PatchImplementation.ALLOTMENT, ItemID.CABBAGE, 10, @@ -394,7 +357,6 @@ PatchImplementation['__interfaces'] = [ 5, 'TOMATO', 'Tomato', - 'Tomatoes', PatchImplementation.ALLOTMENT, ItemID.TOMATO, 10, @@ -406,11 +368,10 @@ PatchImplementation['__interfaces'] = [ 6, 'SWEETCORN', 'Sweetcorn', - 'Sweetcorn', PatchImplementation.ALLOTMENT, ItemID.SWEETCORN, 10, - 6, + 7, 0, 3 ), @@ -418,7 +379,6 @@ PatchImplementation['__interfaces'] = [ 7, 'STRAWBERRY', 'Strawberry', - 'Strawberries', PatchImplementation.ALLOTMENT, ItemID.STRAWBERRY, 10, @@ -430,11 +390,10 @@ PatchImplementation['__interfaces'] = [ 8, 'WATERMELON', 'Watermelon', - 'Watermelons', PatchImplementation.ALLOTMENT, ItemID.WATERMELON, 10, - 8, + 9, 0, 3 ), @@ -442,7 +401,6 @@ PatchImplementation['__interfaces'] = [ 9, 'SNAPE_GRASS', 'Snape grass', - 'Snape grass', PatchImplementation.ALLOTMENT, ItemID.SNAPE_GRASS, 10, @@ -454,7 +412,6 @@ PatchImplementation['__interfaces'] = [ 10, 'MARIGOLD', 'Marigold', - 'Marigolds', PatchImplementation.FLOWER, ItemID.MARIGOLDS, 5, @@ -464,7 +421,6 @@ PatchImplementation['__interfaces'] = [ 11, 'ROSEMARY', 'Rosemary', - 'Rosemary', PatchImplementation.FLOWER, ItemID.ROSEMARY, 5, @@ -474,7 +430,6 @@ PatchImplementation['__interfaces'] = [ 12, 'NASTURTIUM', 'Nasturtium', - 'Nasturtiums', PatchImplementation.FLOWER, ItemID.NASTURTIUMS, 5, @@ -484,7 +439,6 @@ PatchImplementation['__interfaces'] = [ 13, 'WOAD', 'Woad', - 'Woad', PatchImplementation.FLOWER, ItemID.WOAD_LEAF, 5, @@ -494,7 +448,6 @@ PatchImplementation['__interfaces'] = [ 14, 'LIMPWURT', 'Limpwurt', - 'Limpwurt roots', PatchImplementation.FLOWER, ItemID.LIMPWURT_ROOT, 5, @@ -504,7 +457,6 @@ PatchImplementation['__interfaces'] = [ 15, 'WHITE_LILY', 'White lily', - 'White lillies', PatchImplementation.FLOWER, ItemID.WHITE_LILY, 5, @@ -514,7 +466,6 @@ PatchImplementation['__interfaces'] = [ 16, 'REDBERRIES', 'Redberry', - 'Redberries', PatchImplementation.BUSH, ItemID.REDBERRIES, 20, @@ -526,7 +477,6 @@ PatchImplementation['__interfaces'] = [ 17, 'CADAVABERRIES', 'Cadavaberry', - 'Cadava berries', PatchImplementation.BUSH, ItemID.CADAVA_BERRIES, 20, @@ -538,7 +488,6 @@ PatchImplementation['__interfaces'] = [ 18, 'DWELLBERRIES', 'Dwellberry', - 'Dwellberries', PatchImplementation.BUSH, ItemID.DWELLBERRIES, 20, @@ -550,7 +499,6 @@ PatchImplementation['__interfaces'] = [ 19, 'JANGERBERRIES', 'Jangerberry', - 'Jangerberries', PatchImplementation.BUSH, ItemID.JANGERBERRIES, 20, @@ -562,7 +510,6 @@ PatchImplementation['__interfaces'] = [ 20, 'WHITEBERRIES', 'Whiteberry', - 'White berries', PatchImplementation.BUSH, ItemID.WHITE_BERRIES, 20, @@ -574,7 +521,6 @@ PatchImplementation['__interfaces'] = [ 21, 'POISON_IVY', 'Poison ivy', - 'Poison ivy berries', PatchImplementation.BUSH, ItemID.POISON_IVY_BERRIES, 20, @@ -586,7 +532,6 @@ PatchImplementation['__interfaces'] = [ 22, 'BARLEY', 'Barley', - 'Barley', PatchImplementation.HOPS, ItemID.BARLEY, 10, @@ -598,7 +543,6 @@ PatchImplementation['__interfaces'] = [ 23, 'HAMMERSTONE', 'Hammerstone', - 'Hammerstone', PatchImplementation.HOPS, ItemID.HAMMERSTONE_HOPS, 10, @@ -610,7 +554,6 @@ PatchImplementation['__interfaces'] = [ 24, 'ASGARNIAN', 'Asgarnian', - 'Asgarnian', PatchImplementation.HOPS, ItemID.ASGARNIAN_HOPS, 10, @@ -622,7 +565,6 @@ PatchImplementation['__interfaces'] = [ 25, 'JUTE', 'Jute', - 'Jute', PatchImplementation.HOPS, ItemID.JUTE_FIBRE, 10, @@ -634,7 +576,6 @@ PatchImplementation['__interfaces'] = [ 26, 'YANILLIAN', 'Yanillian', - 'Yanillian', PatchImplementation.HOPS, ItemID.YANILLIAN_HOPS, 10, @@ -646,7 +587,6 @@ PatchImplementation['__interfaces'] = [ 27, 'KRANDORIAN', 'Krandorian', - 'Krandorian', PatchImplementation.HOPS, ItemID.KRANDORIAN_HOPS, 10, @@ -658,7 +598,6 @@ PatchImplementation['__interfaces'] = [ 28, 'WILDBLOOD', 'Wildblood', - 'Wildblood', PatchImplementation.HOPS, ItemID.WILDBLOOD_HOPS, 10, @@ -670,7 +609,6 @@ PatchImplementation['__interfaces'] = [ 29, 'GUAM', 'Guam', - 'Guam', PatchImplementation.HERB, ItemID.GUAM_LEAF, 20, @@ -682,7 +620,6 @@ PatchImplementation['__interfaces'] = [ 30, 'MARRENTILL', 'Marrentill', - 'Marrentill', PatchImplementation.HERB, ItemID.MARRENTILL, 20, @@ -694,7 +631,6 @@ PatchImplementation['__interfaces'] = [ 31, 'TARROMIN', 'Tarromin', - 'Tarromin', PatchImplementation.HERB, ItemID.TARROMIN, 20, @@ -706,7 +642,6 @@ PatchImplementation['__interfaces'] = [ 32, 'HARRALANDER', 'Harralander', - 'Harralander', PatchImplementation.HERB, ItemID.HARRALANDER, 20, @@ -718,7 +653,6 @@ PatchImplementation['__interfaces'] = [ 33, 'RANARR', 'Ranarr', - 'Harralander', PatchImplementation.HERB, ItemID.RANARR_WEED, 20, @@ -730,7 +664,6 @@ PatchImplementation['__interfaces'] = [ 34, 'TOADFLAX', 'Toadflax', - 'Toadflax', PatchImplementation.HERB, ItemID.TOADFLAX, 20, @@ -742,7 +675,6 @@ PatchImplementation['__interfaces'] = [ 35, 'IRIT', 'Irit', - 'Irit', PatchImplementation.HERB, ItemID.IRIT_LEAF, 20, @@ -754,7 +686,6 @@ PatchImplementation['__interfaces'] = [ 36, 'AVANTOE', 'Avantoe', - 'Avantoe', PatchImplementation.HERB, ItemID.AVANTOE, 20, @@ -766,7 +697,6 @@ PatchImplementation['__interfaces'] = [ 37, 'KWUARM', 'Kwuarm', - 'Kwuarm', PatchImplementation.HERB, ItemID.KWUARM, 20, @@ -778,7 +708,6 @@ PatchImplementation['__interfaces'] = [ 38, 'SNAPDRAGON', 'Snapdragon', - 'Snapdragon', PatchImplementation.HERB, ItemID.SNAPDRAGON, 20, @@ -790,7 +719,6 @@ PatchImplementation['__interfaces'] = [ 39, 'CADANTINE', 'Cadantine', - 'Cadantine', PatchImplementation.HERB, ItemID.CADANTINE, 20, @@ -802,7 +730,6 @@ PatchImplementation['__interfaces'] = [ 40, 'LANTADYME', 'Lantadyme', - 'Lantadyme', PatchImplementation.HERB, ItemID.LANTADYME, 20, @@ -814,7 +741,6 @@ PatchImplementation['__interfaces'] = [ 41, 'DWARF_WEED', 'Dwarf weed', - 'Dwarf weed', PatchImplementation.HERB, ItemID.DWARF_WEED, 20, @@ -826,7 +752,6 @@ PatchImplementation['__interfaces'] = [ 42, 'TORSTOL', 'Torstol', - 'Torstol', PatchImplementation.HERB, ItemID.TORSTOL, 20, @@ -838,7 +763,6 @@ PatchImplementation['__interfaces'] = [ 43, 'GOUTWEED', 'Goutweed', - 'Goutweed', PatchImplementation.HERB, ItemID.GOUTWEED, 20, @@ -850,7 +774,6 @@ PatchImplementation['__interfaces'] = [ 44, 'ANYHERB', 'Any herb', - 'Any herb', PatchImplementation.HERB, ItemID.GUAM_LEAF, 20, @@ -862,7 +785,6 @@ PatchImplementation['__interfaces'] = [ 45, 'OAK', 'Oak', - 'Oak tree', PatchImplementation.TREE, ItemID.OAK_LOGS, 40, @@ -872,7 +794,6 @@ PatchImplementation['__interfaces'] = [ 46, 'WILLOW', 'Willow', - 'Willow tree', PatchImplementation.TREE, ItemID.WILLOW_LOGS, 40, @@ -882,7 +803,6 @@ PatchImplementation['__interfaces'] = [ 47, 'MAPLE', 'Maple', - 'Maple tree', PatchImplementation.TREE, ItemID.MAPLE_LOGS, 40, @@ -892,7 +812,6 @@ PatchImplementation['__interfaces'] = [ 48, 'YEW', 'Yew', - 'Yew tree', PatchImplementation.TREE, ItemID.YEW_LOGS, 40, @@ -902,7 +821,6 @@ PatchImplementation['__interfaces'] = [ 49, 'MAGIC', 'Magic', - 'Magic tree', PatchImplementation.TREE, ItemID.MAGIC_LOGS, 40, @@ -912,7 +830,6 @@ PatchImplementation['__interfaces'] = [ 50, 'APPLE', 'Apple', - 'Apple tree', PatchImplementation.FRUIT_TREE, ItemID.COOKING_APPLE, 160, @@ -924,7 +841,6 @@ PatchImplementation['__interfaces'] = [ 51, 'BANANA', 'Banana', - 'Banana tree', PatchImplementation.FRUIT_TREE, ItemID.BANANA, 160, @@ -936,7 +852,6 @@ PatchImplementation['__interfaces'] = [ 52, 'ORANGE', 'Orange', - 'Orange tree', PatchImplementation.FRUIT_TREE, ItemID.ORANGE, 160, @@ -948,7 +863,6 @@ PatchImplementation['__interfaces'] = [ 53, 'CURRY', 'Curry', - 'Curry tree', PatchImplementation.FRUIT_TREE, ItemID.CURRY_LEAF, 160, @@ -960,7 +874,6 @@ PatchImplementation['__interfaces'] = [ 54, 'PINEAPPLE', 'Pineapple', - 'Pineapple plant', PatchImplementation.FRUIT_TREE, ItemID.PINEAPPLE, 160, @@ -972,7 +885,6 @@ PatchImplementation['__interfaces'] = [ 55, 'PAPAYA', 'Papaya', - 'Papaya tree', PatchImplementation.FRUIT_TREE, ItemID.PAPAYA_FRUIT, 160, @@ -984,7 +896,6 @@ PatchImplementation['__interfaces'] = [ 56, 'PALM', 'Palm', - 'Palm tree', PatchImplementation.FRUIT_TREE, ItemID.COCONUT, 160, @@ -996,7 +907,6 @@ PatchImplementation['__interfaces'] = [ 57, 'DRAGONFRUIT', 'Dragonfruit', - 'Dragonfruit tree', PatchImplementation.FRUIT_TREE, ItemID.DRAGONFRUIT, 160, @@ -1008,7 +918,6 @@ PatchImplementation['__interfaces'] = [ 58, 'CACTUS', 'Cactus', - 'Cactus', PatchImplementation.CACTUS, ItemID.CACTUS_SPINE, 80, @@ -1020,7 +929,6 @@ PatchImplementation['__interfaces'] = [ 59, 'POTATO_CACTUS', 'Potato cactus', - 'Potato cacti', PatchImplementation.CACTUS, ItemID.POTATO_CACTUS, 10, @@ -1032,17 +940,15 @@ PatchImplementation['__interfaces'] = [ 60, 'TEAK', 'Teak', - 'Teak', PatchImplementation.HARDWOOD_TREE, ItemID.TEAK_LOGS, - 560, + 640, 8 ), 61: new Produce_$WRAPPER( 61, 'MAHOGANY', 'Mahogany', - 'Mahogany', PatchImplementation.HARDWOOD_TREE, ItemID.MAHOGANY_LOGS, 640, @@ -1052,7 +958,6 @@ PatchImplementation['__interfaces'] = [ 62, 'ATTAS', 'Attas', - 'Attas', PatchImplementation.ANIMA, NullItemID.NULL_22940, 640, @@ -1062,7 +967,6 @@ PatchImplementation['__interfaces'] = [ 63, 'IASOR', 'Iasor', - 'Iasor', PatchImplementation.ANIMA, NullItemID.NULL_22939, 640, @@ -1072,7 +976,6 @@ PatchImplementation['__interfaces'] = [ 64, 'KRONOS', 'Kronos', - 'Kronos', PatchImplementation.ANIMA, NullItemID.NULL_22938, 640, @@ -1082,7 +985,6 @@ PatchImplementation['__interfaces'] = [ 65, 'SEAWEED', 'Seaweed', - 'Seaweed', PatchImplementation.SEAWEED, ItemID.GIANT_SEAWEED, 10, @@ -1094,7 +996,6 @@ PatchImplementation['__interfaces'] = [ 66, 'GRAPE', 'Grape', - 'Grape', PatchImplementation.GRAPES, ItemID.GRAPES, 5, @@ -1106,7 +1007,6 @@ PatchImplementation['__interfaces'] = [ 67, 'MUSHROOM', 'Mushroom', - 'Mushroom', PatchImplementation.MUSHROOM, ItemID.MUSHROOM, 40, @@ -1118,7 +1018,6 @@ PatchImplementation['__interfaces'] = [ 68, 'BELLADONNA', 'Belladonna', - 'Belladonna', PatchImplementation.BELLADONNA, ItemID.CAVE_NIGHTSHADE, 80, @@ -1128,7 +1027,6 @@ PatchImplementation['__interfaces'] = [ 69, 'CALQUAT', 'Calquat', - 'Calquat', PatchImplementation.CALQUAT, ItemID.CALQUAT_FRUIT, 160, @@ -1140,7 +1038,6 @@ PatchImplementation['__interfaces'] = [ 70, 'SPIRIT_TREE', 'Spirit tree', - 'Spirit tree', PatchImplementation.SPIRIT_TREE, ItemID.SPIRIT_TREE, 320, @@ -1150,7 +1047,6 @@ PatchImplementation['__interfaces'] = [ 71, 'CELASTRUS', 'Celastrus', - 'Celastrus tree', PatchImplementation.CELASTRUS, ItemID.BATTLESTAFF, 160, @@ -1162,7 +1058,6 @@ PatchImplementation['__interfaces'] = [ 72, 'REDWOOD', 'Redwood', - 'Redwood tree', PatchImplementation.REDWOOD, ItemID.REDWOOD_LOGS, 640, @@ -1172,7 +1067,6 @@ PatchImplementation['__interfaces'] = [ 73, 'HESPORI', 'Hespori', - 'Hespori', PatchImplementation.HESPORI, NullItemID.NULL_23044, 640, @@ -1184,7 +1078,6 @@ PatchImplementation['__interfaces'] = [ 74, 'CRYSTAL_TREE', 'Crystal tree', - 'Crystal tree', PatchImplementation.CRYSTAL_TREE, ItemID.CRYSTAL_SHARDS, 80, @@ -1194,7 +1087,6 @@ PatchImplementation['__interfaces'] = [ 75, 'EMPTY_COMPOST_BIN', 'Compost Bin', - 'Compost Bin', PatchImplementation.COMPOST, ItemID.COMPOST_BIN, 0, @@ -1206,7 +1098,6 @@ PatchImplementation['__interfaces'] = [ 76, 'COMPOST', 'Compost', - 'Compost', PatchImplementation.COMPOST, ItemID.COMPOST, 40, @@ -1218,7 +1109,6 @@ PatchImplementation['__interfaces'] = [ 77, 'SUPERCOMPOST', 'Supercompost', - 'Supercompost', PatchImplementation.COMPOST, ItemID.SUPERCOMPOST, 40, @@ -1230,7 +1120,6 @@ PatchImplementation['__interfaces'] = [ 78, 'ULTRACOMPOST', 'Ultracompost', - 'Ultracompost', PatchImplementation.COMPOST, ItemID.ULTRACOMPOST, 0, @@ -1242,7 +1131,6 @@ PatchImplementation['__interfaces'] = [ 79, 'ROTTEN_TOMATO', 'Rotten Tomato', - 'Rotten Tomato', PatchImplementation.COMPOST, ItemID.ROTTEN_TOMATO, 40, @@ -1252,9 +1140,8 @@ PatchImplementation['__interfaces'] = [ ), 80: new Produce_$WRAPPER( 80, - 'EMPTY_GIANT_COMPOST_BIN', - 'Giant Compost Bin', - 'Giant Compost Bin', + 'EMPTY_BIG_COMPOST_BIN', + 'Big Compost Bin', PatchImplementation.COMPOST, ItemID.COMPOST_BIN, 0, @@ -1264,10 +1151,9 @@ PatchImplementation['__interfaces'] = [ ), 81: new Produce_$WRAPPER( 81, - 'GIANT_COMPOST', + 'BIG_COMPOST', 'Compost', - 'Compost', - PatchImplementation.GIANT_COMPOST, + PatchImplementation.BIG_COMPOST, ItemID.COMPOST, 40, 3, @@ -1276,10 +1162,9 @@ PatchImplementation['__interfaces'] = [ ), 82: new Produce_$WRAPPER( 82, - 'GIANT_SUPERCOMPOST', - 'Supercompost', + 'BIG_SUPERCOMPOST', 'Supercompost', - PatchImplementation.GIANT_COMPOST, + PatchImplementation.BIG_COMPOST, ItemID.SUPERCOMPOST, 40, 3, @@ -1288,10 +1173,9 @@ PatchImplementation['__interfaces'] = [ ), 83: new Produce_$WRAPPER( 83, - 'GIANT_ULTRACOMPOST', + 'BIG_ULTRACOMPOST', 'Ultracompost', - 'Ultracompost', - PatchImplementation.GIANT_COMPOST, + PatchImplementation.BIG_COMPOST, ItemID.ULTRACOMPOST, 0, 3, @@ -1300,10 +1184,9 @@ PatchImplementation['__interfaces'] = [ ), 84: new Produce_$WRAPPER( 84, - 'GIANT_ROTTEN_TOMATO', - 'Rotten Tomato', + 'BIG_ROTTEN_TOMATO', 'Rotten Tomato', - PatchImplementation.GIANT_COMPOST, + PatchImplementation.BIG_COMPOST, ItemID.ROTTEN_TOMATO, 40, 3, @@ -1319,7 +1202,6 @@ PatchImplementation['__interfaces'] = [ _$ordinal, _$name, name, - contractName, patchImplementation, itemID, tickrate, @@ -1331,7 +1213,6 @@ PatchImplementation['__interfaces'] = [ this._$name = _$name if ( (typeof name === 'string' || name === null) && - (typeof contractName === 'string' || contractName === null) && (typeof patchImplementation === 'number' || patchImplementation === null) && (typeof itemID === 'number' || itemID === null) && @@ -1344,9 +1225,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -1366,7 +1244,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = 0 } this.__name = name - this.contractName = contractName this.patchImplementation = patchImplementation this.itemID = itemID this.tickrate = tickrate @@ -1375,7 +1252,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = harvestStages } else if ( (typeof name === 'string' || name === null) && - (typeof contractName === 'string' || contractName === null) && (typeof patchImplementation === 'number' || patchImplementation === null) && (typeof itemID === 'number' || itemID === null) && @@ -1392,9 +1268,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -1414,7 +1287,6 @@ PatchImplementation['__interfaces'] = [ this.harvestStages = 0 } this.__name = name - this.contractName = contractName this.patchImplementation = patchImplementation this.itemID = itemID this.tickrate = tickrate @@ -1425,9 +1297,6 @@ PatchImplementation['__interfaces'] = [ if (this.__name === undefined) { this.__name = null } - if (this.contractName === undefined) { - this.contractName = null - } if (this.patchImplementation === undefined) { this.patchImplementation = null } @@ -1451,9 +1320,6 @@ PatchImplementation['__interfaces'] = [ getName() { return this.__name } - getContractName() { - return this.contractName - } getItemID() { return this.itemID } @@ -1485,14 +1351,10 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.Produce_$WRAPPER = Produce_$WRAPPER PatchImplementation.Produce['__class'] = 'timetracking.PatchImplementation.Produce' - PatchImplementation.Produce['__interfaces'] = [ - 'java.lang.Comparable', - 'java.io.Serializable' - ] /** @ignore */ class PatchImplementation$0_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -1548,8 +1410,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$0_$WRAPPER = PatchImplementation$0_$WRAPPER /** @ignore */ class PatchImplementation$1_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -1605,8 +1467,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$1_$WRAPPER = PatchImplementation$1_$WRAPPER /** @ignore */ class PatchImplementation$2_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -1648,8 +1510,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$2_$WRAPPER = PatchImplementation$2_$WRAPPER /** @ignore */ class PatchImplementation$3_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -2118,8 +1980,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$3_$WRAPPER = PatchImplementation$3_$WRAPPER /** @ignore */ class PatchImplementation$4_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -2497,8 +2359,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$4_$WRAPPER = PatchImplementation$4_$WRAPPER /** @ignore */ class PatchImplementation$5_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -2883,8 +2745,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$5_$WRAPPER = PatchImplementation$5_$WRAPPER /** @ignore */ class PatchImplementation$6_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -3225,8 +3087,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$6_$WRAPPER = PatchImplementation$6_$WRAPPER /** @ignore */ class PatchImplementation$7_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -3641,8 +3503,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$7_$WRAPPER = PatchImplementation$7_$WRAPPER /** @ignore */ class PatchImplementation$8_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4069,8 +3931,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$8_$WRAPPER = PatchImplementation$8_$WRAPPER /** @ignore */ class PatchImplementation$9_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4479,8 +4341,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$9_$WRAPPER = PatchImplementation$9_$WRAPPER /** @ignore */ class PatchImplementation$10_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4603,8 +4465,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$10_$WRAPPER = PatchImplementation$10_$WRAPPER /** @ignore */ class PatchImplementation$11_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4676,8 +4538,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$11_$WRAPPER = PatchImplementation$11_$WRAPPER /** @ignore */ class PatchImplementation$12_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4749,8 +4611,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$12_$WRAPPER = PatchImplementation$12_$WRAPPER /** @ignore */ class PatchImplementation$13_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4806,8 +4668,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$13_$WRAPPER = PatchImplementation$13_$WRAPPER /** @ignore */ class PatchImplementation$14_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4916,8 +4778,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$14_$WRAPPER = PatchImplementation$14_$WRAPPER /** @ignore */ class PatchImplementation$15_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -4973,8 +4835,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$15_$WRAPPER = PatchImplementation$15_$WRAPPER /** @ignore */ class PatchImplementation$16_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5039,8 +4901,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$16_$WRAPPER = PatchImplementation$16_$WRAPPER /** @ignore */ class PatchImplementation$17_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5126,8 +4988,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$17_$WRAPPER = PatchImplementation$17_$WRAPPER /** @ignore */ class PatchImplementation$18_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5169,8 +5031,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$18_$WRAPPER = PatchImplementation$18_$WRAPPER /** @ignore */ class PatchImplementation$19_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5214,8 +5076,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$19_$WRAPPER = PatchImplementation$19_$WRAPPER /** @ignore */ class PatchImplementation$20_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5324,8 +5186,8 @@ PatchImplementation['__interfaces'] = [ PatchImplementation.PatchImplementation$20_$WRAPPER = PatchImplementation$20_$WRAPPER /** @ignore */ class PatchImplementation$21_$WRAPPER extends PatchImplementation_$WRAPPER { - constructor(_$ordinal, _$name, tab, name) { - super(_$ordinal, _$name, tab, name) + constructor(_$ordinal, _$name, tab, name, healthCheckRequired) { + super(_$ordinal, _$name, tab, name, healthCheckRequired) } /** * @@ -5335,137 +5197,137 @@ PatchImplementation['__interfaces'] = [ forVarbitValue(value) { if (value === 0) { return new PatchState( - PatchImplementation.Produce.EMPTY_GIANT_COMPOST_BIN, + PatchImplementation.Produce.EMPTY_BIG_COMPOST_BIN, CropState.EMPTY, 0 ) } if (value >= 1 && value <= 15) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.FILLING, value - 1 ) } if (value >= 16 && value <= 30) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.HARVESTABLE, value - 16 ) } if (value >= 33 && value <= 47) { return new PatchState( - PatchImplementation.Produce.GIANT_SUPERCOMPOST, + PatchImplementation.Produce.BIG_SUPERCOMPOST, CropState.FILLING, value - 33 ) } if (value >= 48 && value <= 62) { return new PatchState( - PatchImplementation.Produce.GIANT_SUPERCOMPOST, + PatchImplementation.Produce.BIG_SUPERCOMPOST, CropState.HARVESTABLE, value - 48 ) } if (value >= 63 && value <= 77) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.FILLING, 15 + value - 63 ) } if (value >= 78 && value <= 92) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.HARVESTABLE, 15 + value - 78 ) } if (value === 93) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.GROWING, PatchImplementation.Produce['_$wrappers'][ - PatchImplementation.Produce.GIANT_COMPOST + PatchImplementation.Produce.BIG_COMPOST ].getStages() - 1 ) } if (value >= 97 && value <= 99) { return new PatchState( - PatchImplementation.Produce.GIANT_SUPERCOMPOST, + PatchImplementation.Produce.BIG_SUPERCOMPOST, CropState.GROWING, value - 97 ) } if (value >= 100 && value <= 114) { return new PatchState( - PatchImplementation.Produce.GIANT_SUPERCOMPOST, + PatchImplementation.Produce.BIG_SUPERCOMPOST, CropState.HARVESTABLE, 15 + value - 100 ) } if (value >= 127 && value <= 128) { return new PatchState( - PatchImplementation.Produce.GIANT_COMPOST, + PatchImplementation.Produce.BIG_COMPOST, CropState.GROWING, value - 127 ) } if (value >= 129 && value <= 143) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.FILLING, value - 129 ) } if (value >= 144 && value <= 158) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.HARVESTABLE, value - 144 ) } if (value >= 159 && value <= 160) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.GROWING, value - 159 ) } if (value >= 161 && value <= 175) { return new PatchState( - PatchImplementation.Produce.GIANT_SUPERCOMPOST, + PatchImplementation.Produce.BIG_SUPERCOMPOST, CropState.FILLING, 15 + value - 161 ) } if (value >= 176 && value <= 205) { return new PatchState( - PatchImplementation.Produce.GIANT_ULTRACOMPOST, + PatchImplementation.Produce.BIG_ULTRACOMPOST, CropState.HARVESTABLE, value - 176 ) } if (value >= 207 && value <= 221) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.HARVESTABLE, 15 + value - 207 ) } if (value === 222) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.GROWING, PatchImplementation.Produce['_$wrappers'][ - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO + PatchImplementation.Produce.BIG_ROTTEN_TOMATO ].getStages() - 1 ) } if (value >= 223 && value <= 237) { return new PatchState( - PatchImplementation.Produce.GIANT_ROTTEN_TOMATO, + PatchImplementation.Produce.BIG_ROTTEN_TOMATO, CropState.FILLING, 15 + value - 223 ) @@ -5480,132 +5342,154 @@ PatchImplementation['_$wrappers'] = { 0, 'BELLADONNA', Tab.SPECIAL, - '' + '', + false ), 1: new PatchImplementation.PatchImplementation$1_$WRAPPER( 1, 'MUSHROOM', Tab.SPECIAL, - '' + '', + false ), 2: new PatchImplementation.PatchImplementation$2_$WRAPPER( 2, 'HESPORI', Tab.SPECIAL, - '' + '', + true ), 3: new PatchImplementation.PatchImplementation$3_$WRAPPER( 3, 'ALLOTMENT', Tab.ALLOTMENT, - '' + '', + false ), 4: new PatchImplementation.PatchImplementation$4_$WRAPPER( 4, 'HERB', Tab.HERB, - '' + '', + false ), 5: new PatchImplementation.PatchImplementation$5_$WRAPPER( 5, 'FLOWER', Tab.FLOWER, - '' + '', + false ), 6: new PatchImplementation.PatchImplementation$6_$WRAPPER( 6, 'BUSH', Tab.BUSH, - '' + '', + true ), 7: new PatchImplementation.PatchImplementation$7_$WRAPPER( 7, 'FRUIT_TREE', Tab.FRUIT_TREE, - '' + '', + true ), 8: new PatchImplementation.PatchImplementation$8_$WRAPPER( 8, 'HOPS', Tab.HOPS, - '' + '', + false ), 9: new PatchImplementation.PatchImplementation$9_$WRAPPER( 9, 'TREE', Tab.TREE, - '' + '', + true ), 10: new PatchImplementation.PatchImplementation$10_$WRAPPER( 10, 'HARDWOOD_TREE', Tab.TREE, - 'Hardwood Trees' + 'Hardwood Trees', + true ), 11: new PatchImplementation.PatchImplementation$11_$WRAPPER( 11, 'REDWOOD', Tab.TREE, - 'Redwood Trees' + 'Redwood Trees', + true ), 12: new PatchImplementation.PatchImplementation$12_$WRAPPER( 12, 'SPIRIT_TREE', Tab.TREE, - 'Spirit Trees' + 'Spirit Trees', + true ), 13: new PatchImplementation.PatchImplementation$13_$WRAPPER( 13, 'ANIMA', Tab.SPECIAL, - '' + '', + false ), 14: new PatchImplementation.PatchImplementation$14_$WRAPPER( 14, 'CACTUS', Tab.SPECIAL, - 'Cactus' + 'Cactus', + true ), 15: new PatchImplementation.PatchImplementation$15_$WRAPPER( 15, 'SEAWEED', Tab.SPECIAL, - 'Seaweed' + 'Seaweed', + false ), 16: new PatchImplementation.PatchImplementation$16_$WRAPPER( 16, 'CALQUAT', Tab.FRUIT_TREE, - 'Calquat' + 'Calquat', + true ), 17: new PatchImplementation.PatchImplementation$17_$WRAPPER( 17, 'CELASTRUS', Tab.FRUIT_TREE, - 'Celastrus' + 'Celastrus', + true ), 18: new PatchImplementation.PatchImplementation$18_$WRAPPER( 18, 'GRAPES', Tab.GRAPE, - '' + '', + true ), 19: new PatchImplementation.PatchImplementation$19_$WRAPPER( 19, 'CRYSTAL_TREE', Tab.FRUIT_TREE, - 'Crystal Tree' + 'Crystal Tree', + true ), 20: new PatchImplementation.PatchImplementation$20_$WRAPPER( 20, 'COMPOST', Tab.SPECIAL, - 'Compost Bin' + 'Compost Bin', + true ), 21: new PatchImplementation.PatchImplementation$21_$WRAPPER( 21, - 'GIANT_COMPOST', + 'BIG_COMPOST', Tab.SPECIAL, - 'Giant Compost Bin' + 'Big Compost Bin', + true ) } diff --git a/src/modules/timetracking/Tab.js b/src/modules/timetracking/Tab.js index 63759a765a..fb8a28b7b4 100644 --- a/src/modules/timetracking/Tab.js +++ b/src/modules/timetracking/Tab.js @@ -63,7 +63,6 @@ export class Tab_$WRAPPER { } } Tab['__class'] = 'timetracking.Tab' -Tab['__interfaces'] = ['java.lang.Comparable', 'java.io.Serializable'] Tab['_$wrappers'] = { 0: new Tab_$WRAPPER(0, 'OVERVIEW', 'Overview', ItemID.OLD_NOTES), 1: new Tab_$WRAPPER(1, 'CLOCK', 'Timers & Stopwatches', ItemID.WATCH), diff --git a/src/modules/timetracking/VarPlayer.js b/src/modules/timetracking/VarPlayer.js index 7dac40bd98..54895dadaf 100644 --- a/src/modules/timetracking/VarPlayer.js +++ b/src/modules/timetracking/VarPlayer.js @@ -7,56 +7,14 @@ * from the server to the client. The client can change them preemptively * if it thinks they will change the next tick as a lag-hiding measure. * The client CANNOT directly make the server change a varbit. - * @enum - * @property {VarPlayer} BIRD_HOUSE_MEADOW_NORTH - * Bird house states - * @property {VarPlayer} BIRD_HOUSE_MEADOW_SOUTH - * @property {VarPlayer} BIRD_HOUSE_VALLEY_NORTH - * @property {VarPlayer} BIRD_HOUSE_VALLEY_SOUTH * @class */ -export var VarPlayer -;(function (VarPlayer) { - /** - * Bird house states - */ - VarPlayer[(VarPlayer['BIRD_HOUSE_MEADOW_NORTH'] = 0)] = - 'BIRD_HOUSE_MEADOW_NORTH' - VarPlayer[(VarPlayer['BIRD_HOUSE_MEADOW_SOUTH'] = 1)] = - 'BIRD_HOUSE_MEADOW_SOUTH' - VarPlayer[(VarPlayer['BIRD_HOUSE_VALLEY_NORTH'] = 2)] = - 'BIRD_HOUSE_VALLEY_NORTH' - VarPlayer[(VarPlayer['BIRD_HOUSE_VALLEY_SOUTH'] = 3)] = - 'BIRD_HOUSE_VALLEY_SOUTH' -})(VarPlayer || (VarPlayer = {})) -/** @ignore */ -export class VarPlayer_$WRAPPER { - constructor(_$ordinal, _$name, id) { - this._$ordinal = _$ordinal - this._$name = _$name - if (this.id === undefined) { - this.id = 0 - } - this.id = id - } - getId() { - return this.id - } - name() { - return this._$name - } - ordinal() { - return this._$ordinal - } - compareTo(other) { - return this._$ordinal - (isNaN(other) ? other._$ordinal : other) - } -} +export class VarPlayer {} +/** + * Bird house states + */ +VarPlayer.BIRD_HOUSE_MEADOW_NORTH = 1626 +VarPlayer.BIRD_HOUSE_MEADOW_SOUTH = 1627 +VarPlayer.BIRD_HOUSE_VALLEY_NORTH = 1628 +VarPlayer.BIRD_HOUSE_VALLEY_SOUTH = 1629 VarPlayer['__class'] = 'timetracking.VarPlayer' -VarPlayer['__interfaces'] = ['java.lang.Comparable', 'java.io.Serializable'] -VarPlayer['_$wrappers'] = { - 0: new VarPlayer_$WRAPPER(0, 'BIRD_HOUSE_MEADOW_NORTH', 1626), - 1: new VarPlayer_$WRAPPER(1, 'BIRD_HOUSE_MEADOW_SOUTH', 1627), - 2: new VarPlayer_$WRAPPER(2, 'BIRD_HOUSE_VALLEY_NORTH', 1628), - 3: new VarPlayer_$WRAPPER(3, 'BIRD_HOUSE_VALLEY_SOUTH', 1629) -} diff --git a/src/modules/timetracking/Varbits.js b/src/modules/timetracking/Varbits.js index f870f74a8e..d2c0a2711d 100644 --- a/src/modules/timetracking/Varbits.js +++ b/src/modules/timetracking/Varbits.js @@ -1,95 +1,40 @@ // @ts-nocheck /* eslint-disable */ -export var Varbits -;(function (Varbits) { - /** - * Transmog controllers for farming - */ - Varbits[(Varbits['FARMING_4771'] = 0)] = 'FARMING_4771' - Varbits[(Varbits['FARMING_4772'] = 1)] = 'FARMING_4772' - Varbits[(Varbits['FARMING_4773'] = 2)] = 'FARMING_4773' - Varbits[(Varbits['FARMING_4774'] = 3)] = 'FARMING_4774' - Varbits[(Varbits['FARMING_4775'] = 4)] = 'FARMING_4775' - Varbits[(Varbits['FARMING_7904'] = 5)] = 'FARMING_7904' - Varbits[(Varbits['FARMING_7905'] = 6)] = 'FARMING_7905' - Varbits[(Varbits['FARMING_7906'] = 7)] = 'FARMING_7906' - Varbits[(Varbits['FARMING_7907'] = 8)] = 'FARMING_7907' - Varbits[(Varbits['FARMING_7908'] = 9)] = 'FARMING_7908' - Varbits[(Varbits['FARMING_7909'] = 10)] = 'FARMING_7909' - Varbits[(Varbits['FARMING_7910'] = 11)] = 'FARMING_7910' - Varbits[(Varbits['FARMING_7911'] = 12)] = 'FARMING_7911' - Varbits[(Varbits['FARMING_7912'] = 13)] = 'FARMING_7912' - /** - * Transmog controllers for grapes - */ - Varbits[(Varbits['GRAPES_4953'] = 14)] = 'GRAPES_4953' - Varbits[(Varbits['GRAPES_4954'] = 15)] = 'GRAPES_4954' - Varbits[(Varbits['GRAPES_4955'] = 16)] = 'GRAPES_4955' - Varbits[(Varbits['GRAPES_4956'] = 17)] = 'GRAPES_4956' - Varbits[(Varbits['GRAPES_4957'] = 18)] = 'GRAPES_4957' - Varbits[(Varbits['GRAPES_4958'] = 19)] = 'GRAPES_4958' - Varbits[(Varbits['GRAPES_4959'] = 20)] = 'GRAPES_4959' - Varbits[(Varbits['GRAPES_4960'] = 21)] = 'GRAPES_4960' - Varbits[(Varbits['GRAPES_4961'] = 22)] = 'GRAPES_4961' - Varbits[(Varbits['GRAPES_4962'] = 23)] = 'GRAPES_4962' - Varbits[(Varbits['GRAPES_4963'] = 24)] = 'GRAPES_4963' - Varbits[(Varbits['GRAPES_4964'] = 25)] = 'GRAPES_4964' - /** - * Automatically weed farming patches - */ - Varbits[(Varbits['AUTOWEED'] = 26)] = 'AUTOWEED' -})(Varbits || (Varbits = {})) -/** @ignore */ -export class Varbits_$WRAPPER { - constructor(_$ordinal, _$name, id) { - this._$ordinal = _$ordinal - this._$name = _$name - if (this.id === undefined) { - this.id = 0 - } - this.id = id - } - getId() { - return this.id - } - name() { - return this._$name - } - ordinal() { - return this._$ordinal - } - compareTo(other) { - return this._$ordinal - (isNaN(other) ? other._$ordinal : other) - } -} +export class Varbits {} +/** + * Transmog controllers for farming + */ +Varbits.FARMING_4771 = 4771 +Varbits.FARMING_4772 = 4772 +Varbits.FARMING_4773 = 4773 +Varbits.FARMING_4774 = 4774 +Varbits.FARMING_4775 = 4775 +Varbits.FARMING_7904 = 7904 +Varbits.FARMING_7905 = 7905 +Varbits.FARMING_7906 = 7906 +Varbits.FARMING_7907 = 7907 +Varbits.FARMING_7908 = 7908 +Varbits.FARMING_7909 = 7909 +Varbits.FARMING_7910 = 7910 +Varbits.FARMING_7911 = 7911 +Varbits.FARMING_7912 = 7912 +/** + * Transmog controllers for grapes + */ +Varbits.GRAPES_4953 = 4953 +Varbits.GRAPES_4954 = 4954 +Varbits.GRAPES_4955 = 4955 +Varbits.GRAPES_4956 = 4956 +Varbits.GRAPES_4957 = 4957 +Varbits.GRAPES_4958 = 4958 +Varbits.GRAPES_4959 = 4959 +Varbits.GRAPES_4960 = 4960 +Varbits.GRAPES_4961 = 4961 +Varbits.GRAPES_4962 = 4962 +Varbits.GRAPES_4963 = 4963 +Varbits.GRAPES_4964 = 4964 +/** + * Automatically weed farming patches + */ +Varbits.AUTOWEED = 5557 Varbits['__class'] = 'timetracking.Varbits' -Varbits['__interfaces'] = ['java.lang.Comparable', 'java.io.Serializable'] -Varbits['_$wrappers'] = { - 0: new Varbits_$WRAPPER(0, 'FARMING_4771', 4771), - 1: new Varbits_$WRAPPER(1, 'FARMING_4772', 4772), - 2: new Varbits_$WRAPPER(2, 'FARMING_4773', 4773), - 3: new Varbits_$WRAPPER(3, 'FARMING_4774', 4774), - 4: new Varbits_$WRAPPER(4, 'FARMING_4775', 4775), - 5: new Varbits_$WRAPPER(5, 'FARMING_7904', 7904), - 6: new Varbits_$WRAPPER(6, 'FARMING_7905', 7905), - 7: new Varbits_$WRAPPER(7, 'FARMING_7906', 7906), - 8: new Varbits_$WRAPPER(8, 'FARMING_7907', 7907), - 9: new Varbits_$WRAPPER(9, 'FARMING_7908', 7908), - 10: new Varbits_$WRAPPER(10, 'FARMING_7909', 7909), - 11: new Varbits_$WRAPPER(11, 'FARMING_7910', 7910), - 12: new Varbits_$WRAPPER(12, 'FARMING_7911', 7911), - 13: new Varbits_$WRAPPER(13, 'FARMING_7912', 7912), - 14: new Varbits_$WRAPPER(14, 'GRAPES_4953', 4953), - 15: new Varbits_$WRAPPER(15, 'GRAPES_4954', 4954), - 16: new Varbits_$WRAPPER(16, 'GRAPES_4955', 4955), - 17: new Varbits_$WRAPPER(17, 'GRAPES_4956', 4956), - 18: new Varbits_$WRAPPER(18, 'GRAPES_4957', 4957), - 19: new Varbits_$WRAPPER(19, 'GRAPES_4958', 4958), - 20: new Varbits_$WRAPPER(20, 'GRAPES_4959', 4959), - 21: new Varbits_$WRAPPER(21, 'GRAPES_4960', 4960), - 22: new Varbits_$WRAPPER(22, 'GRAPES_4961', 4961), - 23: new Varbits_$WRAPPER(23, 'GRAPES_4962', 4962), - 24: new Varbits_$WRAPPER(24, 'GRAPES_4963', 4963), - 25: new Varbits_$WRAPPER(25, 'GRAPES_4964', 4964), - 26: new Varbits_$WRAPPER(26, 'AUTOWEED', 5557) -}