forked from Mirrors/openclonk
cf7469043d
The production cost method returns an array of material cost arrays, but their format has changed. Instead of [<default resource>, <cost>, <substitute(s)>] it now returns an array of proplists [{Resource = optionA, Amount = costA}, {Resource = optionB, Amount = costB}] so that there are fewer cases to keep in mind: No "are there substitutes?", but you can simply check all variants and pick the best. This also allows different substitutions, for example "2 earth or 3 sand" is now possible. |
||
---|---|---|
.. | ||
Arena.ocf | ||
Decoration.ocd | ||
Defense.ocf | ||
Experimental.ocd | ||
Experimental.ocf | ||
Graphics.ocg | ||
Issues.ocf | ||
Material.ocg | ||
Missions.ocf | ||
Music.ocg | ||
Objects.ocd | ||
Parkour.ocf | ||
Sound.ocg | ||
System.ocg | ||
Tests.ocf | ||
Tutorials.ocf | ||
Worlds.ocf | ||
.gitattributes | ||
AUTHORS | ||
COPYING |