IAmMallow Posted July 15, 2025 Report Posted July 15, 2025 I am currently trying to make a mod where the name of the Waypoint is tied to the color you choose in the waypoint settings. Similar to how when you choose the orange color with the rocks it names the waypoint "Copper". I assume this is done in a script with case statements but I cannot find in the source code where this is handled, if anyone knows and can show me the way or can direct me towards a different solution I would appreciate it!
Spear and Fang Posted July 19, 2025 Report Posted July 19, 2025 probably this https://github.com/anegostudios/vsessentialsmod/blob/2fa9f1f041a13502cafc24ae34ae8833c7d37341/Systems/WorldMap/WaypointLayer/GuiDialogAddWayPoint.cs#L113 in conjunction with the wpSuggestion- entries in the lang file (i.e. en.json) also icon names might help (or not) https://wiki.vintagestory.at/VTML/en
Recommended Posts