Skip to content

Lovely dir sub-folders + slight cleanup#1204

Open
Gloompashcy wants to merge 2 commits intoSteamodded:mainfrom
Gloompashcy:lovely_dir_cleanup
Open

Lovely dir sub-folders + slight cleanup#1204
Gloompashcy wants to merge 2 commits intoSteamodded:mainfrom
Gloompashcy:lovely_dir_cleanup

Conversation

@Gloompashcy
Copy link
Contributor

@Gloompashcy Gloompashcy commented Feb 9, 2026

Sorts the lovely directory (as of commit bbaffdee/version 1.0.0~BETA-1408c) into folders based on the patches' purposes. Also merges some patch files that had similar purposes with the same priority. Closes(?) #1177.

Full Changes:

Renamed files:

achievements.toml -> achievement.toml
deck_skins.toml -> deck_skin.toml

Merged files:

cardarea.toml + cardareas.toml -> cardarea.toml
better_calc.toml + better_calc_fixes.toml -> better_calc.toml

New Sub-Folders:

better_calc

Contains patch files related to calculations.

Contains Files:

  • better_calc.toml
  • calc_returns.toml
  • can_calculate.toml

Contains Sub-Folders:

  • new_calculation
    Contains patch files where the main purpose is to add new calculation step(s).
    • calculate_card_added.toml
    • joker_retriggers.toml
    • listed_probabilities.toml
    • scaling.toml
    • shop.toml
  • object_vals
    Contains patch files where the main purpose is to change how values are calculated.
    • card_limit.toml
    • hand_limit.toml
    • perma_bonus.toml

engine

Contains patch files related to engine actions.

Contains Files:

  • event.toml
  • threads.toml

objects

Contains patch files related to game objects.

Contains Sub-Folders:

  • smods
    Contains patch files for objects that are not in vanilla/are not objects in vanilla.
    • jimboquip.toml
    • keybind.toml
    • language.toml
    • scoring_calculation.toml
    • sound.toml
  • vanilla_collection
    Contains patch files for objects that are in the vanilla collection.
    • blind.toml
    • seal.toml
    • stake.toml
    • sticker.toml
    • tag.toml
    • Sub-folder: centers
      • back.toml
      • booster.toml
      • center.toml
      • edition.toml
      • enhancement.toml
  • vanilla_other
    Contains patch files for other objects that are in vanilla.
    • achievement.toml
    • cardarea.toml
    • challenge.toml
    • playing_card.toml
    • poker_hand.toml
    • rarity.toml
  • visual
    Contains patch files for objects that influence other objects' looks.
    • atlas.toml
    • deck_skin.toml
    • gradient.toml

shaders

Contains patch files related to shaders.

Contains Files:

  • screen_shader_stack.toml
  • shaders.toml

smods_core

Contains patch files that add smods files, libs, etc. to the game.

Contains Files:

  • compat_0_9_8.toml
  • core.toml
  • crash_handler.toml
  • libs.toml
  • loader.toml
  • preflight.toml

sprites

Contains patch files that change how sprites are drawn/created.

Contains Files:

  • create_sprites.toml
  • easings.toml
  • joker_size.toml

ui

Contains patch files related to changing and creating ui.

Contains Files:

  • compact_cashout.toml
  • dollar_row.toml
  • menu.toml
  • ui.toml
  • ui_elements.toml

Contains Sub-Folders:

  • object_ui
    Contains patch files related to changing a game object's ui.
    • blind_ui.toml
    • poker_hand_screen.toml
    • poker_hand_text.toml
  • text
    Contains patch files related to text (descriptions, dynamic text, etc.).
    • multi_box_descriptions.toml
    • number_formatting.toml
    • text_effect.toml
    • ui_additional_text_props.toml

lovely

These patch files did not fit within the other groups and remain in the top lovely folder.

  • fixes.toml
  • mod.toml
  • pool.toml

Additional Notes:

  • CODEOWNERS has not been changed to reflect the new paths to crash_handler.toml and libs.toml
  • pool.toml and mod.toml could reasonably be placed directly in lovely/objects
  • No priorities have been changed

Additional Info:

  • I didn't modify api's or I've made a PR to the wiki repo.
  • I didn't modify api's or I've updated lsp definitions.
  • I didn't make new lovely files or all new lovely files have appropriate priority.

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