From c4158405ffc6c6198648b56f41fddecae9f0cb6a Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 18 Dec 2017 23:32:32 +0100 Subject: [PATCH] material attributes --- data/tile_types | 42 ++++++++++++++++++++++++++++++++++++++++++ data/universe | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/data/tile_types b/data/tile_types index adcfdba..edc220f 100644 --- a/data/tile_types +++ b/data/tile_types @@ -1,6 +1,9 @@ algae = { label = "Algae"; texture = 0; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = water; ubiquity = 1.0; }, { resource = biomass; ubiquity = 0.5; }, @@ -9,6 +12,9 @@ algae = { desert = { label = "Desert"; texture = 1; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = sand; ubiquity = 1.0; }, ]; @@ -16,6 +22,9 @@ desert = { forest = { label = "Forest"; texture = 2; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = wood; ubiquity = 1.0; }, { resource = dirt; ubiquity = 0.5; }, @@ -24,6 +33,9 @@ forest = { grass = { label = "Grass"; texture = 3; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = dirt; ubiquity = 0.5; }, { resource = biomass; ubiquity = 0.25; }, @@ -33,6 +45,9 @@ grass = { ice = { label = "Ice"; texture = 4; + shiny = 75.0; + glossy = 0.7; + metallic = 0.0; yield = [ { resource = ice; ubiquity = 1.0; }, { resource = water; ubiquity = 0.25; }, @@ -41,6 +56,9 @@ ice = { jungle = { label = "Jungle"; texture = 5; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = wood; ubiquity = 0.5; }, { resource = biomass; ubiquity = 0.5; }, @@ -49,6 +67,9 @@ jungle = { mountain = { label = "Mountain"; texture = 6; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = rock; ubiquity = 1.0; }, ]; @@ -56,6 +77,9 @@ mountain = { ocean = { label = "Ocean"; texture = 7; + shiny = 50.0; + glossy = 0.6; + metallic = 0.0; yield = [ { resource = water; ubiquity = 1.0; }, ]; @@ -63,6 +87,9 @@ ocean = { rock = { label = "Rock"; texture = 8; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = rock; ubiquity = 1.0; }, ]; @@ -70,6 +97,9 @@ rock = { sand = { label = "Sand"; texture = 9; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = sand; ubiquity = 1.0; }, ]; @@ -77,6 +107,9 @@ sand = { taiga = { label = "Taiga"; texture = 10; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = wood; ubiquity = 1.0; }, { resource = water; ubiquity = 0.5; }, @@ -85,6 +118,9 @@ taiga = { tundra = { label = "Tundra"; texture = 11; + shiny = 15.0; + glossy = 0.4; + metallic = 0.0; yield = [ { resource = rock; ubiquity = 1.0; }, { resource = ice; ubiquity = 0.5; }, @@ -93,6 +129,9 @@ tundra = { water = { label = "Water"; texture = 12; + shiny = 50.0; + glossy = 0.6; + metallic = 0.0; yield = [ { resource = water; ubiquity = 1.0; }, { resource = biomass; ubiquity = 0.25; }, @@ -101,6 +140,9 @@ water = { wheat = { label = "Wheat"; texture = 13; + shiny = 10.0; + glossy = 0.1; + metallic = 0.0; yield = [ { resource = biomass; ubiquity = 1.0; }, { resource = water; ubiquity = 0.25; }, diff --git a/data/universe b/data/universe index fc67c86..1af4762 100644 --- a/data/universe +++ b/data/universe @@ -4,7 +4,7 @@ Sun { mass = 1.0e17; radius = 200.0; color = [ 1.0, 1.0, 1.0 ]; - luminosity = 1.0e8; + luminosity = 4.0e7; axial_tilt = [ 0.78539816339744830961, 0.78539816339744830961 ]; angular_momentum = 1.0e18; -- 2.39.2