starlit  Diff

Differences From Artifact [d6e7e6c59c]:

To Artifact [aee56c43bb]:


    32     32   			safe = 4;
    33     33   			overheat = 32;
    34     34   			boiling = 100;
    35     35   			thermalConductivity = 0.05; -- κ
    36     36   		};
    37     37   		rad = {
    38     38   		};
           39  +
           40  +		phys = {
           41  +			--- HACK HACK HAAAAAAAAAAACK
           42  +			engineGravity = minetest.settings:get('movement_gravity') or 9.81
           43  +		};
    39     44   	};
    40     45   
    41     46   	activeUsers = {
    42     47   		-- map of username -> user object
    43     48   	};
    44     49   	activeUI = {
    45     50   		-- map of username -> UI context
................................................................................
   272    277   
   273    278   starlit.include 'element'
   274    279   
   275    280   starlit.include 'terrain'
   276    281   starlit.include 'interfaces'
   277    282   starlit.include 'suit'
   278    283   
   279         -minetest.settings:set('movement_gravity', starlit.world.planet.gravity) -- ??? seriously???
          284  +-- minetest.settings:set('movement_gravity', starlit.world.planet.gravity) -- ??? seriously???
          285  +-- THIS OVERRIDES THE GLOBAL SETTING *AND PERSISTS IT* WHAT IN THE SATANIC FUCK
   280    286   
   281    287   ---------------
   282    288   -- callbacks --
   283    289   ---------------
   284    290   -- here we connect our types up to the minetest API
   285    291   
   286    292   local function userCB(fn)