I don't bother about the complexity of the code and the time it consumes to find the best output so I made it random! The lower the price, the better the town. The quality of town is measured by the average discount the NPC gives you. I take the values of NPC happiness from Terraria wiki and then try to make the best possible set of towns by matching them randomly. I'll explain every constraint taken into account at the end of the post.įeel free to contribute on that :) How does it work? (Simple explanation) Since I have a lot of time during night when I sleep and absolutely zero knowledge of algorithms (beside BFS, DFS and A* which I didn't use in this project), I decided to write a program that will generate the best output for me! u/teh_mAstRmnD has asked me about what is the best NPC setup. Related Subreddits Other Terraria subreddits
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |