Wolvden - Storage

Put reused stuff in local storage for other use

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.greasyfork.org/scripts/585278/1865890/Wolvden%20-%20Storage.js

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

Advertisement:

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

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