Skip to content

Commit

Permalink
feat(fs): skin_changer
Browse files Browse the repository at this point in the history
  • Loading branch information
dockfries committed Jul 7, 2024
1 parent 18ca4b8 commit 1a436df
Show file tree
Hide file tree
Showing 3 changed files with 410 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/filterscript/src/scripts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ export * from "./pirate_ship";
export * from "./safe_animated";
export * from "./samp_anims";
export * from "./sf_building1";
export * from "./skin_changer";
16 changes: 16 additions & 0 deletions packages/filterscript/src/scripts/skin_changer/constants/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export const TOTAL_ITEMS = 312;
export const SELECTION_ITEMS = 21;
export const ITEMS_PER_LINE = 7;

export const HEADER_TEXT = "Skins";
export const NEXT_TEXT = "Next";
export const PREV_TEXT = "Prev";

export const DIALOG_BASE_X = 75.0;
export const DIALOG_BASE_Y = 130.0;
export const DIALOG_WIDTH = 550.0;
export const DIALOG_HEIGHT = 180.0;
export const SPRITE_DIM_X = 60.0;
export const SPRITE_DIM_Y = 70.0;

export const gItemList = Array.from({ length: TOTAL_ITEMS }).map((_, i) => i);
Loading

0 comments on commit 1a436df

Please sign in to comment.