cerniglj1/osrs-quest-tool

View on GitHub
lib/resources/quest/questData.js

Summary

Maintainability
F
2 mos
Test Coverage

File questData.js has 5627 lines of code (exceeds 250 allowed). Consider refactoring.
Open

export default {
  "A Soul's Bane": {
    miniquest: false,
    name: "A Soul's Bane",
    shortName: 'aSoulsBane',
Severity: Major
Found in lib/resources/quest/questData.js - About 2 wks to fix

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Spirits of the Elid': {
        miniquest: false,
        shortName: 'spiritsOfTheElid',
        name: 'Spirits of the Elid',
        url: 'https://oldschool.runescape.wiki/w/Spirits_of_the_Elid',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 7 hrs to fix
    lib/resources/quest/questData.js on lines 5031..5083

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 191.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Slug Menace': {
        miniquest: false,
        shortName: 'theSlugMenace',
        name: 'The Slug Menace',
        url: 'https://oldschool.runescape.wiki/w/The_Slug_Menace',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 7 hrs to fix
    lib/resources/quest/questData.js on lines 3925..3977

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 191.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Elemental Workshop I': {
        miniquest: false,
        name: 'Elemental Workshop I',
        shortName: 'elementalWorkshopI',
        url: 'https://oldschool.runescape.wiki/w/Elemental_Workshop_I',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 6 hrs to fix
    lib/resources/quest/questData.js on lines 3667..3710
    lib/resources/quest/questData.js on lines 4287..4330

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 162.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      "Shades of Mort'ton": {
        miniquest: false,
        shortName: 'shadesOfMortton',
        name: "Shades of Mort'ton",
        url: 'https://oldschool.runescape.wiki/w/Shades_of_Mort%27ton',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 6 hrs to fix
    lib/resources/quest/questData.js on lines 1191..1234
    lib/resources/quest/questData.js on lines 4287..4330

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 162.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'The Dig Site': {
        miniquest: false,
        shortName: 'theDigSite',
        name: 'The Dig Site',
        url: 'https://oldschool.runescape.wiki/w/The_Dig_Site',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 6 hrs to fix
    lib/resources/quest/questData.js on lines 1191..1234
    lib/resources/quest/questData.js on lines 3667..3710

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 162.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Fremennik Isles': {
        miniquest: false,
        shortName: 'theFremennikIsles',
        name: 'The Fremennik Isles',
        url: 'https://oldschool.runescape.wiki/w/The_Fremennik_Isles',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 6 hrs to fix
    lib/resources/quest/questData.js on lines 3493..3535

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 157.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Royal Trouble': {
        miniquest: false,
        shortName: 'royalTrouble',
        name: 'Royal Trouble',
        url: 'https://oldschool.runescape.wiki/w/Royal_Trouble',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 6 hrs to fix
    lib/resources/quest/questData.js on lines 4499..4541

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 157.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Lost Tribe': {
        miniquest: false,
        shortName: 'theLostTribe',
        name: 'The Lost Tribe',
        url: 'https://oldschool.runescape.wiki/w/The_Lost_Tribe',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 3792..3831

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 150.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Shilo Village': {
        miniquest: false,
        shortName: 'shiloVillage',
        name: 'Shilo Village',
        url: 'https://oldschool.runescape.wiki/w/Shilo_Village',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 4864..4903

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 150.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      "King's Ransom": {
        miniquest: false,
        shortName: 'kingsRansom',
        name: "King's Ransom",
        url: 'https://oldschool.runescape.wiki/w/King%27s_Ransom',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 197..240

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 149.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Another Slice of H.A.M.': {
        miniquest: false,
        name: 'Another Slice of H.A.M.',
        shortName: 'anotherSliceOfHAM',
        url: 'https://oldschool.runescape.wiki/w/Another_Slice_of_H.A.M.',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 2263..2306

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 149.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      "My Arm's Big Adventure": {
        miniquest: false,
        shortName: 'myArmsBigAdventure',
        name: "My Arm's Big Adventure",
        url: 'https://oldschool.runescape.wiki/w/My_Arm%27s_Big_Adventure',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 2767..2805

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 148.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      "Mourning's End Part I": {
        miniquest: false,
        shortName: 'mourningsEndPartI',
        name: "Mourning's End Part I",
        url: 'https://oldschool.runescape.wiki/w/Mourning%27s_Ends_Part_I',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 2865..2903

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 148.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Elemental Workshop II': {
        miniquest: false,
        name: 'Elemental Workshop II',
        shortName: 'elementalWorkshopII',
        url: 'https://oldschool.runescape.wiki/w/Elemental_Workshop_II',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 4165..4203

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 145.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Temple of Ikov': {
        miniquest: false,
        shortName: 'templeOfIkov',
        name: 'Temple of Ikov',
        url: 'https://oldschool.runescape.wiki/w/Temple_of_Ikov',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 1235..1273

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 145.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Grand Tree': {
        miniquest: false,
        shortName: 'theGrandTree',
        name: 'The Grand Tree',
        url: 'https://oldschool.runescape.wiki/w/The_Grand_Tree',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 2041..2078

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 140.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Horror from the Deep': {
        miniquest: false,
        shortName: 'horrorFromTheDeep',
        name: 'Horror from the Deep',
        url: 'https://oldschool.runescape.wiki/w/Horror_from_the_Deep',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 5 hrs to fix
    lib/resources/quest/questData.js on lines 4716..4753

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 140.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Rag and Bone Man II': {
        miniquest: false,
        shortName: 'ragAndBoneManII',
        name: 'Rag and Bone Man II',
        url: 'https://oldschool.runescape.wiki/w/Rag_and_Bone_Man_II',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 1873..1907

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 133.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Haunted Mine': {
        miniquest: false,
        shortName: 'hauntedMine',
        name: 'Haunted Mine',
        url: 'https://oldschool.runescape.wiki/w/Haunted_Mine',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 3161..3195

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 133.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      "Mourning's End Part II": {
        miniquest: false,
        shortName: 'mourningsEndPartII',
        name: "Mourning's End Part II",
        url: 'https://oldschool.runescape.wiki/w/Mourning%27s_Ends_Part_II',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2972..3006

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 133.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      "Olaf's Quest": {
        miniquest: false,
        shortName: 'olafsQuest',
        name: "Olaf's Quest",
        url: 'https://oldschool.runescape.wiki/w/Olaf%27s_Quest',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2806..2840

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 133.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Underground Pass': {
        miniquest: false,
        shortName: 'undergroundPass',
        name: 'Underground Pass',
        url: 'https://oldschool.runescape.wiki/w/Underground_Pass',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 4204..4237

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 129.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Ascent of Arceuus': {
        miniquest: false,
        shortName: 'theAscentOfArceuus',
        name: 'The Ascent of Arceuus',
        url: 'https://oldschool.runescape.wiki/w/The_Ascent_of_Arceuus',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 5299..5332

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 129.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Mountain Daughter': {
        miniquest: false,
        shortName: 'mountainDaughter',
        name: 'Mountain Daughter',
        url: 'https://oldschool.runescape.wiki/w/Mountain_Daughter',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2007..2040

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 128.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Holy Grail': {
        miniquest: false,
        shortName: 'holyGrail',
        name: 'Holy Grail',
        url: 'https://oldschool.runescape.wiki/w/Holy_Grail',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2733..2766

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 128.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'construction',
              level: 5,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 4979..5015

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 125.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'woodcutting',
              level: 62,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 689..725

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 125.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Tourist Trap': {
        miniquest: false,
        shortName: 'theTouristTrap',
        name: 'The Tourist Trap',
        url: 'https://oldschool.runescape.wiki/w/The_Tourist_Trap',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2384..2413

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Lost City': {
        miniquest: false,
        shortName: 'lostCity',
        name: 'Lost City',
        url: 'https://oldschool.runescape.wiki/w/Lost_City',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 5084..5113

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 121.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Depths of Despair': {
        miniquest: false,
        shortName: 'theDepthsOfDespair',
        name: 'The Depths of Despair',
        url: 'https://oldschool.runescape.wiki/w/The_Depths_of_Despair',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 4904..4933

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 117.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'The Queen of Thieves': {
        miniquest: false,
        shortName: 'theQueenOfThieves',
        name: 'The Queen of Thieves',
        url: 'https://oldschool.runescape.wiki/w/The_Queen_of_Thieves',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 4257..4286

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 117.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      'Observatory Quest': {
        miniquest: false,
        shortName: 'observatoryQuest',
        name: 'Observatory Quest',
        url: 'https://oldschool.runescape.wiki/w/Observatory_Quest',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 934..963
    lib/resources/quest/questData.js on lines 1161..1190
    lib/resources/quest/questData.js on lines 3613..3642
    lib/resources/quest/questData.js on lines 4834..4863
    lib/resources/quest/questData.js on lines 5216..5245

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Jungle Potion': {
        miniquest: false,
        shortName: 'junglePotion',
        name: 'Jungle Potion',
        url: 'https://oldschool.runescape.wiki/w/Jungle_Potion',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 1571..1600
    lib/resources/quest/questData.js on lines 4378..4407

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Fishing Contest': {
        miniquest: false,
        name: 'Fishing Contest',
        shortName: 'fishingContest',
        url: 'https://oldschool.runescape.wiki/w/Fishing_Contest',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 2233..2262
    lib/resources/quest/questData.js on lines 4378..4407

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      "The Knight's Sword": {
        miniquest: false,
        shortName: 'theKnightsSword',
        name: "The Knight's Sword",
        url: 'https://oldschool.runescape.wiki/w/The_Knight%27s_Sword',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 934..963
    lib/resources/quest/questData.js on lines 1161..1190
    lib/resources/quest/questData.js on lines 2942..2971
    lib/resources/quest/questData.js on lines 3613..3642
    lib/resources/quest/questData.js on lines 5216..5245

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      "Doric's Quest": {
        miniquest: false,
        name: "Doric's Quest",
        shortName: 'doricsQuest',
        url: 'https://oldschool.runescape.wiki/w/Doric%27s_Quest',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 1161..1190
    lib/resources/quest/questData.js on lines 2942..2971
    lib/resources/quest/questData.js on lines 3613..3642
    lib/resources/quest/questData.js on lines 4834..4863
    lib/resources/quest/questData.js on lines 5216..5245

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      "Eagles' Peak": {
        miniquest: false,
        name: "Eagles' Peak",
        shortName: 'eaglesPeak',
        url: 'https://oldschool.runescape.wiki/w/Eagles%27_Peak',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 934..963
    lib/resources/quest/questData.js on lines 2942..2971
    lib/resources/quest/questData.js on lines 3613..3642
    lib/resources/quest/questData.js on lines 4834..4863
    lib/resources/quest/questData.js on lines 5216..5245

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      'Scorpion Catcher': {
        miniquest: false,
        shortName: 'scorpionCatcher',
        name: 'Scorpion Catcher',
        url: 'https://oldschool.runescape.wiki/w/Scorpion_Catcher',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 934..963
    lib/resources/quest/questData.js on lines 1161..1190
    lib/resources/quest/questData.js on lines 2942..2971
    lib/resources/quest/questData.js on lines 4834..4863
    lib/resources/quest/questData.js on lines 5216..5245

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'The Feud': {
        miniquest: false,
        shortName: 'theFeud',
        name: 'The Feud',
        url: 'https://oldschool.runescape.wiki/w/The_Feud',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 1571..1600
    lib/resources/quest/questData.js on lines 2233..2262

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 6 locations. Consider refactoring.
    Open

      'Tribal Totem': {
        miniquest: false,
        shortName: 'tribalTotem',
        name: 'Tribal Totem',
        url: 'https://oldschool.runescape.wiki/w/Tribal_Totem',
    Severity: Major
    Found in lib/resources/quest/questData.js and 5 other locations - About 4 hrs to fix
    lib/resources/quest/questData.js on lines 934..963
    lib/resources/quest/questData.js on lines 1161..1190
    lib/resources/quest/questData.js on lines 2942..2971
    lib/resources/quest/questData.js on lines 3613..3642
    lib/resources/quest/questData.js on lines 4834..4863

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 116.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'The Forsaken Tower': {
        miniquest: false,
        shortName: 'theForsakenTower',
        name: 'The Forsaken Tower',
        url: 'https://oldschool.runescape.wiki/w/The_Forsaken_Tower',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 1543..1570
    lib/resources/quest/questData.js on lines 5437..5464

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'What Lies Below': {
        miniquest: false,
        shortName: 'whatLiesBelow',
        name: 'What Lies Below',
        url: 'https://oldschool.runescape.wiki/w/What_Lies_Below',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 3133..3160
    lib/resources/quest/questData.js on lines 4806..4833

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Rag and Bone Man': {
        miniquest: false,
        shortName: 'ragAndBoneManI',
        name: 'Rag and Bone Man',
        url: 'https://oldschool.runescape.wiki/w/Rag_and_Bone_Man',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 4806..4833
    lib/resources/quest/questData.js on lines 5465..5492

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'The Hand in the Sand': {
        miniquest: false,
        shortName: 'theHandInTheSand',
        name: 'The Hand in the Sand',
        url: 'https://oldschool.runescape.wiki/w/The_Hand_in_the_Sand',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 3133..3160
    lib/resources/quest/questData.js on lines 5465..5492

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Waterfall Quest': {
        miniquest: false,
        shortName: 'waterfallQuest',
        name: 'Waterfall Quest',
        url: 'https://oldschool.runescape.wiki/w/Waterfall_Quest',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 1543..1570
    lib/resources/quest/questData.js on lines 4408..4435

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

      'Fight Arena': {
        miniquest: false,
        name: 'Fight Arena',
        shortName: 'fightArena',
        url: 'https://oldschool.runescape.wiki/w/Fight_Arena',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 4408..4435
    lib/resources/quest/questData.js on lines 5437..5464

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 111.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'crafting',
              level: 61,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 2676..2707
    lib/resources/quest/questData.js on lines 3989..4020
    lib/resources/quest/questData.js on lines 4612..4643
    lib/resources/quest/questData.js on lines 5575..5606

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 108.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'magic',
              level: 66,
              boostable: true,
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 2429..2460
    lib/resources/quest/questData.js on lines 2676..2707
    lib/resources/quest/questData.js on lines 4612..4643
    lib/resources/quest/questData.js on lines 5575..5606

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 108.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'smithing',
              level: 4,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 2429..2460
    lib/resources/quest/questData.js on lines 2676..2707
    lib/resources/quest/questData.js on lines 3989..4020
    lib/resources/quest/questData.js on lines 4612..4643

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 108.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'slayer',
              level: 69,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 2429..2460
    lib/resources/quest/questData.js on lines 3989..4020
    lib/resources/quest/questData.js on lines 4612..4643
    lib/resources/quest/questData.js on lines 5575..5606

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 108.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

          skills: [
            {
              skill: 'crafting',
              level: 12,
              boostable: false,
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 2429..2460
    lib/resources/quest/questData.js on lines 2676..2707
    lib/resources/quest/questData.js on lines 3989..4020
    lib/resources/quest/questData.js on lines 5575..5606

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 108.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

        requirements: {
          quests: [],
          skills: [
            {
              skill: 'farming',
    Severity: Major
    Found in lib/resources/quest/questData.js and 3 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 546..575
    lib/resources/quest/questData.js on lines 1282..1311
    lib/resources/quest/questData.js on lines 5395..5424

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

        requirements: {
          quests: [],
          skills: [
            {
              skill: 'hunter',
    Severity: Major
    Found in lib/resources/quest/questData.js and 3 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 1282..1311
    lib/resources/quest/questData.js on lines 1811..1840
    lib/resources/quest/questData.js on lines 5395..5424

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

        requirements: {
          quests: [],
          skills: [
            {
              skill: 'crafting',
    Severity: Major
    Found in lib/resources/quest/questData.js and 3 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 546..575
    lib/resources/quest/questData.js on lines 1811..1840
    lib/resources/quest/questData.js on lines 5395..5424

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 4 locations. Consider refactoring.
    Open

        requirements: {
          quests: [],
          skills: [
            {
              skill: 'magic',
    Severity: Major
    Found in lib/resources/quest/questData.js and 3 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 546..575
    lib/resources/quest/questData.js on lines 1282..1311
    lib/resources/quest/questData.js on lines 1811..1840

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 103.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Contact!': {
        miniquest: false,
        name: 'Contact!',
        shortName: 'contact',
        url: 'https://oldschool.runescape.wiki/w/Contact!',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 3469..3492

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 101.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Roving Elves': {
        miniquest: false,
        shortName: 'rovingElves',
        name: 'Roving Elves',
        url: 'https://oldschool.runescape.wiki/w/Roving_Elves',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 596..619

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 101.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Goblin Diplomacy': {
        miniquest: false,
        shortName: 'goblinDiplomacy',
        name: 'Goblin Diplomacy',
        url: 'https://oldschool.runescape.wiki/w/Goblin_Diplomacy',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Misthalin Mystery': {
        miniquest: false,
        shortName: 'misthalinMystery',
        name: 'Misthalin Mystery',
        url: 'https://oldschool.runescape.wiki/w/Misthalin_Mystery',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Plague City': {
        miniquest: false,
        shortName: 'plagueCity',
        name: 'Plague City',
        url: 'https://oldschool.runescape.wiki/w/Plague_City',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 3643..3666
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Hazeel Cult': {
        miniquest: false,
        shortName: 'hazeelCult',
        name: 'Hazeel Cult',
        url: 'https://oldschool.runescape.wiki/w/Hazeel_Cult',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 3643..3666
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Imp Catcher': {
        miniquest: false,
        shortName: 'impCatcher',
        name: 'Imp Catcher',
        url: 'https://oldschool.runescape.wiki/w/Imp_Catcher',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      "Witch's Potion": {
        miniquest: false,
        shortName: 'witchsPotion',
        name: "Witch's Potion",
        url: 'https://oldschool.runescape.wiki/w/Witch%27s_Potion',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Druidic Ritual': {
        miniquest: false,
        name: 'Druidic Ritual',
        shortName: 'druidicRitual',
        url: 'https://oldschool.runescape.wiki/w/Druidic_Ritual',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      "Gertrude's Cat": {
        miniquest: false,
        shortName: 'gertrudesCat',
        name: "Gertrude's Cat",
        url: 'https://oldschool.runescape.wiki/w/Gertrude%27s_Cat',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      "Monk's Friend": {
        miniquest: false,
        shortName: 'monksFriend',
        name: "Monk's Friend",
        url: 'https://oldschool.runescape.wiki/w/Monk%27s_Friend',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Sheep Shearer': {
        miniquest: false,
        shortName: 'sheepShearer',
        name: 'Sheep Shearer',
        url: 'https://oldschool.runescape.wiki/w/Sheep_Shearer',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      "Witch's House": {
        miniquest: false,
        shortName: 'witchsHouse',
        name: "Witch's House",
        url: 'https://oldschool.runescape.wiki/w/Witch%27s_House',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Murder Mystery': {
        miniquest: false,
        shortName: 'murderMystery',
        name: 'Murder Mystery',
        url: 'https://oldschool.runescape.wiki/w/Murder_Mystery',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 3643..3666
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Dwarf Cannon': {
        miniquest: false,
        name: 'Dwarf Cannon',
        shortName: 'dwarfCannon',
        url: 'https://oldschool.runescape.wiki/w/Dwarf_Cannon',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Death Plateau': {
        miniquest: false,
        name: 'Death Plateau',
        shortName: 'deathPlateau',
        url: 'https://oldschool.runescape.wiki/w/Death_Plateau',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 3643..3666
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Priest in Peril': {
        miniquest: false,
        shortName: 'priestInPeril',
        name: 'Priest in Peril',
        url: 'https://oldschool.runescape.wiki/w/Priest_in_Peril',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3643..3666
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'The Restless Ghost': {
        miniquest: false,
        shortName: 'theRestlessGhost',
        name: 'The Restless Ghost',
        url: 'https://oldschool.runescape.wiki/w/The_Restless_Ghost',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Vampyre Slayer': {
        miniquest: false,
        shortName: 'vampyreSlayer',
        name: 'Vampyre Slayer',
        url: 'https://oldschool.runescape.wiki/w/Vampyre_Slayer',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Tree Gnome Village': {
        miniquest: false,
        shortName: 'treeGnomeVillage',
        name: 'Tree Gnome Village',
        url: 'https://oldschool.runescape.wiki/w/Tree_Gnome_Village',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 3643..3666

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      "Cook's Assistant": {
        miniquest: false,
        name: "Cook's Assistant",
        shortName: 'cooksAssistant',
        url: 'https://oldschool.runescape.wiki/w/Cook%27s_Assistant',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1755..1778
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Sea Slug': {
        miniquest: false,
        shortName: 'seaSlug',
        name: 'Sea Slug',
        url: 'https://oldschool.runescape.wiki/w/Sea_Slug',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 747..770
    lib/resources/quest/questData.js on lines 1908..1931
    lib/resources/quest/questData.js on lines 2841..2864
    lib/resources/quest/questData.js on lines 3066..3089
    lib/resources/quest/questData.js on lines 3090..3113
    lib/resources/quest/questData.js on lines 5192..5215

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 14 locations. Consider refactoring.
    Open

      'Ghosts Ahoy': {
        miniquest: false,
        shortName: 'ghostsAhoy',
        name: 'Ghosts Ahoy',
        url: 'https://oldschool.runescape.wiki/w/Ghosts_Ahoy',
    Severity: Major
    Found in lib/resources/quest/questData.js and 13 other locations - About 3 hrs to fix
    lib/resources/quest/questData.js on lines 620..643
    lib/resources/quest/questData.js on lines 1078..1101
    lib/resources/quest/questData.js on lines 1102..1125
    lib/resources/quest/questData.js on lines 1670..1693
    lib/resources/quest/questData.js on lines 1779..1802
    lib/resources/quest/questData.js on lines 2111..2134
    lib/resources/quest/questData.js on lines 2587..2610
    lib/resources/quest/questData.js on lines 2611..2634
    lib/resources/quest/questData.js on lines 3749..3772
    lib/resources/quest/questData.js on lines 4934..4957
    lib/resources/quest/questData.js on lines 5333..5356
    lib/resources/quest/questData.js on lines 5493..5516
    lib/resources/quest/questData.js on lines 5517..5540

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 99.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'crafting',
              amount: 2500,
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 1841..1869

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 89.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'agility',
              amount: 6000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 4645..4673

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 89.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Bone Voyage': {
        miniquest: false,
        name: 'Bone Voyage',
        shortName: 'boneVoyage',
        url: 'https://oldschool.runescape.wiki/w/Bone_Voyage',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 1389..1407

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

      'Enter the Abyss': {
        miniquest: true,
        name: 'Enter the Abyss',
        shortName: 'enterTheAbyss',
        url: 'https://oldschool.runescape.wiki/w/Enter_the_Abyss',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 428..446

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 88.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Demon Slayer': {
        miniquest: false,
        name: 'Demon Slayer',
        shortName: 'demonSlayer',
        url: 'https://oldschool.runescape.wiki/w/Demon_Slayer',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 3594..3612
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Clock Tower': {
        miniquest: false,
        name: 'Clock Tower',
        shortName: 'clockTower',
        url: 'https://oldschool.runescape.wiki/w/Clock_Tower',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 3594..3612
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'Shield of Arrav': {
        miniquest: false,
        shortName: 'shieldOfArrav',
        name: 'Shield of Arrav',
        url: 'https://oldschool.runescape.wiki/w/Shield_of_Arrav',
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 500..518
    lib/resources/quest/questData.js on lines 2568..2586
    lib/resources/quest/questData.js on lines 3047..3065
    lib/resources/quest/questData.js on lines 3730..3748

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Rune Mysteries': {
        miniquest: false,
        shortName: 'runeMysteries',
        name: 'Rune Mysteries',
        url: 'https://oldschool.runescape.wiki/w/Rune_Mysteries',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      "Merlin's Crystal": {
        miniquest: false,
        shortName: 'merlinsCrystal',
        name: "Merlin's Crystal",
        url: 'https://oldschool.runescape.wiki/w/Merlin%27s_Crystal',
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 500..518
    lib/resources/quest/questData.js on lines 3047..3065
    lib/resources/quest/questData.js on lines 3730..3748
    lib/resources/quest/questData.js on lines 3773..3791

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      "Pirate's Treasure": {
        miniquest: false,
        shortName: 'piratesTreasure',
        name: "Pirate's Treasure",
        url: 'https://oldschool.runescape.wiki/w/Pirate%27s_Treasure',
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 500..518
    lib/resources/quest/questData.js on lines 2568..2586
    lib/resources/quest/questData.js on lines 3730..3748
    lib/resources/quest/questData.js on lines 3773..3791

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Ernest the Chicken': {
        miniquest: false,
        name: 'Ernest the Chicken',
        shortName: 'ernestTheChicken',
        url: 'https://oldschool.runescape.wiki/w/Ernest_the_Chicken',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 3594..3612
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Prince Ali Rescue': {
        miniquest: false,
        shortName: 'princeAliRescue',
        name: 'Prince Ali Rescue',
        url: 'https://oldschool.runescape.wiki/w/Prince_Ali_Rescue',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 3594..3612
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'Client of Kourend': {
        miniquest: false,
        name: 'Client of Kourend',
        shortName: 'clientOfKourend',
        url: 'https://oldschool.runescape.wiki/w/Client_of_Kourend',
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 2568..2586
    lib/resources/quest/questData.js on lines 3047..3065
    lib/resources/quest/questData.js on lines 3730..3748
    lib/resources/quest/questData.js on lines 3773..3791

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'Sheep Herder': {
        miniquest: false,
        shortName: 'sheepHerder',
        name: 'Sheep Herder',
        url: 'https://oldschool.runescape.wiki/w/Sheep_Herder',
    Severity: Major
    Found in lib/resources/quest/questData.js and 4 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 500..518
    lib/resources/quest/questData.js on lines 2568..2586
    lib/resources/quest/questData.js on lines 3047..3065
    lib/resources/quest/questData.js on lines 3773..3791

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'Romeo & Juliet': {
        miniquest: false,
        shortName: 'romeoJuliet',
        name: 'Romeo & Juliet',
        url: 'https://oldschool.runescape.wiki/w/Romeo_%26_Juliet',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3594..3612
    lib/resources/quest/questData.js on lines 4238..4256

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 7 locations. Consider refactoring.
    Open

      'The Corsair Curse': {
        miniquest: false,
        shortName: 'theCorsairCurse',
        name: 'The Corsair Curse',
        url: 'https://oldschool.runescape.wiki/w/The_Corsair_Curse',
    Severity: Major
    Found in lib/resources/quest/questData.js and 6 other locations - About 2 hrs to fix
    lib/resources/quest/questData.js on lines 519..537
    lib/resources/quest/questData.js on lines 810..828
    lib/resources/quest/questData.js on lines 1408..1426
    lib/resources/quest/questData.js on lines 3114..3132
    lib/resources/quest/questData.js on lines 3450..3468
    lib/resources/quest/questData.js on lines 3594..3612

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 87.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        requirements: {
          questPoints: 43,
          quests: [],
          skills: [
            {
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 1 hr to fix
    lib/resources/quest/questData.js on lines 1344..1364

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 74.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        requirements: {
          questPoints: 20,
          quests: [],
          skills: [
            {
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 1 hr to fix
    lib/resources/quest/questData.js on lines 4132..4152

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 74.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['In Search of the Myreque'],
          skills: [
            {
              skill: 'crafting',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 1 hr to fix
    lib/resources/quest/questData.js on lines 1467..1486

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['Fairytale I - Growing Pains'],
          skills: [
            {
              skill: 'thieving',
    Severity: Major
    Found in lib/resources/quest/questData.js and 1 other location - About 1 hr to fix
    lib/resources/quest/questData.js on lines 2143..2162

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 70.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'crafting',
              amount: 2000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'agility',
              amount: 20000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'crafting',
              amount: 1000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'agility',
              amount: 15000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'attack',
              amount: 2000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'crafting',
              amount: 7000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'agility',
              amount: 10000,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'attack',
              amount: 2500,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4354..4374

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 9 locations. Consider refactoring.
    Open

        rewards: {
          experience: [
            {
              skill: 'construction',
              amount: 250,
    Severity: Major
    Found in lib/resources/quest/questData.js and 8 other locations - About 1 hr to fix
    lib/resources/quest/questData.js on lines 173..193
    lib/resources/quest/questData.js on lines 1020..1040
    lib/resources/quest/questData.js on lines 1312..1332
    lib/resources/quest/questData.js on lines 1365..1385
    lib/resources/quest/questData.js on lines 2163..2183
    lib/resources/quest/questData.js on lines 2516..2536
    lib/resources/quest/questData.js on lines 2709..2729
    lib/resources/quest/questData.js on lines 4070..4090

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 65.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['Priest in Peril', 'The Restless Ghost'],
          skills: [
            {
              skill: 'crafting',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 1134..1148
    lib/resources/quest/questData.js on lines 1609..1623

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['The Giant Dwarf', 'Fishing Contest'],
          skills: [
            {
              skill: 'cooking',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 652..666
    lib/resources/quest/questData.js on lines 1134..1148

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['Druidic Ritual', 'Troll Stronghold'],
          skills: [
            {
              skill: 'herblore',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 652..666
    lib/resources/quest/questData.js on lines 1609..1623

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 54.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['The Lost Tribe'],
          skills: [
            {
              skill: 'agility',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 3423..3437
    lib/resources/quest/questData.js on lines 4102..4116

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 53.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['Client of Kourend'],
          skills: [
            {
              skill: 'strength',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 779..793
    lib/resources/quest/questData.js on lines 3423..3437

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 53.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 3 locations. Consider refactoring.
    Open

        requirements: {
          quests: ['Underground Pass'],
          skills: [
            {
              skill: 'agility',
    Severity: Major
    Found in lib/resources/quest/questData.js and 2 other locations - About 55 mins to fix
    lib/resources/quest/questData.js on lines 779..793
    lib/resources/quest/questData.js on lines 4102..4116

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 53.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status