A curated forum for compatible and maintained mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
- Posts: 2528
- Joined: Sat Aug 26, 2017 2:46 pm
I don't want to add location coords to the OP but if people document it in the thread that would be okay. I would suggest using the standard map pixel coords rather than world coords though.haloterm wrote: ↑Thu Oct 01, 2020 8:07 am In my Black Horse Courier quest mod, I add a few new locations. I want to use the following location IDs:
50500 to 50599.
I think we should also register the latitude/longitude coordinates of added locations, to avoid creating overlaps. As of October 8th 2020 I use:
lat 47232, lon 9344
lat 47104, lon 9344
lat 45440, lon 7680
And here the IDs of custom books. I use the following:
Finally, I use one global variable to be able to check in all quests if the player is "reporter" or "not reporter":
50 (= Unused25)
I will keep this post updated if I use anything more.
Custom book id's are not restricted by any DF constraints, so collisions should be very unlikely, so not going to register those.
Lastly, regarding the global variable you want to use - since you're giving players a book that indicates that they are a reporter you could check the presence of that item maybe?
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods
- Posts: 198
- Joined: Sat Feb 16, 2019 5:21 am
No, unfortunately not, see my answer in my other thread for details.
I added latitude/longitude because that's what we have to calculate anyway and I was actually too lazy to calculate it back to X/Y from my .json files...