A simple plug-in to delete events.
Just load the plug-in in your project and use the script command:
pagpatay.an.killEvent ( event_id ); (
Replace event_id with the ID of the event you want to delete (duh).
For multiple events, use:
pagpatay.an.massacreEvents (event_id1, event_id2, event_id3, ...);
The function also accepts ranges as a string:
pagpatay.an.massacreEvents (1, "5: 9", 4, "10: 13");
In the example above, events 1, 5, 6, 7, 8, 9, 4, 10, 11, 12, 13 are deleted.
Deleted events are retained when games are saved and re-loaded.
Plug-in
(Google Drive. 1 JS. 10KB)
License
pagpatay.an is free for use in both commercial and non-commercial projects, as long as the author is credited accordingly:
pagpatay.an by dismal_science__
If you edit your plugin as you see fit for your project. If the edits can benefit the community as a whole, I request that they are also posted here so edits into an official release.
Please do not re- post, just link to the dismal_science__ devblog.