X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=data%2Fdefault.types;h=8c724067478ae6e6367f016be5bc40f5aab0ee0a;hb=HEAD;hp=a1515aa54345504770f43453305a4d3140a72867;hpb=822c0601b07a16cab477a67577ce321c882072d2;p=blank-assets.git diff --git a/data/default.types b/data/default.types index a1515aa..8c72406 100644 --- a/data/default.types +++ b/data/default.types @@ -1,195 +1,250 @@ +// default min solidity is 0.5 which marks the border of the solid world +// anything with less than that will be incredibly common on the surface + white_coarse = { texture = "rock-1"; label = "Coarse White"; - shape = block; + place_sound = "thump"; + remove_sound = "plop"; + shape = uniform_block; generate = true; mid_solidity = 0.5; max_solidity = 0.75; max_temperature = 0.0; mid_temperature = -0.5; }; -white_smooth = { +white_smooth = white_coarse { texture = "rock-2"; label = "Smooth White"; - shape = block; - generate = true; mid_solidity = 0.6; - max_temperature = 0.0; - mid_temperature = -0.5; + max_solidity = 1.0; }; -white_hard = { +white_hard = white_coarse { texture = "rock-3"; label = "Hard White"; - shape = block; - generate = true; min_solidity = 0.7; mid_solidity = 1.0; - max_temperature = 0.0; - mid_temperature = -0.5; + max_solidity = 1.0; }; -white_slab = { - texture = "rock-1"; +white_slab = white_coarse { label = "White Slab"; - shape = slab; + shape = uniform_low_slab; + generate = false; }; -white_stair = { - texture = "rock-1"; +white_stair = white_coarse { label = "White Stair"; - shape = stair; + shape = uniform_stair; + generate = false; }; -red_coarse = { - texture = "rock-1"; - rgb_mod = [ 1, 0, 0 ]; +red_coarse = white_coarse { + rgb_mod = [ 0.8, 0.2, 0.2 ]; label = "Coarse Red"; - shape = block; - generate = true; - mid_solidity = 0.5; - max_solidity = 0.75; min_temperature = 0.0; mid_temperature = 0.5; + max_temperature = 1.0; max_humidity = 0.0; mid_humidity = -0.5; }; -red_smooth = { +red_smooth = red_coarse { texture = "rock-2"; - rgb_mod = [ 1, 0, 0 ]; label = "Smooth Red"; - shape = block; - generate = true; mid_solidity = 0.6; - min_temperature = 0.0; - mid_temperature = 0.5; - max_humidity = 0.0; - mid_humidity = -0.5; + max_solidity = 1.0; }; -red_hard = { +red_hard = red_coarse { texture = "rock-3"; - rgb_mod = [ 1, 0, 0 ]; label = "Hard Red"; - shape = block; - generate = true; min_solidity = 0.7; mid_solidity = 1.0; - min_temperature = 0.0; - mid_temperature = 0.5; - max_humidity = 0.0; - mid_humidity = -0.5; + max_solidity = 1.0; }; -red_slab = { - texture = "rock-3"; - rgb_mod = [ 1, 0, 0 ]; +red_slab = red_hard { label = "Red Slab"; - shape = slab; + shape = uniform_low_slab; + generate = false; }; -red_stair = { - texture = "rock-3"; - rgb_mod = [ 1, 0, 0 ]; +red_stair = red_hard { label = "Red Stair"; - shape = stair; + shape = uniform_stair; + generate = false; }; -green_coarse = { - texture = "rock-1"; - rgb_mod = [ 0, 1, 0 ]; +green_coarse = white_coarse { + rgb_mod = [ 0.2, 0.8, 0.2 ]; label = "Coarse Green"; - shape = block; - generate = true; - mid_solidity = 0.5; - max_solidity = 0.75; + min_temperature = -0.5; + mid_temperature = 0.25; + max_temperature = 0.75; }; -green_smooth = { +green_smooth = green_coarse { texture = "rock-2"; - rgb_mod = [ 0, 1, 0 ]; label = "Smooth Green"; - shape = block; - generate = true; mid_solidity = 0.6; + max_solidity = 1.0; }; -green_hard = { +green_hard = green_coarse { texture = "rock-3"; - rgb_mod = [ 0, 1, 0 ]; label = "Hard Green"; - shape = block; - generate = true; min_solidity = 0.7; mid_solidity = 1.0; + max_solidity = 1.0; }; -green_slab = { - texture = "rock-1"; - rgb_mod = [ 0, 1, 0 ]; +green_slab = green_coarse { label = "Green Slab"; - shape = slab; + shape = uniform_low_slab; + generate = false; }; -green_stair = { - texture = "rock-1"; - rgb_mod = [ 0, 1, 0 ]; +green_stair = green_coarse { label = "Green Stair"; - shape = stair; + shape = uniform_stair; + generate = false; }; -blue_coarse = { +blue_coarse = white_coarse { texture = "rock-1"; - rgb_mod = [ 0, 0, 1 ]; + rgb_mod = [ 0.2, 0.2, 0.8 ]; outline = [ 0.75, 0.75, 0.75 ]; label = "Coarse Blue"; - shape = block; - generate = true; mid_solidity = 0.5; max_solidity = 0.75; min_humidity = 0.0; mid_humidity = 1.0; + min_temperature = -1.0; + mid_temperature = 0.0; + max_temperature = 1.0; }; -blue_smooth = { +blue_smooth = blue_coarse { texture = "rock-2"; - rgb_mod = [ 0, 0, 1 ]; - outline = [ 0.75, 0.75, 0.75 ]; label = "Smooth Blue"; - shape = block; - generate = true; mid_solidity = 0.6; - min_humidity = 0.0; - mid_humidity = 1.0; + max_solidity = 1.0; }; -blue_hard = { +blue_hard = blue_coarse { texture = "rock-3"; - rgb_mod = [ 0, 0, 1 ]; - outline = [ 0.75, 0.75, 0.75 ]; label = "Hard Blue"; - shape = block; - generate = true; min_solidity = 0.7; mid_solidity = 1.0; - min_humidity = 0.0; - mid_humidity = 1.0; + max_solidity = 1.0; }; -blue_slab = { - texture = "rock-3"; - rgb_mod = [ 0, 0, 1 ]; - outline = [ 0.75, 0.75, 0.75 ]; +blue_slab = blue_hard { label = "Blue Slab"; - shape = slab; + shape = uniform_low_slab; + generate = false; }; -blue_stair = { - texture = "rock-3"; - rgb_mod = [ 0, 0, 1 ]; - outline = [ 0.75, 0.75, 0.75 ]; +blue_stair = blue_hard { label = "Blue Stair"; - shape = stair; + shape = uniform_stair; + generate = false; +}; + +// trying out some more "realistic" variants +dirt = { + texture = "grain"; + rgb_mod = [ 0.5, 0.35, 0.2 ]; + label = "Dirt"; + place_sound = "thump"; + remove_sound = "plop"; + shape = uniform_block; + generate = true; + mid_solidity = 0.6; + max_solidity = 0.8; +}; +grass = dirt { + rgb_mod = [ 0.0, 0.2, 0 ]; + label = "Grass"; + mid_solidity = 0.55; + max_solidity = 0.65; + min_humidity = 0.1; + mid_humidity = 0.8; +}; +fiber = grass { + texture = "lines"; + label = "Fiber"; +}; +log = dirt { + shape = pipe_block; + // TODO: hmm, this calls for color mods per texture or per face + textures = [ "lines", "rects" ]; + label = "Log"; +}; +stone = dirt { + rgb_mod = [ 0.6, 0.6, 0.6 ]; + label = "Stone"; + mid_solidity = 0.75; + max_solidity = 1.0; +}; +stone_panel = stone { + texture = "panel"; + label = "Stone Panel"; + commonness = 0.75; +}; +stone_brick = stone { + texture = "brick"; + label = "Stone Brick"; + commonness = 0.5; +}; +snow = dirt { + rgb_mod = [ 0.9, 0.9, 1 ]; + label = "Snow"; + mid_solidity = 0.5; + max_solidity = 0.7; + min_temperature = -0.5; + mid_temperature = -0.25; + max_temperature = 0.0; +}; +ice = snow { + texture = "panel"; + label = "Ice"; + min_solidity = 0.6; + mid_solidity = 0.65; + max_solidity = 0.75; +}; +sand = dirt { + rgb_mod = [ 0.93, 0.9, 0.66 ]; + label = "Sand"; + mid_humidity = -0.9; + max_humidity = 0.0; + min_solidity = 0.5; + mid_solidity = 0.5; + max_solidity = 0.65; + min_temperature = 0.1; + mid_temperature = 0.7; +}; +sandstone = sand { + texture = "panel"; + label = "Sandstone"; + min_solidity = 0.55; + mid_solidity = 0.7; + max_solidity = 0.75; }; grav_spherical = { texture = "gravity-neutral"; label = "Spherical Gravity"; - shape = block; + place_sound = "thump"; + remove_sound = "plop"; + shape = uniform_block; + gravity = Radial(15); +}; +grav_directed = { + textures = [ "gravity-directed", "gravity-neutral" ]; + label = "Directed Gravity"; + place_sound = "thump"; + remove_sound = "plop"; + shape = pipe_block; + // 15x8x15 box with 10 units gravity downwards + gravity = CuboidField([ 0, -10, 0 ], [ -7.5, -0.5, -7.5 ], [ 7.5, 7.5, 7.5 ]); }; light = { texture = "rock-2"; - rgb_mod = [ 1, 1, 0 ]; + rgb_mod = [ 0.8, 0.8, 0.2 ]; label = "Light"; + place_sound = "thump"; + remove_sound = "plop"; luminosity = 15; - shape = block; + shape = uniform_block; generate = true; mid_solidity = 0.5; max_solidity = 0.75; @@ -199,5 +254,7 @@ light = { debug = { texture = "debug"; label = "Debug Cube"; - shape = block; + place_sound = "thump"; + remove_sound = "plop"; + shape = uniform_block; };