Compat fix for 1.28.4
| Downloads | 1,011 |
|---|---|
| Updated | 9 months ago |
| Released | 3 years ago |
| Identifier | PatchWarner |
| Numeric ID | 480 |
| Min. Openplanet | 1.26.0 |
This plugin was developed using generative AI.
Over the years Nadeo has been continuously 'improving' the game with physics changes, and at this point, keeping track of what maps have what physics can become pretty cumbersome... So, I decided to make this plugin as a solution to this problem!
| Feature | Status |
|---|---|
| Auto-detects every loaded map and compares its exeBuild timestamp (and special flags such as legacy-wood) against a curated rule-set. | ✓ |
| Warns you instantly when you are playing on a map where physics changes might have an inpact | ✓ |
| Very customisable positions, sizes, timing, colours and per-patch on/off toggles for all possible patches can be edited | ✓ |
| Exports an API so other plugins can query the current map's physics with one call. | ✓ |
Patch Warner exposes a single shared function:
namespace PatchWarner {
import string GetActivePhysicsChangesJSON() from "PatchWarner";
}
GetActivePhysicsChangesJSON() returns a JSON string like
{
"Water-1": true,
"Ice-1": false,
"Ice-2": false,
"Ice-3": true,
"Wood": true,
"Bumper": false
}
A definitive list of rule keys lives at the bottom of src/core/rules.as.
Add dependencies = ["PatchWarner"] to your own plugin's info.toml, call the function, parse the JSON, and react however you like, be that showing the user a popup, a warning about a broken skip being avalible, or something completely different!
Feel free to use this in any of your other projects! <3
Compat fix for 1.28.4
Added:
Fixed:
Fixed:
Added: