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