starlit  Diff

Differences From Artifact [44e70e86d4]:

To Artifact [277b90dbc5]:


    88     88   			liquid  = lib.registry.mk 'starlit:liquid';
    89     89   		};
    90     90   		ecology = {
    91     91   			plants = lib.registry.mk 'starlit:plants';
    92     92   			trees = lib.registry.mk 'starlit:trees';
    93     93   			biomes = lib.registry.mk 'starlit:biome';
    94     94   		};
    95         -		climate = {};
           95  +		climate = {
           96  +			weather = lib.registry.mk 'starlit:weather';
           97  +			weatherMap = {}
           98  +		};
    96     99   		scenario = {};
    97    100   		planet = {
    98    101   			gravity = 7.44;
    99    102   			orbit = 189; -- 1 year is 189 days
   100    103   			revolve = 20; -- 1 day is 20 irl minutes
   101    104   		};
   102    105   		fact = lib.registry.mk 'starlit:fact';
................................................................................
   171    174   				};
   172    175   			};
   173    176   		};
   174    177   	};
   175    178   
   176    179   	jobs = {};
   177    180   }
          181  +
          182  +-- TODO deal with core.DEFAULT_PHYSICS once it hits master
   178    183   
   179    184   starlit.cfgDir = minetest.get_worldpath() .. '/' .. starlit.ident
   180    185   
   181    186   local logger = function(module)
   182    187   	local function argjoin(arg, nxt, ...)
   183    188   		if arg and not nxt then return tostring(arg) end
   184    189   		if not arg then return "(nil)" end