News:

SimuTranslator
Make Simutrans speak your language.

get_desc() for bridges

Started by Yona-TYT, November 26, 2022, 06:55:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

It would be nice to be able to obtain the desc of a bridge more easily.

For example:
bridge = tile.find_object(mo_bridge)
desc = bridge.get_desc()

That would make life easier for us. :)

Dwachs

Parsley, sage, rosemary, and maggikraut.

Yona-TYT