feat/redesign #1

Merged
rukira merged 20 commits from feat/redesign into main 2026-05-15 14:53:16 +01:00
5 changed files with 14 additions and 5 deletions
Showing only changes of commit ac01e4474c - Show all commits

View file

@ -2,7 +2,7 @@
## Title: AltSystem ## Title: AltSystem
## Notes: Enhances RP gameplay with a custom rolling system ## Notes: Enhances RP gameplay with a custom rolling system
## Author: Rukira ## Author: Rukira
## Version: 1.1 ## Version: 2.0
## Dependencies: totalRP3, totalRP3_Extended ## Dependencies: totalRP3, totalRP3_Extended
## SavedVariables: AltSystemDB ## SavedVariables: AltSystemDB

12
docs/4-redesign.md Normal file
View file

@ -0,0 +1,12 @@
# Feature: Major Redesign
This redesign of the Addon's window will start by following the following [design](./roll_tab_design.png)
- The window will be a tabbed window
- The 'Use Skills' tab will correspond to the current roll screen
- The 'Build Skills' tab will be a new screen, to be implemented later. For now, leave it empty.
- The 'Log' should record all rolls made by the user, and be displayed in a scrollable list.
- They should be displayed in the same style as the announced rolls, even when the announce option is off
- The log should store a maximum of 100 rolls
## Implementation details
TODO

View file

@ -1,3 +0,0 @@
- Adding default 'Unskilled (-4)' option
- The roll window now remembers all user selections (skill, item, armor type, shield, pet, announce and channel) across sessions
- Fixed an issue where the wrong rolls were displayed when in a large enough group

BIN
docs/roll_tab_design.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View file

@ -7,7 +7,7 @@ OUTPUT_FILE="$OUTPUT_DIR/$ADDON_NAME.zip"
STAGING_DIR="$(mktemp -d)" STAGING_DIR="$(mktemp -d)"
mkdir -p "$STAGING_DIR/$ADDON_NAME" mkdir -p "$STAGING_DIR/$ADDON_NAME"
rsync -a --exclude='.DS_Store' --exclude='__MACOSX' --exclude='.git' "$SCRIPT_DIR/" "$STAGING_DIR/$ADDON_NAME/" rsync -a --exclude='.DS_Store' --exclude='__MACOSX' --exclude='.git' --exclude='docs' "$SCRIPT_DIR/" "$STAGING_DIR/$ADDON_NAME/"
cd "$STAGING_DIR" && \ cd "$STAGING_DIR" && \
zip -r "$OUTPUT_FILE" "$ADDON_NAME" zip -r "$OUTPUT_FILE" "$ADDON_NAME"