Skip to content

Commit

Permalink
Update greg_ores.js
Browse files Browse the repository at this point in the history
missed one
  • Loading branch information
thevortex committed Nov 22, 2023
1 parent ed0a6bf commit 2376ba1
Showing 1 changed file with 67 additions and 1 deletion.
68 changes: 67 additions & 1 deletion kubejs/client_scripts/lang/greg_ores.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,74 @@ let tfcStoneL = [
"gneiss",
"marble"
]

let gregOreBlockProps = {
apatite: { color: 0xc8c8ff, overlay: "diamond" },
tricalcium_phosphate: { color: 0xffff00, overlay: "flint" },
pyrochlore: { color: 0x2b1100, overlay: "metallic" },
tin: { color: 0xdcdcdc, overlay: "dull" },
cassiterite: { color: 0xdcdcdc, overlay: "metallic" },
chalcopyrite: { color: 0xa07828, overlay: "dull" },
zeolite: { color: 0xf0e6e6, overlay: "dull" },
realgar: { color: 0x9d2123, overlay: "emerald" },
galena: { color: 0x643c64, overlay: "dull" },
silver: { color: 0xdcdcff, overlay: "shiny" },
lead: { color: 0x8c648c, overlay: "dull" },
cassiterite_sand: { color: 0xdcdcdc, overlay: "sand" },
garnet_sand: { color: 0xc86400, overlay: "sand" },
asbestos: { color: 0xe6e6e6, overlay: "dull" },
diatomite: { color: 0xe1e1e1, overlay: "dull" },
red_garnet: { color: 0xc85050, overlay: "ruby" },
yellow_garnet: { color: 0xc8c850, overlay: "ruby" },
amethyst: { color: 0x8464bc, overlay: "ruby" },
opal: { color: 0x0000ff, overlay: "opal" },
goethite: { color: 0xc86400, overlay: "metallic" },
yellow_limonite: { color: 0xc8c800, overlay: "metallic" },
hematite: { color: 0x915a5a, overlay: "dull" },
malachite: { color: 0x055f05, overlay: "lapis" },
soapstone: { color: 0x5f915f, overlay: "dull" },
talc: { color: 0x5ab45a, overlay: "fine" },
glauconite_sand: { color: 0x82b43c, overlay: "sand" },
pentlandite: { color: 0xa59605, overlay: "dull" },
magnetite: { color: 0x1e1e1e, overlay: "metallic" },
vanadium_magnetite: { color: 0x23233c, overlay: "metallic" },
basaltic_mineral_sand: { color: 0x283228, overlay: "sand" },
granitic_mineral_sand: { color: 0x283c3c, overlay: "sand" },
fullers_earth: { color: 0xa0a078, overlay: "fine" },
gypsum: { color: 0xe6e6fa, overlay: "dull" },
garnierite: { color: 0x32c846, overlay: "metallic" },
nickel: { color: 0xc8c8fa, overlay: "metallic" },
cobaltite: { color: 0x5050fa, overlay: "metallic" },
rock_salt: { color: 0xf0c8c8, overlay: "fine" },
salt: { color: 0xfafafa, overlay: "fine" },
lepidolite: { color: 0xf0328c, overlay: "fine" },
spodumene: { color: 0xbeaaaa, overlay: "dull" },
oilsands: { color: 0x0a0a0a, overlay: "sand" },
pyrite: { color: 0x967828, overlay: "rough" },
lazurite: { color: 0x6478ff, overlay: "lapis" },
sodalite: { color: 0x1414ff, overlay: "lapis" },
lapis: { color: 0x4646dc, overlay: "lapis" },
calcite: { color: 0xfae6dc, overlay: "dull" },
grossular: { color: 0xc86400, overlay: "ruby" },
spessartine: { color: 0xff6464, overlay: "ruby" },
pyrolusite: { color: 0x9696aa, overlay: "dull" },
tantalite: { color: 0x915028, overlay: "metallic" },
kyanite: { color: 0x6e6efa, overlay: "flint" },
mica: { color: 0xc3c3cd, overlay: "fine" },
bauxite: { color: 0xc86400, overlay: "dull" },
pollucite: { color: 0xf0d2d2, overlay: "dull" },
bentonite: { color: 0xf5d7d2, overlay: "rough" },
olivine: { color: 0x96ff96, overlay: "ruby" },
redstone: { color: 0xc80000, overlay: "rough" },
ruby: { color: 0xff6464, overlay: "ruby" },
cinnabar: { color: 0x960000, overlay: "emerald" },
almandine: { color: 0xff0000, overlay: "dull" },
pyrope: { color: 0x783264, overlay: "ruby" },
sapphire: { color: 0x6464c8, overlay: "gem_vertical" },
green_sapphire: { color: 0x64c882, overlay: "gem_horizontal" }
}
const addGregOresLang = (event) => {
const blocks = Object.keys(global.gregOreBlockProps)
const blocks = Object.keys(gregOreBlockProps)
blocks.forEach((block) => {
tfcStoneL.forEach((stone) => {
event.add(`block.gregitas.ore.${block}.${stone}`, Utils.snakeCaseToTitleCase(`${stone}_${block}`))
Expand Down

0 comments on commit 2376ba1

Please sign in to comment.