For some reason artillery wasn't exploding. I had set it at 75% odds last time I edited it. Just making it explode again.
It really needs to explode. It only costs $600 and is pretty powerful. This is its drawback, to make it vulnerable if player bunches them up.
money is limited, shouldnt be wasted on pointless things that take extra
time building for no reason. Like, power stations, barracks.
Some changes inspired by original dune 2000 stats. Other buildings left as
is, because we're not trying to copy the original game.
Light factory made super cheap to distinguish it from heavy factory. It
should make poor-man's units, relatively quickly. Things that sort of
suffice at countering better heavy units like tanks, while pursuing a
different strategy.
No buildings cost more than $2000, because it's not really necessary to
have things be that expensive (from what I can tell). It just wastes time
and cuts down possibilities for strategy by making certain things out of
reach and forcing everyone into similar strategies.
Research facilities that unlock units (outpost, high tech factory,
research facility) all ~1000.
Starport made 2000 so that it's not too cheap since it's good, but not
inaccessible as a mid-game strategy.
Moved Scroll() out of the if statement checking to see if edge scrolling was enabled thereby fixing bug introduced that stops keyboard from working if edge scrolling is not enabled.
There are a bunch of bogus assumptions about
targetable actors being selectable. These aren't
easily fixed, so this add a Selectable field that
can be diabled for things we want to target, but
not select.
The unit will now path to the nearest adjacent cell, drag inside, do the inner activity, then (if still alive) drag back to its original
location.
This fixes:
- Mismatch in logic between Enter and MoveAdjacentTo,
which causes an infinite loop.
- Building capturing failing from certain directions.
- Being unable to enter buildings on unpathable tiles.
- Units being stranded inside a building if the requirements
for the inner order aren't met.