Infinity X release v0,00001
new version: 0.0001 (no it’s still not a real version)
http://www.infinity-x.com/downloads/
same as before, except the code is better supported. This makes adding a unit fairly simple (and thus easily automated).
- This code will be used for:
- Start of game (Planet landing). Will give player a mine (max 10 mats, 8 fuel; any mine mines 16max so 10+6, 9+7 or 8+8; will possibly give 1 gold, dunno yet), a power thingie (small one, takes 2 fuel gives 1 power (which is used by mine), and a fuel storage (with 2/50 fuel, just enough to run the power thingie for one turn. Note: in this case, if you DO run the power but DON’T run the mine, you’d be permanently fucked. Solutions: shut down power when not used/needed (could still screw yourself later on - although who turns off all their fuel-gathering mines?); or enable power generators to run on fuel to-be-generated (which is a more difficult way to code etc - and shouldn’t really be necessary - on the other hand, destroying all the opponent’s fuel storages shouldn’t be a valid technique either. Perhaps have power generators store 25 fuel like mines store 25 material?)).
- whenever builder units build a… unit (engineer/constructor finished building a building; or building finished building a vehicle)


