proper colors
This commit is contained in:
parent
681c69eda7
commit
dd10f48005
18
ranks.lua
18
ranks.lua
@ -1,13 +1,13 @@
|
||||
|
||||
local prefixes = {
|
||||
{name="Cobble", icon="default_cobble.png", base_xp=0, xp_modifier=100}, -- 0 - 1k
|
||||
{name="Stone", icon="default_stone.png", base_xp=2000, xp_modifier=200}, -- 2k - 4k
|
||||
{name="Coal", icon="default_coalblock.png", base_xp=5000, xp_modifier=500}, -- 5k - 10k
|
||||
{name="Iron", icon="default_steelblock.png", base_xp=20000, xp_modifier=6000}, -- 20k - 80k
|
||||
{name="Copper", icon="default_copperlock.png", base_xp=100000, xp_modifier=10000}, -- 100k - 200k
|
||||
{name="Gold", icon="default_goldblock.png", base_xp=300000, xp_modifier=50000}, -- 300k - 800k
|
||||
{name="Diamond", icon="default_diamondblock.png", base_xp=1000000, xp_modifier=80000}, -- 1000k - 1800k
|
||||
{name="Mese", icon="default_meseblock.png", base_xp=2000000, xp_modifier=300000} -- 2000k - 5000k
|
||||
{name="Cobble", icon="default_cobble.png", color={r=255, g=255, b=255}, base_xp=0, xp_modifier=100}, -- 0 - 1k
|
||||
{name="Stone", icon="default_stone_block.png", color={r=164, g=164, b=164}, base_xp=2000, xp_modifier=200}, -- 2k - 4k
|
||||
{name="Coal", icon="default_coal_block.png", color={r=99, g=99, b=99}, base_xp=5000, xp_modifier=500}, -- 5k - 10k
|
||||
{name="Iron", icon="default_steel_block.png", color={r=214, g=215, b=216}, base_xp=20000, xp_modifier=6000}, -- 20k - 80k
|
||||
{name="Copper", icon="default_copper_block.png", color={r=209, g=188, b=115}, base_xp=100000, xp_modifier=10000}, -- 100k - 200k
|
||||
{name="Gold", icon="default_gold_block.png", color={r=196, g=162, b=39}, base_xp=300000, xp_modifier=50000}, -- 300k - 800k
|
||||
{name="Diamond", icon="default_diamond_block.png", color={r=85, g=210, b=252}, base_xp=1000000, xp_modifier=80000}, -- 1000k - 1800k
|
||||
{name="Mese", icon="default_mese_block.png", color={r=238, g=252, b=85}, base_xp=2000000, xp_modifier=300000} -- 2000k - 5000k
|
||||
}
|
||||
|
||||
-- further ideas: lava, ?
|
||||
@ -32,7 +32,7 @@ for _,prefix in pairs(prefixes) do
|
||||
xp_redo.register_rank({
|
||||
name = prefix.name .. " " .. suffix.name,
|
||||
icon = prefix.icon,
|
||||
color = {r=255, g=255, b=255}, --TODO color
|
||||
color = prefix.color,
|
||||
xp = xp
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user