Skip to content

Squad uniform import export interface #1456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from

Conversation

unboundlopez
Copy link

@unboundlopez unboundlopez commented May 29, 2025

squad-uniform

An overlay UI that allows importing and exporting squad uniforms.

Usage

To use this overlay:

  1. Press q or click to open the squad sidebar.
  2. Select a squad by clicking its checkbox.
  3. Click the Equip button.
  4. Either:
    • Press Add uniform to create a new one, or
    • Click a unit’s Details button to customize their equipment.
  5. The [Import] and [Export] buttons will now appear in the bottom-right corner of the screen.
    • You can also use the hotkeys:
      • Ctrl+I to import a uniform
      • Ctrl+E to export the current uniform

Uniforms are saved to and loaded from the following folder:
Dwarf Fortress\dfhack-config\squad_uniform

unboundlopez and others added 16 commits September 30, 2023 14:53
Searches dwarf citizens through a widget/window.

Things to do is add ctrl + f to launch search-filter or alt + f. Well, any shortcut works as long as it's convenient.
hopefully fixed trailing white spaces
Cleared the whitespace
Search for EOL in VScode settings and click on '\n' to make LF default
I think I'm done. May be compatible with others.
I believe I'm done. I couldn't figure out how to add panels/tabs/buttons to the widget, but that's ok. I changed the conditions so visitors and hostile can be searched alongside citizens using the program.
@unboundlopez unboundlopez deleted the unboundlopez-patch-1 branch May 29, 2025 15:43
@unboundlopez unboundlopez restored the unboundlopez-patch-1 branch May 30, 2025 03:49
@unboundlopez unboundlopez changed the title Unboundlopez patch 1 Squad uniform import export interface May 30, 2025
@unboundlopez unboundlopez reopened this May 30, 2025
@unboundlopez unboundlopez marked this pull request as draft May 30, 2025 04:10
@unboundlopez
Copy link
Author

pre-commit.ci autofix

@unboundlopez unboundlopez marked this pull request as ready for review May 30, 2025 04:12
@unboundlopez
Copy link
Author

Idk how to do pull requests. Sorry if I made unnecessary requests. I’m only interested for this project zUniform.lua and zUniform.rst being reviewed and considered. I have another project I want submit but I’ll try doing it about 8 hours from now.

I’ll also submit a video demonstration of the projects.

@unboundlopez unboundlopez closed this by deleting the head repository May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant