This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fallback doors.register_door() code.
This function maps doors.register_door to the new API as far as reasonable. We can't map the texture, so we fall back to a default texture. An error message is printed if mod writers did not provide the needed new tiles field for the door. The created doors are functional and a full replacement. Old doors are replaced with the new ones through an ABM.
- Loading branch information
Showing 1 changed file with 53 additions and 0 deletions.