Have more per-surfaces properties

Post Reply
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 410
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

Have more per-surfaces properties

Post by y.petremann »

For now in prototypes we have informations to about polution and ennemys but nothing about generation for surfaces.

Here the thing I think we should be able to control by prototypes (I think in map-settings) :
  • Daytime-Darkness curve
  • Daytime-Sun curve
  • Day Lenght
  • Max Wind Speed
Example :

Code: Select all

data:extend({
  {
    type="map-settings",
    name="map-settings",
    -- <<< already existing properties here
    darkness_curve = {{0.25,0},{0.42,0.85},{0.58,0.85},{0.75,0}},
    sunlight_curve = {{0.25,1},{0.42,0},{0.58,0},{0.75,1}},
    day_lenght = 25000,
  }
})

Code: Select all

data:extend({
  {
    type="map-settings",
    name="map-settings-underground",
    -- <<< already existing properties here
    darkness_curve = {{0,0.85}}, -- need to place lamps 
    sunlight_curve = {{0,0}},
    day_lenght = 25000,
  }
})

Code: Select all

data:extend({
  {
    type="map-settings",
    name="map-settings-facility",
    -- <<< already existing properties here
    darkness_curve = {{0,0}}, -- considering their is already ceiling-attached lamps
    sunlight_curve = {{0,0}},
    day_lenght = 25000,
  }
})

UberWaffe
Fast Inserter
Fast Inserter
Posts: 202
Joined: Mon May 04, 2015 4:53 am
Contact:

Re: Have more per-surfaces properties

Post by UberWaffe »

Good suggestions.

I'd only suggest inverting "Daytime-Darkness" to "Daytime-Brightness" (I.e. the ambient light brightness level). It is more standard to define light levels, instead of "not-light" levels.
And rename "Daytime-Sun" to "Solar-Production" simply because that is a bit more obvious what it does. I initially though it was just the inverse of darkness.

User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 410
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

Re: Have more per-surfaces properties

Post by y.petremann »

UberWaffe wrote:Good suggestions.

I'd only suggest inverting "Daytime-Darkness" to "Daytime-Brightness" (I.e. the ambient light brightness level). It is more standard to define light levels, instead of "not-light" levels.
And rename "Daytime-Sun" to "Solar-Production" simply because that is a bit more obvious what it does. I initially though it was just the inverse of darkness.
Daytime Darkness is actually copied from actual properties but you're not wrong, also for I would like more to be daytime-solar-production to have a better correspondence with daytime cycles

Post Reply

Return to “Implemented mod requests”