add descriptions to all plugin overlays

develop
Myk Taylor 2023-12-30 21:24:11 -08:00
parent 50a447061d
commit 80f9fea522
No known key found for this signature in database
19 changed files with 27 additions and 0 deletions

@ -6,6 +6,7 @@ local widgets = require('gui.widgets')
AutolaborOverlay = defclass(AutolaborOverlay, overlay.OverlayWidget) AutolaborOverlay = defclass(AutolaborOverlay, overlay.OverlayWidget)
AutolaborOverlay.ATTRS{ AutolaborOverlay.ATTRS{
desc='Adds information to the work details screen about whether work details are enabled.',
default_pos={x=7,y=-13}, default_pos={x=7,y=-13},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Info/LABOR/WORK_DETAILS', viewscreens='dwarfmode/Info/LABOR/WORK_DETAILS',

@ -63,6 +63,7 @@ end
InspectorOverlay = defclass(InspectorOverlay, overlay.OverlayWidget) InspectorOverlay = defclass(InspectorOverlay, overlay.OverlayWidget)
InspectorOverlay.ATTRS{ InspectorOverlay.ATTRS{
desc='Adds information to planned buildings about what materials are still needed.',
default_pos={x=-41,y=14}, default_pos={x=-41,y=14},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/ViewSheets/BUILDING', viewscreens='dwarfmode/ViewSheets/BUILDING',

@ -13,6 +13,7 @@ local view_sheets = df.global.game.main_interface.view_sheets
MechanismOverlay = defclass(MechanismOverlay, overlay.OverlayWidget) MechanismOverlay = defclass(MechanismOverlay, overlay.OverlayWidget)
MechanismOverlay.ATTRS{ MechanismOverlay.ATTRS{
desc='Adds mechanism selection capabilities to the link lever/pressure plate screens.',
default_pos={x=5,y=5}, default_pos={x=5,y=5},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/LinkingLever', viewscreens='dwarfmode/LinkingLever',

@ -351,6 +351,7 @@ end
PlannerOverlay = defclass(PlannerOverlay, overlay.OverlayWidget) PlannerOverlay = defclass(PlannerOverlay, overlay.OverlayWidget)
PlannerOverlay.ATTRS{ PlannerOverlay.ATTRS{
desc='Shows the building planner interface panel when building buildings.',
default_pos={x=5,y=9}, default_pos={x=5,y=9},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Building/Placement', viewscreens='dwarfmode/Building/Placement',

@ -52,6 +52,7 @@ end
BurrowDesignationOverlay = defclass(BurrowDesignationOverlay, overlay.OverlayWidget) BurrowDesignationOverlay = defclass(BurrowDesignationOverlay, overlay.OverlayWidget)
BurrowDesignationOverlay.ATTRS{ BurrowDesignationOverlay.ATTRS{
desc='Adds flood fill and 3D box select functionality to burrow designations.',
default_pos={x=6,y=9}, default_pos={x=6,y=9},
viewscreens='dwarfmode/Burrow/Paint', viewscreens='dwarfmode/Burrow/Paint',
default_enabled=true, default_enabled=true,

@ -5,6 +5,7 @@ local pathable = require('plugins.pathable')
WarmDampOverlay = defclass(WarmDampOverlay, overlay.OverlayWidget) WarmDampOverlay = defclass(WarmDampOverlay, overlay.OverlayWidget)
WarmDampOverlay.ATTRS{ WarmDampOverlay.ATTRS{
desc='Makes warm and damp tiles visible when in ASCII mode.',
viewscreens={ viewscreens={
'dwarfmode/Designate/DIG_DIG', 'dwarfmode/Designate/DIG_DIG',
'dwarfmode/Designate/DIG_REMOVE_STAIRS_RAMPS', 'dwarfmode/Designate/DIG_REMOVE_STAIRS_RAMPS',
@ -26,6 +27,7 @@ end
CarveOverlay = defclass(CarveOverlay, overlay.OverlayWidget) CarveOverlay = defclass(CarveOverlay, overlay.OverlayWidget)
CarveOverlay.ATTRS{ CarveOverlay.ATTRS{
desc='Makes existing carving designations visible when in ASCII mode.',
viewscreens={ viewscreens={
'dwarfmode/Designate/SMOOTH', 'dwarfmode/Designate/SMOOTH',
'dwarfmode/Designate/ENGRAVE', 'dwarfmode/Designate/ENGRAVE',

@ -27,6 +27,7 @@ end
HotspotMenuWidget = defclass(HotspotMenuWidget, overlay.OverlayWidget) HotspotMenuWidget = defclass(HotspotMenuWidget, overlay.OverlayWidget)
HotspotMenuWidget.ATTRS{ HotspotMenuWidget.ATTRS{
desc='Shows the DFHack logo context menu button.',
default_pos={x=5,y=1}, default_pos={x=5,y=1},
default_enabled=true, default_enabled=true,
version=2, version=2,

@ -68,6 +68,7 @@ end
OrdersOverlay = defclass(OrdersOverlay, overlay.OverlayWidget) OrdersOverlay = defclass(OrdersOverlay, overlay.OverlayWidget)
OrdersOverlay.ATTRS{ OrdersOverlay.ATTRS{
desc='Adds import, export, and other functions to the manager orders screen.',
default_pos={x=53,y=-6}, default_pos={x=53,y=-6},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Info/WORK_ORDERS/Default', viewscreens='dwarfmode/Info/WORK_ORDERS/Default',
@ -198,6 +199,7 @@ local focusString = 'dwarfmode/Info/WORK_ORDERS/Conditions'
RecheckOverlay = defclass(RecheckOverlay, overlay.OverlayWidget) RecheckOverlay = defclass(RecheckOverlay, overlay.OverlayWidget)
RecheckOverlay.ATTRS{ RecheckOverlay.ATTRS{
desc='Adds a button to the work order details page to tell the manager to recheck conditions.',
default_pos={x=6,y=8}, default_pos={x=6,y=8},
default_enabled=true, default_enabled=true,
viewscreens=focusString, viewscreens=focusString,

@ -636,6 +636,7 @@ end
SquadAssignmentOverlay = defclass(SquadAssignmentOverlay, overlay.OverlayWidget) SquadAssignmentOverlay = defclass(SquadAssignmentOverlay, overlay.OverlayWidget)
SquadAssignmentOverlay.ATTRS{ SquadAssignmentOverlay.ATTRS{
desc='Adds search, sort, and filter capabilities to the squad assignment screen.',
default_pos={x=18, y=5}, default_pos={x=18, y=5},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/UnitSelector/SQUAD_FILL_POSITION', viewscreens='dwarfmode/UnitSelector/SQUAD_FILL_POSITION',
@ -1198,6 +1199,7 @@ end
SquadAnnotationOverlay = defclass(SquadAnnotationOverlay, overlay.OverlayWidget) SquadAnnotationOverlay = defclass(SquadAnnotationOverlay, overlay.OverlayWidget)
SquadAnnotationOverlay.ATTRS{ SquadAnnotationOverlay.ATTRS{
desc='Annotates squad selection candidates with the values of the current sort.',
default_pos={x=56, y=5}, default_pos={x=56, y=5},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/UnitSelector/SQUAD_FILL_POSITION', viewscreens='dwarfmode/UnitSelector/SQUAD_FILL_POSITION',

@ -12,6 +12,7 @@ local diplomacy = df.global.game.main_interface.diplomacy
DiplomacyOverlay = defclass(DiplomacyOverlay, sortoverlay.SortOverlay) DiplomacyOverlay = defclass(DiplomacyOverlay, sortoverlay.SortOverlay)
DiplomacyOverlay.ATTRS{ DiplomacyOverlay.ATTRS{
desc='Adds search and sort functionality to the elevate unit to barony screen.',
default_pos={x=25, y=7}, default_pos={x=25, y=7},
viewscreens='dwarfmode/Diplomacy', viewscreens='dwarfmode/Diplomacy',
frame={w=57, h=1}, frame={w=57, h=1},
@ -110,6 +111,7 @@ end
PreferenceOverlay = defclass(PreferenceOverlay, overlay.OverlayWidget) PreferenceOverlay = defclass(PreferenceOverlay, overlay.OverlayWidget)
PreferenceOverlay.ATTRS{ PreferenceOverlay.ATTRS{
desc='Adds information about unit preferences to the elevate unit to barony screen.',
default_pos={x=-34, y=9}, default_pos={x=-34, y=9},
viewscreens='dwarfmode/Diplomacy/ElevateLandHolder', viewscreens='dwarfmode/Diplomacy/ElevateLandHolder',
default_enabled=true, default_enabled=true,

@ -190,6 +190,7 @@ end
InfoOverlay = defclass(InfoOverlay, sortoverlay.SortOverlay) InfoOverlay = defclass(InfoOverlay, sortoverlay.SortOverlay)
InfoOverlay.ATTRS{ InfoOverlay.ATTRS{
desc='Adds search and filter functionality to most info panels.',
default_pos={x=64, y=8}, default_pos={x=64, y=8},
viewscreens='dwarfmode/Info', viewscreens='dwarfmode/Info',
frame={w=40, h=6}, frame={w=40, h=6},
@ -493,6 +494,7 @@ end
CandidatesOverlay = defclass(CandidatesOverlay, sortoverlay.SortOverlay) CandidatesOverlay = defclass(CandidatesOverlay, sortoverlay.SortOverlay)
CandidatesOverlay.ATTRS{ CandidatesOverlay.ATTRS{
desc='Adds search functionality to the noble assignment page.',
default_pos={x=54, y=8}, default_pos={x=54, y=8},
viewscreens='dwarfmode/Info/ADMINISTRATORS/Candidates', viewscreens='dwarfmode/Info/ADMINISTRATORS/Candidates',
frame={w=27, h=3}, frame={w=27, h=3},
@ -547,6 +549,7 @@ end
WorkAnimalOverlay = defclass(WorkAnimalOverlay, overlay.OverlayWidget) WorkAnimalOverlay = defclass(WorkAnimalOverlay, overlay.OverlayWidget)
WorkAnimalOverlay.ATTRS{ WorkAnimalOverlay.ATTRS{
desc='Annotates units with how many work animals they have assigned on the assign work animal screen.',
default_pos={x=-33, y=12}, default_pos={x=-33, y=12},
viewscreens='dwarfmode/Info/CREATURES/AssignWorkAnimal', viewscreens='dwarfmode/Info/CREATURES/AssignWorkAnimal',
default_enabled=true, default_enabled=true,
@ -617,6 +620,7 @@ end
InterrogationOverlay = defclass(InterrogationOverlay, sortoverlay.SortOverlay) InterrogationOverlay = defclass(InterrogationOverlay, sortoverlay.SortOverlay)
InterrogationOverlay.ATTRS{ InterrogationOverlay.ATTRS{
desc='Adds search and filter capabilities to the justice screens.',
default_pos={x=47, y=10}, default_pos={x=47, y=10},
viewscreens='dwarfmode/Info/JUSTICE', viewscreens='dwarfmode/Info/JUSTICE',
frame={w=27, h=9}, frame={w=27, h=9},

@ -11,6 +11,7 @@ local location_selector = df.global.game.main_interface.location_selector
LocationSelectorOverlay = defclass(LocationSelectorOverlay, sortoverlay.SortOverlay) LocationSelectorOverlay = defclass(LocationSelectorOverlay, sortoverlay.SortOverlay)
LocationSelectorOverlay.ATTRS{ LocationSelectorOverlay.ATTRS{
desc='Adds search and filter capabilities to the temple and guildhall establishment screens.',
default_pos={x=48, y=6}, default_pos={x=48, y=6},
viewscreens='dwarfmode/LocationSelector', viewscreens='dwarfmode/LocationSelector',
frame={w=26, h=3}, frame={w=26, h=3},

@ -147,6 +147,7 @@ end
PlacesOverlay = defclass(PlacesOverlay, sortoverlay.SortOverlay) PlacesOverlay = defclass(PlacesOverlay, sortoverlay.SortOverlay)
PlacesOverlay.ATTRS{ PlacesOverlay.ATTRS{
desc='Adds search functionality to the places overview screens.',
default_pos={x=71, y=9}, default_pos={x=71, y=9},
viewscreens='dwarfmode/Info', viewscreens='dwarfmode/Info',
frame={w=40, h=6} frame={w=40, h=6}

@ -12,6 +12,7 @@ local building = df.global.game.main_interface.building
SlabOverlay = defclass(SlabOverlay, sortoverlay.SortOverlay) SlabOverlay = defclass(SlabOverlay, sortoverlay.SortOverlay)
SlabOverlay.ATTRS{ SlabOverlay.ATTRS{
desc='Adds search and filter functionality to the slab engraving panel.',
default_pos={x=-40, y=12}, default_pos={x=-40, y=12},
viewscreens='dwarfmode/ViewSheets/BUILDING/Workshop', viewscreens='dwarfmode/ViewSheets/BUILDING/Workshop',
frame={w=57, h=3}, frame={w=57, h=3},

@ -16,6 +16,7 @@ local WIDGET_WIDTH = 31
UnitSelectorOverlay = defclass(UnitSelectorOverlay, sortoverlay.SortOverlay) UnitSelectorOverlay = defclass(UnitSelectorOverlay, sortoverlay.SortOverlay)
UnitSelectorOverlay.ATTRS{ UnitSelectorOverlay.ATTRS{
desc='Adds search functionality to the unit assignment screens.',
default_pos={x=62, y=6}, default_pos={x=62, y=6},
viewscreens='dwarfmode/UnitSelector', viewscreens='dwarfmode/UnitSelector',
frame={w=31, h=1}, frame={w=31, h=1},

@ -9,6 +9,7 @@ local widgets = require('gui.widgets')
WorldOverlay = defclass(WorldOverlay, sortoverlay.SortOverlay) WorldOverlay = defclass(WorldOverlay, sortoverlay.SortOverlay)
WorldOverlay.ATTRS{ WorldOverlay.ATTRS{
desc='Adds search functionality to the artifact list on the world raid screen.',
default_pos={x=-18, y=2}, default_pos={x=-18, y=2},
viewscreens='world/ARTIFACTS', viewscreens='world/ARTIFACTS',
frame={w=40, h=1}, frame={w=40, h=1},

@ -394,6 +394,7 @@ end
StockpilesOverlay = defclass(StockpilesOverlay, overlay.OverlayWidget) StockpilesOverlay = defclass(StockpilesOverlay, overlay.OverlayWidget)
StockpilesOverlay.ATTRS{ StockpilesOverlay.ATTRS{
desc='Shows a panel when a stockpile is selected for stockpile automation.',
default_pos={x=24, y=-6}, default_pos={x=24, y=-6},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Some/Stockpile', viewscreens='dwarfmode/Some/Stockpile',

@ -20,6 +20,7 @@ end
StocksOverlay = defclass(StocksOverlay, overlay.OverlayWidget) StocksOverlay = defclass(StocksOverlay, overlay.OverlayWidget)
StocksOverlay.ATTRS{ StocksOverlay.ATTRS{
desc='Adds a hotkey for collapse all to the stocks page.',
default_pos={x=-3,y=-20}, default_pos={x=-3,y=-20},
default_enabled=true, default_enabled=true,
viewscreens='dwarfmode/Stocks', viewscreens='dwarfmode/Stocks',

@ -835,6 +835,7 @@ end
PasturePondOverlay = defclass(PasturePondOverlay, overlay.OverlayWidget) PasturePondOverlay = defclass(PasturePondOverlay, overlay.OverlayWidget)
PasturePondOverlay.ATTRS{ PasturePondOverlay.ATTRS{
desc='Adds a link to launch the animal assignment UI to pastures and ponds.',
default_pos={x=7,y=13}, default_pos={x=7,y=13},
default_enabled=true, default_enabled=true,
viewscreens={'dwarfmode/Zone/Some/Pen', 'dwarfmode/Zone/Some/Pond'}, viewscreens={'dwarfmode/Zone/Some/Pen', 'dwarfmode/Zone/Some/Pond'},
@ -952,6 +953,7 @@ end
CageChainOverlay = defclass(CageChainOverlay, overlay.OverlayWidget) CageChainOverlay = defclass(CageChainOverlay, overlay.OverlayWidget)
CageChainOverlay.ATTRS{ CageChainOverlay.ATTRS{
desc='Adds a link to launch the animal assignment UI to cages and chains.',
default_pos={x=-40,y=34}, default_pos={x=-40,y=34},
default_enabled=true, default_enabled=true,
viewscreens={'dwarfmode/ViewSheets/BUILDING/Cage', 'dwarfmode/ViewSheets/BUILDING/Chain'}, viewscreens={'dwarfmode/ViewSheets/BUILDING/Cage', 'dwarfmode/ViewSheets/BUILDING/Chain'},