rail_pictures()
Posted: Sat Jun 15, 2019 4:32 pm
Hello. I want to add a new rail type via a mod. I thought I could just copy the code and graphics of the vanilla rail and edit them to my liking, but I don't really understand how I can replace the sprites of the new straight rail and curved rail entities I'm adding.
I was expecting the graphics definition to be included in the entity entry of the rails, but instead there is just a single line saying
Where can I find the original definition of rail_pictures() and how can I create my own?
I was expecting the graphics definition to be included in the entity entry of the rails, but instead there is just a single line saying
Code: Select all
pictures = rail_pictures()