mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-16 00:10:48 +02:00
Fixed several issues with resolving identifiers of map objects when
banning or overriding rmg properties of map objects.
Syntax should now be way simple and more readable, e.g:
```json
"bannedObjects" : {
"randomArtifactRelic" : true,
"hota.mapobjects:townGate" : true,
"cartographer" : {
"cartographerLand" : true
}
}
```
Objects with customized rmg properties are not implicitly banned - to
prevent default rmg properties from having an effect.
In addition, it is now possible to ban or customize objects even without
explicit mod dependency, similar to how object bans work in 1.7. If
corresponding mod is not active, object ban/customization will be
ignored.
See changes in docs in this PR for docs.
Resolved issues:
- Fixes #5554
- Fixes #5556
NOTE: old (1.6) rmg templates will work as before, however changed
format will be reported by validation - please update mods either before
or after 1.7 release