Closed sammypanda closed 1 month ago
This is easy to fix by not allowing in the editor.
However, it would be nice to also check any time a save is done. This would mean a manually edited quest won't be susceptible to breaking like this either.
My idea for this part of the issue would be to fix the quest editing mechanisms to save on each change (which is also required by #82). This change would also benefit from an undo button if it's saving on every change.
There is nothing in #95 that stops quest NPCs from the same quest (if json edited manually) from being placed in the same location. Maybe can do this in a quest validity check.
Didn't add it in validity check, wouldn't be ideal for performance for a use-case that is unlikely anyway (manually editing the template).
When two or more NPCs are placed at the same location, the quest spawns both. The earlier NPC gets replaced with the latest. This means that if an action is on an earlier NPC that got replaced, the interaction cannot be played out.
The block here should be a Dirt block: