C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
33 stars 9 forks source link

349 - Fix cheap road/rail transport #363

Closed QuintillusCFC closed 1 year ago

QuintillusCFC commented 1 year ago

Moving onto rails is no longer free, and moving onto roads is no longer discounted, unless the source tile also has rail/(roads or rail), respectively.

Also fix barbarians being charged for base terrain cost regardless of roads/rails, and a crash caused by right-clicking on a unit with a defend strategy on a non-city tile (which currently happens for catapults in scenarios that don't support Settlers).

QuintillusCFC commented 1 year ago

Tagging Kright as a potential reviewer, since he added roads initially.

I should also note that when a barbarian moves across multiple roaded tiles, it only animates the last movement, which is a different issue.

QuintillusCFC commented 1 year ago

Yup, I agree. Switched to break, now merging.