Sorry about that :(.
Actually I think it might be down to there not being a rotated version of the LUA generated overmap tiles since it only occurs when I’ve got one loaded up, I’ll slap NO_ROTATE in somewhere and report back if it makes a difference.
I believe LUA mapgen should work as follows:
You can get current overmap tile name and direction using _G.tertype and _G.turn variablesduring lua mapgen - see https://github.com/CleverRaven/Cataclysm-DDA/issues/21738.
_G.tertype
_G.turn variables
Perhaps I could just have an NPC with a few conversation lines and use a reinforced or a custom ultra-strong vending machine and regularly delete all the items in it and add new ones from an itemgroup, do you think that’s achievable using LUA alone?
You can try running place_vending once a day using on_day_passed callback
place_vending
on_day_passed