gang-values-osef

Values

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

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         gang-values-osef
// @namespace    ganghelpervalues
// @version      1.6.9
// @description  Values
// @author       JohnnyBGoode
// @grant        none
// ==/UserScript==

//Get minimum price
var priceIndex = {
	"1": 537600,
	"100": 268800,
	"101": 268800,
	"102": 67200,
	"103": 67200,
	"104": 1075200,
	"105": 200200,
	"107": 1075200,
	"109": 84000,
	"110": 67200,
	"111": 67200,
	"112": 84000,
	"113": 67200,
	"114": 67200,
	"115": 67200,
	"116": 67200,
	"117": 1075200,
	"118": 1075200,
	"119": 1075200,
	"12": 67200,
	"120": 67200,
	"124": 135000,
	"13": 2150400,
	"14": 135000,
	"15": 135000,
	"16": 67200,
	"17": 84000,
	"2": 537600,
	"21": 134400,
	"22": 33600,
	"23": 33600,
	"24": 33600,
	"25": 134400,
	"26": 268800,
	"27": 84000,
	"28": 268800,
	"29": 67200,
	"3": 268800,
	"30": 67200,
	"31": 84000,
	"32": 67200,
	"33": 268800,
	"34": 84000,
	"36": 200200,
	"4": 268800,
	"5": 1075200,
	"6": 84000,
	"7": 67200,
	"8": 84000,
	"9": 84000,
	"94": 84000,
	"95": 84000,
	"96": 33600,
	"97": 1000,
	"98": 537600,
	"99": 67200
};

//Get price per categ
// Remember to update these values frequently
// $("div#ancri table tr").each(function(index, element) {console.log("\"" + $(this).find('td:first').text() + "\":" + $(this).find('td:nth-child(3)').text().slice(0, -1)+ ",");});
var pricePerCateg = {
	"104": 68.9,
	"118": 59,
	"119": 45.5,
	"1": 31.8,
	"107": 26.4,
	"2": 24.1,
	"13": 15.7,
	"3": 13,
	"98": 10.7,
	"117": 10.5,
	"101": 9.4,
	"4": 9.1,
	"26": 7.7,
	"100": 7.4,
	"33": 6.7,
	"8": 5.7,
	"9": 5.3,
	"31": 5.2,
	"5": 4.6,
	"28": 4.1,
	"94": 3.5,
	"122": 3.3,
	"36": 2.9,
	"112": 2.5,
	"95": 2,
	"25": 1.9,
	"34": 1.7,
	"27": 1.7,
	"105": 1.7,
	"115": 1.7,
	"111": 1.5,
	"15": 1.4,
	"17": 1.2,
	"12": 1.1,
	"6": 1.1,
	"109": 1.1,
	"120": 1.1,
	"123": 1,
	"32": 0.9,
	"30": 0.9,
	"7": 0.9,
	"102": 0.8,
	"113": 0.8,
	"114": 0.8,
	"124": 0.5,
	"110": 0.4,
	"14": 0.3,
	"16": 0.3,
	"21": 0.3,
	"99": 0.3,
	"29": 0.2,
	"103": 0.2,
	"24": 0.1,
	"22": 0.1,
	"23": 0.1,
	"96": 0.1,
	"116": 0.1,
	"97": 0.0
};