primeiro commit
All checks were successful
Build and Push Image / Build and push image (push) Successful in 3m5s

This commit is contained in:
2024-04-29 21:38:53 -03:00
commit e11bf493a1
2532 changed files with 55878 additions and 0 deletions

View File

@@ -0,0 +1,179 @@
#![enable(unwrap_newtypes)]
#![enable(implicit_some)]
// NOTE: Many of these colors are not used directly, but are modified in various ways (e.g. via
// lerping). So don't be too frustrated if a color change seems to have a different effect in
// different places; just follow the trends.
(
block: (
pyramid: (203, 170, 146),
// These are all ranges from low to high.
structure_blocks: (
None: None,
// Samples the surface color.
Grass: None,
// Water blocks ignore color information, and even if they didn't would not be lerped.
Water: None,
GreenSludge: None,
// Leaves all actually get interpolated.
TemperateLeaves: [
(start: (20, 100, 40), end: (60, 120, 0)),
],
PineLeaves: [(start: (0, 60, 50), end: (30, 80, 10))],
FrostpineLeaves: [(start: (24, 89, 85), end: (67, 22, 82))],
PalmLeavesInner: [(start: (70, 140, 43), end: (55, 140, 32))],
PalmLeavesOuter: [(start: (60, 130, 38), end: (30, 130, 65))],
Acacia: [(start: (35, 70, 0), end: (100, 120, 30))],
Liana: [(start: (0, 125, 107), end: (0, 155, 129))],
Mangrove: [(start: (20, 60, 0), end: (40, 90, 30))],
Chestnut: [(start: (30, 80, 0), end: (50, 120, 0))],
Baobab: [(start: (50, 100, 40), end: (50, 90, 0))],
MapleLeaves: [(start: (103, 32, 21), end: (131, 24, 26)), (start: (96, 30, 44), end: (92, 9, 46))],
CherryLeaves: [(start: (210, 109, 116), end: (217, 102, 102)), (start: (191, 128, 151), end: (206, 113, 123))],
AutumnLeaves: [(start: (198, 87, 24), end: (184, 57, 15)), (start: (230, 151, 27), end: (213, 130, 20)), (start: (131, 23, 31), end: (115, 5, 31))],
)
// Water blocks ignore color now so this isn't used, but just in case this color was worth
// remembering here it is.
// green_sludge: (30.0, 126.0, 23.0)
),
column: (
cold_grass: (0.0, 0.3, 0.1),
warm_grass: (0.5, 0.55, 0.0),
dark_grass: (0.15, 0.4, 0.1),
wet_grass: (0.1, 0.8, 0.2),
cold_stone: (0.4, 0.67, 0.8),
hot_stone: (0.05, 0.05, 0.04),
warm_stone: (0.30, 0.2, 0.15),
beach_sand: (0.8, 0.75, 0.5),
desert_sand: (0.6, 0.4, 0.2),
snow: (0.75, 0.8, 1.8),
snow_moss: (0.35, 0.55, 0.7),
stone_col: (90, 110, 150),
dirt_low: (0.075, 0.07, 0.3),
dirt_high: (0.6, 0.3, 0.05),
snow_high: (0.01, 0.3, 0.0),
warm_stone_high: (0.25, 0.22, 0.3),
grass_high: (0.15, 0.2, 0.15),
tropical_high: (0.95, 0.55, 0.50),
mesa_layers: [
(0.6, 0.3, 0.2),
(0.4, 0.03, 0.1),
(0.8, 0.5, 0.2),
(0.6, 0.25, 0.1),
(0.35, 0.3, 0.15),
(0.4, 0.15, 0.05),
(0.2, 0.15, 0.1),
(0.7, 0.6, 0.3),
],
),
// NOTE: I think (but am not sure) that this is the color of stuff below the bottom-most
// ground. I'm not sure how easy it is to see.
deep_stone_color: (125, 120, 130),
layer: (
bridge: (80, 80, 100),
stalactite: (90, 71, 112),
cave_floor: (42, 39, 82),
cave_roof: (38, 21, 79),
dirt: (69, 48, 15),
scaffold: (195, 190, 212),
lava: (184, 39, 0),
vein: (61, 229, 198),
),
site: (
castle: (),
dungeon: (
stone: (150, 150, 175),
),
settlement: (
building: (
archetype: (
keep: (
brick_base: (80, 80, 80),
floor_base: (80, 60, 10),
pole: (90, 70, 50),
flag: (
Evil: (80, 10, 130),
Good: (150, 20, 0),
),
stone: (
Evil: (65, 60, 55),
Good: (70, 75, 80),
),
),
house: (
foundation: (70, 70, 70),
floor: (100, 75, 50),
roof: (
Roof1: (0x99, 0x5E, 0x54),
Roof2: (0x43, 0x63, 0x64),
Roof3: (0x76, 0x6D, 0x68),
Roof4: (0x55, 0x25, 0x41),
Roof5: (0x52, 0x20, 0x20),
Roof6: (0x05, 0x3A, 0x40),
Roof7: (0xCC, 0x56, 0x3E),
Roof8: (0x05, 0x48, 0x40),
// (0x1D, 0x4D, 0x45),
// (0xB3, 0x7D, 0x60),
// (0xAC, 0x5D, 0x26),
// (0x32, 0x46, 0x6B),
// (0x2B, 0x19, 0x0F),
// (0x93, 0x78, 0x51),
// (0x92, 0x57, 0x24),
// (0x4A, 0x4E, 0x4E),
// (0x2F, 0x32, 0x47),
// (0x8F, 0x35, 0x43),
// (0x6D, 0x1E, 0x3A),
// (0x6D, 0xA7, 0x80),
// (0x4F, 0xA0, 0x95),
// (0xE2, 0xB9, 0x99),
// (0x7A, 0x30, 0x22),
// (0x4A, 0x06, 0x08),
// (0x8E, 0xB4, 0x57),
),
wall: (
Wall1: (200, 180, 150),
Wall2: (0xB8, 0xB4, 0xA4),
Wall3: (0x76, 0x6D, 0x68),
Wall4: (0xF3, 0xC9, 0x8F),
Wall5: (0xD3, 0xB7, 0x99),
Wall6: (0xE1, 0xAB, 0x91),
Wall7: (0x82, 0x57, 0x4C),
Wall8: (0xB9, 0x96, 0x77),
Wall9: (0xAE, 0x8D, 0x9C),
),
support: (
Support1: (65, 30, 0),
Support2: (0x35, 0x25, 0x26),
Support3: (0x53, 0x33, 0x13),
Support4: (0x65, 0x30, 0),
),
),
),
),
plot_town_path: (80, 40, 20),
plot_field_dirt: (55, 20, 5),
plot_field_mound: (40, 60, 10),
wall_low: (130, 100, 0),
wall_high :(90, 70, 50),
tower_color: (50, 50, 50),
// NOTE: Ideally these would be part of a make_case_elim, but we can't use it beacuse
// it doesn't support struct variants yet.
plot_dirt: (90, 70, 50),
plot_grass: (100, 200, 0),
plot_water: (100, 150, 250),
plot_town: (80, 40, 20),
// TODO: Add field furrow stuff.
),
),
)