Adds commands and GUI options for kingdom masters to remove any town in their kingdom, and for town lords to remove their towns. Also cleans up some GUI menus by not displaying icons for disabled features.
Change Details
Adds command /k town manage (town) destroy for town lords to remove a town. Also adds town management menu icons to support this function.
This command is enabled by core.yml option core.towns.allow_destroy_lord = true.
Adds command /k kingdom manage destroy (town) for kingdom masters to remove a town. Also adds kingdom menu icons to support this function.
This command is enabled by core.yml option core.towns.allow_destroy_master = true.
Updated GUI menus to not display icons for features which are disabled in core.yml.
Checklist
[x] I have merged the latest develop commit into this branch and resolved any conflicts.
[x] I have tested this branch and it is working as intended.
[x] This Pull Request is ready for review and merging.
Konquest Pull Request
Closes #232
Summary
Adds commands and GUI options for kingdom masters to remove any town in their kingdom, and for town lords to remove their towns. Also cleans up some GUI menus by not displaying icons for disabled features.
Change Details
/k town manage (town) destroy
for town lords to remove a town. Also adds town management menu icons to support this function.core.towns.allow_destroy_lord = true
./k kingdom manage destroy (town)
for kingdom masters to remove a town. Also adds kingdom menu icons to support this function.core.towns.allow_destroy_master = true
.Checklist
develop
commit into this branch and resolved any conflicts.