starlit  Diff

Differences From Artifact [625292d7b1]:

To Artifact [26a8b6ec24]:


   131    131   			unscrew = {
   132    132   				speed = 2;
   133    133   				drop = 'starlit_building:panel';
   134    134   				swap = 'starlit_building:stage_floor_heater';
   135    135   			};
   136    136   		};
   137    137   	};
          138  +	groups = {
          139  +		radiator = 1;
          140  +	};
          141  +	meta = {
          142  +		radiator = {
          143  +			-- FIXME --
          144  +			maxEffectArea = function(pos)
          145  +				local r = 3
          146  +				local dist = vector.new(r,r,r)
          147  +				return pos - dist, pos + dist
          148  +			end;
          149  +			radius = function(pos)
          150  +				return 3;
          151  +			end;
          152  +			radiate = function(rp, pos)
          153  +				return 0;
          154  +			end;
          155  +			-- END FIXME --
          156  +		};
          157  +	};
   138    158   })
   139    159   
   140    160   B.panelRun = lib.registry.mk 'starlit_building:panelRun'
   141    161   B.panelRun.foreach('starlit_building:runGen', {}, function(id, run)
   142    162   	local F = string.format
   143    163   	assert(run.name, 'missing name for panelrun')
   144    164   	local name = run.name
................................................................................
   192    212   			};
   193    213   		};
   194    214   	})
   195    215   
   196    216   	local floorBasis = run.floorBasis or 'starlit_building:stage_foundation_insulation'
   197    217   	B.pathLink(floorBasis, 'part', buildPart, floorStageRaw)
   198    218   
   199         -	mat = floorMat + fabFor 'starlit_building:panel';
   200    219   	B.stage.link(floorStage, {
   201    220   		tex = {
   202    221   			'starlit-node-floor-panel-top.png';
   203    222   			'starlit-node-concrete.png';
   204    223   			imgPlug:blit(lib.image 'starlit-node-floor-panel-side.png'):render();
   205    224   		};
   206    225   		recover = floorMat + fabFor 'starlit_building:panel';