starlit  Diff

Differences From Artifact [a2443e45a4]:

To Artifact [f85992f960]:


102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
...
333
334
335
336
337
338
339

340
341
342
343
344
345
346
		end;
		image = function(x, n)
			return string.format('starlit-element-%s.png', x)
		end;
		inventory = fRawMat 'element';
		op = fQuant;
	};
	metal ={
		name = {"metal", "metals"};
		string = function(x, n)
			local met = starlit.world.material.metal.db[x]
			return lib.math.siUI('g', n) .. ' ' .. met.name
		end;
		image = function(x, n)
			local met = starlit.world.material.metal.db[x]
................................................................................
										if not alreadyGot(ii,oi) then
											local sv = {
												inv=ii, slot=oi;
												consume=deduct, remain=st;
												satisfy=fab{[cat]={[substance]=avail}}
											}
											table.insert(stacks, sv)

										end
										if amtFound >= amt then goto suffice end
									end
								end
							end
						end








|







 







>







102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
...
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
		end;
		image = function(x, n)
			return string.format('starlit-element-%s.png', x)
		end;
		inventory = fRawMat 'element';
		op = fQuant;
	};
	metal = {
		name = {"metal", "metals"};
		string = function(x, n)
			local met = starlit.world.material.metal.db[x]
			return lib.math.siUI('g', n) .. ' ' .. met.name
		end;
		image = function(x, n)
			local met = starlit.world.material.metal.db[x]
................................................................................
										if not alreadyGot(ii,oi) then
											local sv = {
												inv=ii, slot=oi;
												consume=deduct, remain=st;
												satisfy=fab{[cat]={[substance]=avail}}
											}
											table.insert(stacks, sv)
											table.insert(consumed, sv)
										end
										if amtFound >= amt then goto suffice end
									end
								end
							end
						end