citymania-org / grf-py

A Python framework for making NewGRFs for OpenTTD
GNU General Public License v2.0
14 stars 3 forks source link

Add TRAMTYPE action 0 support #21

Closed ahyangyi closed 8 months ago

ahyangyi commented 8 months ago

The properties of Tram Types are exactly the same as Road Types. While it might be useful to split ACTION0_ROADTYPE_PROPS into ACTION0_TRAMTYPE_PROPS, I feel that construct is internal enough so that we could always split it later (when the spec changes).

As for now, simply reusing that prop table works well enough for Tram Types.