Wolvden - Storage

Put reused stuff in local storage for other use

Ten skrypt nie powinien być instalowany bezpośrednio. Jest to biblioteka dla innych skyptów do włączenia dyrektywą meta // @require https://update.greasyfork.org/scripts/585278/1865890/Wolvden%20-%20Storage.js

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

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);