Wolvden - Storage

Put reused stuff in local storage for other use

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/585278/1865890/Wolvden%20-%20Storage.js

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

You will need to install an extension such as Tampermonkey to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

Advertisement:

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

Advertisement:

// ==UserScript==
// @name         Wolvden - Storage
// @namespace    https://greasyfork.org/users/817374
// @version      2026-07-02
// @description  Put reused stuff in local storage for other use
// @author       mandanarchi
// @match        https://www.wolvden.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=wolvden.com
// @grant        none
// @license      MIT
// ==/UserScript==


////////// COMBO BASES //////////

const STORAGE_COMBO_BASES = 'wolfComboBases';

let comboBases = {
    'Arthia':        {'combine': ['Artemis',    'Cynthia'],   'condition': 'Night' },
    'Diaelum':       {'combine': ['Caelum',     'Diana'],     'condition': 'Night' },
    'Glownoise':     {'combine': ['Airglow',    'Turquoise'], 'condition': 'Night' },
    'Moonloss':      {'combine': ['Losna',      'Moonlight'], 'condition': 'Night' },
    'Selunia':       {'combine': ['Luna',       'Selene'],    'condition': 'Night' },

    'Acid':          {'combine': ['Arkose',     'Rain']},
    'Biochar':       {'combine': ['Nightshade', 'Sphalerite']},
    'Collagen':      {'combine': ['Antler',     'Tide']},
    'Crayfish':      {'combine': ['Auburn',     'Denim']},
    'Crocus':        {'combine': ['Malachite',  'Saffron']},
    'Cupcake':       {'combine': ['Lavender',   'Rime']},
    'Febris':        {'combine': ['Isabel',     'Vapor']},
    'Fulica':        {'combine': ['Coot',       'Lupin']},
    'Giallo Antico': {'combine': ['Marble',     'Xanthic']},
    'Guilder':       {'combine': ['Blonde',     'Doubloon']},
    'Ruby Cocoa':    {'combine': ['Cocoa',      'Sarder']},
    'Rusticle':      {'combine': ['Acanthite',  'Corrosion']},
    'Sap':           {'combine': ['Obsidian',   'Rufous']},
    'Saprolite':     {'combine': ['Bedrock',    'Sepia']},
    'Seed':          {'combine': ['Melchior',   'Peach']},
    'Silica':        {'combine': ['Greisen',    'Grossular']},
    'Smoked Salt':   {'combine': ['Jacinthe',   'Salt']},
    'Steel Blue':    {'combine': ['Maltese',    'Stele']},
};

let comboBaseStorage = localStorage.getItem(STORAGE_COMBO_BASES);

if (comboBaseStorage) {
    comboBaseStorage = JSON.parse(comboBaseStorage);
} else {
    comboBaseStorage = comboBases;
    localStorage.setItem(STORAGE_COMBO_BASES, JSON.stringify(comboBaseStorage));
}


////////// PERSONALITIES //////////

const STORAGE_PERSONALITIES = 'wolfPersonalities';

let personalities = {
    'aggressive': ['Arrogant', 'Bossy', 'Combative', 'Conceited', 'Impulsive', 'Malicious', 'Obnoxious', 'Sarcastic', 'Selfish', 'Vulgar'],
    'stoic': ['Aloof', 'Anxious', 'Dishonest', 'Independent', 'Neutral', 'Pessimistic', 'Quiet', 'Sneaky', 'Sullen', 'Unfriendly'],
    'friendly': ['Adventurous', 'Amiable', 'Fair', 'Helpful', 'Humble', 'Lazy', 'Observant', 'Optimistic', 'Scatterbrained', 'Sociable'],
    'romantic': ['Capable', 'Charming', 'Confident', 'Dedicated', 'Dutiful', 'Imaginative', 'Keen', 'Precise', 'Reliable', 'Trusting']
};

let personalityStorage = localStorage.getItem(STORAGE_PERSONALITIES);

if (personalityStorage) {
    personalityStorage = JSON.parse(personalityStorage);
} else {
    personalityStorage = personalities;
    localStorage.setItem(STORAGE_PERSONALITIES, JSON.stringify(personalityStorage));
}

console.log(personalityStorage);