diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 2e7b1866c36..eb62fc97a16 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -1023,3 +1023,12 @@ GLOBAL_LIST_INIT(localhost_addresses, list( /// This grabs the DPI of the user per their skin /client/proc/acquire_dpi() window_scaling = text2num(winget(src, null, "dpi")) + +/client/verb/set_icon_size() + set name = "Set View Zoom" + set desc = "Lets you zoom in." + set category = "OOC" + + var/list/zoom_options = list("Default" = 0, "Low" = 3, "Medium" = 6, "High" = 10, "Extreme" = 15) + var/selected_zoom = tgui_input_list(usr, "Please select a zoom level for your view.", "Set View Zoom", zoom_options, zoom_options[1]) + winset(src, "mapwindow.map", "zoom=[zoom_options[selected_zoom]]") diff --git a/html/changelogs/geeves-zoom_for_screenies.yml b/html/changelogs/geeves-zoom_for_screenies.yml new file mode 100644 index 00000000000..51afa5cfcd5 --- /dev/null +++ b/html/changelogs/geeves-zoom_for_screenies.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "Added the option to set your view zoom in the OOC tab. Use this for screenshots or cheating at melee fights."