name
name: (FishingSpot) -> stringThe constant's name as declared.
FishingSpot.valueOf(…)
FishingSpot.findSpot(…)
FishingSpot.SHRIMP| Method | Returns | Description |
|---|---|---|
name() | string | The constant's name as declared. |
ordinal() | number | The constant's 0-based position in values(). |
toString() | string | name(); tostring(c) answers the same. |
compareTo(FishingSpot) | number | This ordinal less other's. |
equals(any) | boolean | Whether other is this constant. == answers the same. |
getFishSpriteId() | number | This constant's getFishSpriteId() value, listed on each constant. |
getIds() | {number} | This constant's getIds() value, listed on each constant. |
getName() | string | This constant's getName() value, listed on each constant. |
getWorldMapTooltip() | string | This constant's getWorldMapTooltip() value, listed on each constant. |
values() | {FishingSpot} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
valueOf(string) | FishingSpot | valueOf(name): the constant named name; any other name is an error. |
findSpot(number) | FishingSpot? | The spot whose getIds() holds NPC id id, or nil. |
| Field | Type | Description |
|---|---|---|
SHRIMP | FishingSpot | SHRIMP: ordinal 0; getFishSpriteId() 317, getIds() {1514, 1517, 1518, 1521, 1523, 1524, 1525, 1528, 1530, 1544, 3913, 7155, 7459, 746… |
LOBSTER | FishingSpot | LOBSTER: ordinal 1; getFishSpriteId() 377, getIds() {1510, 1519, 1522, 2146, 3914, 5820, 7199, 7460, 7465, 7470, 7946, 9173, 9174, 10… |
SHARK | FishingSpot | SHARK: ordinal 2; getFishSpriteId() 383, getIds() {1511, 1520, 3419, 3915, 4476, 4477, 5233, 5234, 5821, 7200, 7461, 7466, 8525, 8526… |
MONKFISH | FishingSpot | MONKFISH: ordinal 3; getFishSpriteId() 7944, getIds() {4316, 16343}, getName() "Monkfish", getWorldMapTooltip() "Monkfish". |
SALMON | FishingSpot | SALMON: ordinal 4; getFishSpriteId() 331, getIds() {394, 1506, 1507, 1508, 1509, 1513, 1515, 1516, 1526, 1527, 3417, 3418, 7463, 7464… |
LAVA_EEL | FishingSpot | LAVA_EEL: ordinal 5; getFishSpriteId() 2149, getIds() {4928, 6784, 15384}, getName() "Lava eel", getWorldMapTooltip() "Lava eel". |
BARB_FISH | FishingSpot | BARB_FISH: ordinal 6; getFishSpriteId() 11332, getIds() {1542, 7323}, getName() "Sturgeon, Salmon, Trout", getWorldMapTooltip() "… |
ANGLERFISH | FishingSpot | ANGLERFISH: ordinal 7; getFishSpriteId() 13439, getIds() {6825, 16342}, getName() "Anglerfish", getWorldMapTooltip() "Anglerfish". |
MINNOW | FishingSpot | MINNOW: ordinal 8; getFishSpriteId() 21356, getIds() {7730, 7731, 7732, 7733}, getName() "Minnow", getWorldMapTooltip() "Minnow". |
HARPOONFISH | FishingSpot | HARPOONFISH: ordinal 9; getFishSpriteId() 25564, getIds() {10565, 10568, 10569}, getName() "Harpoonfish", getWorldMapTooltip() "H… |
INFERNAL_EEL | FishingSpot | INFERNAL_EEL: ordinal 10; getFishSpriteId() 21293, getIds() {7676}, getName() "Infernal Eel", getWorldMapTooltip() "Infernal Eel". |
KARAMBWAN | FishingSpot | KARAMBWAN: ordinal 11; getFishSpriteId() 3142, getIds() {4712, 4713, 16341}, getName() "Karambwan", getWorldMapTooltip() "Karambw… |
KARAMBWANJI | FishingSpot | KARAMBWANJI: ordinal 12; getFishSpriteId() 3150, getIds() {4710}, getName() "Karambwanji, Shrimp", getWorldMapTooltip() "Karambwa… |
SACRED_EEL | FishingSpot | SACRED_EEL: ordinal 13; getFishSpriteId() 13339, getIds() {6488}, getName() "Sacred eel", getWorldMapTooltip() "Sacred eel". |
CAVE_EEL | FishingSpot | CAVE_EEL: ordinal 14; getFishSpriteId() 5001, getIds() {1497, 1498, 1499, 1500}, getName() "Frog spawn, Cave eel", `getWorldMapTool… |
SLIMY_EEL | FishingSpot | SLIMY_EEL: ordinal 15; getFishSpriteId() 3379, getIds() {2653, 2654, 2655}, getName() "Slimy eel", getWorldMapTooltip() "Slimy ee… |
DARK_CRAB | FishingSpot | DARK_CRAB: ordinal 16; getFishSpriteId() 11934, getIds() {1535, 1536}, getName() "Dark Crab", getWorldMapTooltip() "Dark Crab". |
COMMON_TENCH | FishingSpot | COMMON_TENCH: ordinal 17; getFishSpriteId() 22829, getIds() {8523}, getName() "Common tench, Bluegill, Greater siren, Mottled eel",… |
CAMDOZAAL_TETRA | FishingSpot | CAMDOZAAL_TETRA: ordinal 18; getFishSpriteId() 25666, getIds() {10686}, getName() "Guppy, Cavefish, Tetra, Catfish, Barronite shard… |
CAMDOZAAL_CAVE_EEL | FishingSpot | CAMDOZAAL_CAVE_EEL: ordinal 19; getFishSpriteId() 5003, getIds() {10653}, getName() "Slimy eel, Cave eel", getWorldMapTooltip() "… |
TUTORIAL_SHRIMP | FishingSpot | TUTORIAL_SHRIMP: ordinal 20; getFishSpriteId() 317, getIds() {3317}, getName() "Shrimp", getWorldMapTooltip() "Shrimp". |
ETCETERIA_LOBSTER | FishingSpot | ETCETERIA_LOBSTER: ordinal 21; getFishSpriteId() 377, getIds() {3657}, getName() "Lobster", getWorldMapTooltip() "Lobster (Approv… |
QUEST_RUM_DEAL | FishingSpot | QUEST_RUM_DEAL: ordinal 22; getFishSpriteId() 6715, getIds() {635}, getName() "Sluglings", getWorldMapTooltip() "Rum deal (Quest)… |
QUEST_TAI_BWO_WANNAI_TRIO | FishingSpot | QUEST_TAI_BWO_WANNAI_TRIO: ordinal 23; getFishSpriteId() 3142, getIds() {4714}, getName() "Karambwan", getWorldMapTooltip() "Tai… |
QUEST_FISHING_CONTEST | FishingSpot | QUEST_FISHING_CONTEST: ordinal 24; getFishSpriteId() 337, getIds() {4079, 4080, 4081, 4082}, getName() "Giant carp", `getWorldMapTo… |
CIVITAS_ILLA_FORTIS_PARK | FishingSpot | CIVITAS_ILLA_FORTIS_PARK: ordinal 25; getFishSpriteId() 29325, getIds() {13329}, getName() "House Keys", getWorldMapTooltip() "Ho… |
SQUID | FishingSpot | SQUID: ordinal 26; getFishSpriteId() 31561, getIds() {15074, 15078, 15081, 15085}, getName() "Squid", getWorldMapTooltip() "Squid… |
| Method | Returns | Description |
|---|---|---|
FishingSpotClass.findSpot | FishingSpot? | The spot whose getIds() holds NPC id id, or nil. |
FishingSpotClass.valueOf | FishingSpot | valueOf(name): the constant named name; any other name is an error. |
FishingSpotClass.values | {FishingSpot} | Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it. |
namename: (FishingSpot) -> stringThe constant's name as declared.
ordinalordinal: (FishingSpot) -> numberThe constant's 0-based position in values().
toStringtoString: (FishingSpot) -> stringname(); tostring(c) answers the same.
compareTocompareTo: (FishingSpot, FishingSpot) -> numberThis ordinal less other's.
equalsequals: (FishingSpot, any) -> booleanWhether other is this constant. == answers the same.
getFishSpriteIdgetFishSpriteId: (FishingSpot) -> numberThis constant's getFishSpriteId() value, listed on each constant.
getIdsgetIds: (FishingSpot) -> {number}This constant's getIds() value, listed on each constant.
getNamegetName: (FishingSpot) -> stringThis constant's getName() value, listed on each constant.
getWorldMapTooltipgetWorldMapTooltip: (FishingSpot) -> stringThis constant's getWorldMapTooltip() value, listed on each constant.
valuesvalues: () -> {FishingSpot}Every constant in ordinal order, as a 1-based array: the same frozen array every values() call, so table.clone it before changing it.
valueOfvalueOf: (string) -> FishingSpotvalueOf(name): the constant named name; any other name is an error.
findSpotfindSpot: (number) -> FishingSpot?The spot whose getIds() holds NPC id id, or nil.
SHRIMPSHRIMP: FishingSpotSHRIMP: ordinal 0; getFishSpriteId() 317, getIds() {1514, 1517, 1518, 1521, 1523, 1524, 1525, 1528, 1530, 1544, 3913, 7155, 7459, 7462, 7467, 7469, 7947, 10513, 12778, 14038, 14040, 14041, 14524, 15066, 16338}, getName() "Shrimp, Anchovies, Sardine, Herring", getWorldMapTooltip() "Anchovies".
LOBSTERLOBSTER: FishingSpotLOBSTER: ordinal 1; getFishSpriteId() 377, getIds() {1510, 1519, 1522, 2146, 3914, 5820, 7199, 7460, 7465, 7470, 7946, 9173, 9174, 10515, 10635, 12777, 14039, 15070, 15071, 15075, 15076, 15079, 15084, 15086, 16340}, getName() "Lobster, Swordfish, Tuna", getWorldMapTooltip() "Lobster".
SHARKSHARK: FishingSpotSHARK: ordinal 2; getFishSpriteId() 383, getIds() {1511, 1520, 3419, 3915, 4476, 4477, 5233, 5234, 5821, 7200, 7461, 7466, 8525, 8526, 8527, 9171, 9172, 10514, 12775, 12776, 14037, 14523, 15067, 15068, 15069, 15077, 15080, 15082, 15083, 15087, 16339}, getName() "Shark, Bass", getWorldMapTooltip() "Shark".
SALMONSALMON: FishingSpotSALMON: ordinal 4; getFishSpriteId() 331, getIds() {394, 1506, 1507, 1508, 1509, 1513, 1515, 1516, 1526, 1527, 3417, 3418, 7463, 7464, 7468, 8524, 12774, 14036, 14525, 14526, 14527, 14528, 1512, 1529, 14521, 14522, 15072, 15073}, getName() "Salmon, Trout, Pike", getWorldMapTooltip() "Salmon".
BARB_FISHBARB_FISH: FishingSpotBARB_FISH: ordinal 6; getFishSpriteId() 11332, getIds() {1542, 7323}, getName() "Sturgeon, Salmon, Trout", getWorldMapTooltip() "Sturgeon, Salmon, Trout".
HARPOONFISHHARPOONFISH: FishingSpotHARPOONFISH: ordinal 9; getFishSpriteId() 25564, getIds() {10565, 10568, 10569}, getName() "Harpoonfish", getWorldMapTooltip() "Harpoonfish".
KARAMBWANKARAMBWAN: FishingSpotKARAMBWAN: ordinal 11; getFishSpriteId() 3142, getIds() {4712, 4713, 16341}, getName() "Karambwan", getWorldMapTooltip() "Karambwan".
KARAMBWANJIKARAMBWANJI: FishingSpotKARAMBWANJI: ordinal 12; getFishSpriteId() 3150, getIds() {4710}, getName() "Karambwanji, Shrimp", getWorldMapTooltip() "Karambwanji".
CAVE_EELCAVE_EEL: FishingSpotCAVE_EEL: ordinal 14; getFishSpriteId() 5001, getIds() {1497, 1498, 1499, 1500}, getName() "Frog spawn, Cave eel", getWorldMapTooltip() "Frog spawn, Cave eel".
SLIMY_EELSLIMY_EEL: FishingSpotSLIMY_EEL: ordinal 15; getFishSpriteId() 3379, getIds() {2653, 2654, 2655}, getName() "Slimy eel", getWorldMapTooltip() "Slimy eel".
COMMON_TENCHCOMMON_TENCH: FishingSpotCOMMON_TENCH: ordinal 17; getFishSpriteId() 22829, getIds() {8523}, getName() "Common tench, Bluegill, Greater siren, Mottled eel", getWorldMapTooltip() "Greater siren".
CAMDOZAAL_TETRACAMDOZAAL_TETRA: FishingSpotCAMDOZAAL_TETRA: ordinal 18; getFishSpriteId() 25666, getIds() {10686}, getName() "Guppy, Cavefish, Tetra, Catfish, Barronite shards, Barronite handle", getWorldMapTooltip() "Tetra".
CAMDOZAAL_CAVE_EELCAMDOZAAL_CAVE_EEL: FishingSpotCAMDOZAAL_CAVE_EEL: ordinal 19; getFishSpriteId() 5003, getIds() {10653}, getName() "Slimy eel, Cave eel", getWorldMapTooltip() "Cave eel".
ETCETERIA_LOBSTERETCETERIA_LOBSTER: FishingSpotETCETERIA_LOBSTER: ordinal 21; getFishSpriteId() 377, getIds() {3657}, getName() "Lobster", getWorldMapTooltip() "Lobster (Approval only)".
QUEST_RUM_DEALQUEST_RUM_DEAL: FishingSpotQUEST_RUM_DEAL: ordinal 22; getFishSpriteId() 6715, getIds() {635}, getName() "Sluglings", getWorldMapTooltip() "Rum deal (Quest)".
QUEST_TAI_BWO_WANNAI_TRIOQUEST_TAI_BWO_WANNAI_TRIO: FishingSpotQUEST_TAI_BWO_WANNAI_TRIO: ordinal 23; getFishSpriteId() 3142, getIds() {4714}, getName() "Karambwan", getWorldMapTooltip() "Tai Bwo Wannai Trio (Quest)".
QUEST_FISHING_CONTESTQUEST_FISHING_CONTEST: FishingSpotQUEST_FISHING_CONTEST: ordinal 24; getFishSpriteId() 337, getIds() {4079, 4080, 4081, 4082}, getName() "Giant carp", getWorldMapTooltip() "Fishing Contest (Quest)".
CIVITAS_ILLA_FORTIS_PARKCIVITAS_ILLA_FORTIS_PARK: FishingSpotCIVITAS_ILLA_FORTIS_PARK: ordinal 25; getFishSpriteId() 29325, getIds() {13329}, getName() "House Keys", getWorldMapTooltip() "House Keys".
SQUIDSQUID: FishingSpotSQUID: ordinal 26; getFishSpriteId() 31561, getIds() {15074, 15078, 15081, 15085}, getName() "Squid", getWorldMapTooltip() "Squid".