Divergent/mods/Personal Adjustable Waypoint/gamedata/configs/scripts/paw/menu_actions.ltx

197 lines
4.8 KiB
Plaintext
Raw Permalink Normal View History

2024-03-17 20:18:03 -04:00
; This file allows you to customize the context menu options available
; when right-clicking on mapspots when PAW is active.
;
; enable: setting this to false will hard-killswitch an option to off
; order : not currently implemented
; mode : controls when the option is shown, see below
; text : translation string to display in the menu option
; act : the action executed by the option - currently only pn_add
; has any use beyond the existing option for that action
; icon : forces use of this icon - only for action pn_add
; Modes:
; -1: only when debug mode is enabled
; 0: disabled completely
; 1: enabled in normal view only
; 2: enabled in cartography mode only
; 4: enabled in both
; ==================================================
[my_stash_icon]
; This is an example of how you can add a
; new menu option that drops a pin with a
; specific icon. It is disabled by default.
;
; To make your own:
; 1. Make a copy of everything between the ==
; lines, including the [my_stash_icon]
; section name at the top.
; 2. Rename the section to something unique
; (different from any other in this file).
; 3. Change enable to true.
; 4. Choose any valid icon from icons.ltx and
; replace stash_green with that.
; 5. Change the mode number, if desired.
; 6. Edit the text as desired - this can be
; either a string literal as in the example,
; or the ID of a valid translation string as
; in most of the default functions.
mode = 4
enable = false
text = "Place stash icon"
act = pn_add
icon = stash_green
; Your new quick pin option should now appear
; in the context menu when you right-click on
; any mapspot. You can make more than one as
; long as each has a unique section name.
;
; NOTE: this file will be overwritten when PAW is
; updated. Back up your customizations.
2024-03-17 20:18:03 -04:00
; ==================================================
[mping]
; Ping the map
mode = 2
2024-03-17 20:18:03 -04:00
enable = true
text = ui_mcm_pawsys_pawmenu_mping
act = mping
[wp_set]
; Set a new waypoint here when one does not exist yet
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_wp_set
act = wp_set
[wp_mov]
; Move an existing waypoint to here
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_wp_mov
act = wp_mov
[wp_del]
; Remove the existing waypoint
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_wp_del
act = wp_del
[pn_add]
; Add a new map pin
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_pn_add
act = pn_add
[pn_del]
; Delete a map pin
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_pn_del
act = pn_del
[pn_settings]
; Open Pin Settings window
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_pn_settings
act = pn_settings
[wp_settings]
; Open Waypoint Settings window
2024-03-17 20:18:03 -04:00
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_wp_settings
act = wp_settings
2024-03-17 20:18:03 -04:00
[hud_vis_on]
; Shows a pin on the HUD
mode = 2
2024-03-17 20:18:03 -04:00
enable = true
text = ui_mcm_pawsys_pawmenu_hud_vis_on
act = hud_vis_on
[hud_vis_off]
; Hides a pin from the HUD
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_hud_vis_off
act = hud_vis_off
[show_all_pins]
; Show pins if hidden
mode = 2
enable = true
text = ui_mcm_pawsys_pawmenu_show_all_pins
act = show_pins
[hide_all_pins]
; Hides pins if shown
mode = 2
enable = true
text = ui_mcm_pawsys_pawmenu_hide_all_pins
act = hide_pins
[lock_pin]
; Lock pin to prevent changes
mode = 2
enable = true
text = ui_mcm_pawsys_pawmenu_lock_pin
act = lock_pin
[unlock_pin]
; Unlock pin
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_unlock_pin
act = unlock_pin
[show_label]
; Show a hint-like label/caption banner above pin on PDA map
mode = 2
enable = true
text = ui_mcm_pawsys_pawmenu_show_label
act = show_label
[hide_label]
; Hide the label/caption banner
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_hide_label
act = hide_label
[convert_to_pin]
mode = 4
enable = true
text = ui_mcm_pawsys_pawmenu_convert_to_pin
act = convert_to_pin
2024-03-17 20:18:03 -04:00
[pn_clr]
; Clear all map pins - no confirmation!
; Disabled by default, set mode nonzero to enable
2024-03-17 20:18:03 -04:00
mode = 0
enable = true
text = ui_mcm_pawsys_pawmenu_pn_clr
act = pn_clr
;[pn_spt]
; Clear all map pins at this spot - no confirmation
; Not currently working, don't enable
;order = 7
;mode = 2
;enable = false
;text = ui_mcm_pawsys_pawmenu_pn_spt
;act = pn_spt
[cm_dbg]
; Debug menu
mode = -1
enable = false
text = ui_mcm_pawsys_pawmenu_cm_dbg
act = cm_dbg