Files @ 71732f305328
Branch filter:

Location: ATITD-Tools/Desert-Paint-Lab/data/template/ingredients.txt

jmaltzen
Pre-allocate a bunch of map entries, given that we know there are a fixed set of colors. Use fixed arrays in places where maps/sets were excessive. Switch away from using Gtk.Application.Invoke, which leaks a bunch of memory.
// Ingredients are in the form:
// Name | RGB values | cost | enabled (Y/N) | bulk/normal | max items per paint (1-20)
//
// It is recommended to only change the cost value
// It is not recommended to set many of the ingredients above 10 per paint

Cabbage		| 128, 64, 144   | 8      | Y | bulk    | 10
Carrot		| 224, 112, 32   | 8      | Y | bulk    | 10
Clay		| 128, 96, 32    | 10     | Y | bulk    | 20
DeadTongue	| 112, 64, 64    | 500    | Y | normal  | 4
ToadSkin	| 48, 96, 48     | 500    | Y | normal  | 4
EarthLight	| 128, 240, 224  | 10000  | Y | normal  | 4
RedSand		| 144, 16, 24    | 4      | Y | bulk    | 20
Lead		| 80, 80, 96     | 50     | Y | normal  | 6
Silver		| 16, 16, 32     | 50     | Y | normal  | 6
Iron		| 96, 48, 32     | 30     | Y | normal  | 8
Copper		| 64, 192, 192   | 30     | Y | normal  | 8
Sulfur      | catalyst       | 15     | Y | normal  | 1
Potash      | catalyst       | 50     | Y | normal  | 1
Lime        | catalyst       | 20     | Y | normal  | 1
Saltpeter   | catalyst       | 10     | Y | normal  | 1