starlit  Diff

Differences From Artifact [d6e7e6c59c]:

To Artifact [aee56c43bb]:


32
33
34
35
36
37
38





39
40
41
42
43
44
45
...
272
273
274
275
276
277
278
279

280
281
282
283
284
285
286
			safe = 4;
			overheat = 32;
			boiling = 100;
			thermalConductivity = 0.05; -- κ
		};
		rad = {
		};





	};

	activeUsers = {
		-- map of username -> user object
	};
	activeUI = {
		-- map of username -> UI context
................................................................................

starlit.include 'element'

starlit.include 'terrain'
starlit.include 'interfaces'
starlit.include 'suit'

minetest.settings:set('movement_gravity', starlit.world.planet.gravity) -- ??? seriously???


---------------
-- callbacks --
---------------
-- here we connect our types up to the minetest API

local function userCB(fn)







>
>
>
>
>







 







|
>







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
...
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
			safe = 4;
			overheat = 32;
			boiling = 100;
			thermalConductivity = 0.05; -- κ
		};
		rad = {
		};

		phys = {
			--- HACK HACK HAAAAAAAAAAACK
			engineGravity = minetest.settings:get('movement_gravity') or 9.81
		};
	};

	activeUsers = {
		-- map of username -> user object
	};
	activeUI = {
		-- map of username -> UI context
................................................................................

starlit.include 'element'

starlit.include 'terrain'
starlit.include 'interfaces'
starlit.include 'suit'

-- minetest.settings:set('movement_gravity', starlit.world.planet.gravity) -- ??? seriously???
-- THIS OVERRIDES THE GLOBAL SETTING *AND PERSISTS IT* WHAT IN THE SATANIC FUCK

---------------
-- callbacks --
---------------
-- here we connect our types up to the minetest API

local function userCB(fn)