SimpleLuaTweaker
================

Author: Zaryx-Aszune (EU)
Version: 1.0.0.0
Game Version: The War Within (11.2.7+) / Midnight-ready (12.0)

--------------------------------------------------
WHAT IS SIMPLELUATWEAKER?
--------------------------------------------------

SimpleLuaTweaker is a lightweight, Blizzard-friendly addon that improves
World of Warcraft’s default LUA error window without replacing it.

The goal is simple:
- Make the error window more usable.
- Keep the default Blizzard UI intact.
- Avoid fragile hooks or invasive modifications.
- Minimize the risk of breakage across patches.

If Blizzard didn’t already do it this way, this addon does it *carefully*.


--------------------------------------------------
FEATURES
--------------------------------------------------

• Resizable LUA error window
  - Adds a small external resize tab instead of modifying the frame itself.

• Adjustable font size
  - Fine-grained slider.
  - Updates live while the error window is open.

• Combat-safe error handling
  - Optionally suppresses LUA errors during combat.
  - Errors reappear automatically once combat ends.
  - Optional one-time chat notice per combat (no spam).

• Persistent window state
  - Remember size (optional).
  - Remember position (optional).
  - Uses Blizzard’s true default size when disabled.

• Easy way to close LUA-errors
  -ESC will now close the LUA-error window.

• Quick access settings
  - Cogwheel tab directly on the LUA error window.
  - Toggle settings open/close with a single click.

• Slash commands
  /slt              - Shows this list of commands.
  /slt help         - Same as /slt
  /slt options      - Toggle settings window.
  /slt settings     - Same as /slt options
  /slt lua          - Re-open the LUA-error window (if available).
  /slt error	    - Same as /slt lua
  /slt reset        - Reset the position of the options-window.


--------------------------------------------------
DESIGN PHILOSOPHY
--------------------------------------------------

SimpleLuaTweaker is intentionally conservative.

• No frame replacements.
• No heavy rewrites.
• No insecure hooks.
• No combat-taint risks.
• No visual restyling of Blizzard frames.

All additions (resize tab, settings cog) are external and layered
on top of the default UI in a reversible, non-invasive way.

This approach dramatically reduces the chance of:
- Patch breakage.
- UI taint.
- Combat lockdown issues.
- Conflicts with other addons.


--------------------------------------------------
COMPATIBILITY
--------------------------------------------------

• Built using modern Blizzard APIs.
• Safe for The War Within (11.2.7+).
• Designed with Midnight (12.0) restrictions in mind.
• Compatible with other error-handling addons
  (BugSack, Swatter, etc.).

If Blizzard changes the LUA error system, this addon is designed
to fail gracefully rather than catastrophically.


--------------------------------------------------
WHY THIS ADDON EXISTS
--------------------------------------------------

Because:
- LUA errors shouldn’t break immersion mid-combat.
- Copying error text shouldn’t be painful.
- The default UI is good — it just needs a few tweaks.

SimpleLuaTweaker stays out of Blizzard’s way and fixes only what’s necessary.


--------------------------------------------------
INSTALLATION
--------------------------------------------------

1. Extract the SimpleLuaTweaker folder into:
   World of Warcraft/_retail_/Interface/AddOns/

2. Enable the addon in the character selection screen.

That’s it.


--------------------------------------------------
SUPPORT / FEEDBACK
--------------------------------------------------

If you encounter issues or have suggestions:
- Report them on the addon’s CurseForge page.
- Include the WoW version and a brief description.

Minimal addons deserve minimal bugs.


--------------------------------------------------
THANK YOU
--------------------------------------------------

Thanks for using SimpleLuaTweaker.
Sometimes the best addon is the one you barely notice.
