Disable card packs, add project skills, update workshop config
- Disable card pack creation (feature not working, moved to upcoming) - Add /build and /deploy project skills for workflow automation - Add workshop files to .gitignore - Update CLAUDE.md with project skills section and status 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c7a131869
commit
d3d3b998c3
6
.gitignore
vendored
6
.gitignore
vendored
@ -10,6 +10,7 @@ obj/
|
|||||||
|
|
||||||
# Claude Code private notes
|
# Claude Code private notes
|
||||||
.claude/scratchpad/
|
.claude/scratchpad/
|
||||||
|
.claude/skills/
|
||||||
|
|
||||||
# OS files
|
# OS files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
@ -28,3 +29,8 @@ CardSets/*
|
|||||||
|
|
||||||
# Preview image (generate your own)
|
# Preview image (generate your own)
|
||||||
# preview.png
|
# preview.png
|
||||||
|
|
||||||
|
# Steam Workshop (local config)
|
||||||
|
workshop-staging/
|
||||||
|
workshop.vdf
|
||||||
|
workshop-upload.sh
|
||||||
|
|||||||
26
CLAUDE.md
26
CLAUDE.md
@ -36,6 +36,15 @@ dotnet build TradingCardMod.csproj -c Release
|
|||||||
./remove.sh --backup
|
./remove.sh --backup
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Project Skills
|
||||||
|
|
||||||
|
Two workflow skills are available in this project:
|
||||||
|
|
||||||
|
- `/build` - Build and deploy locally for testing (runs `dotnet build` + `./deploy.sh`)
|
||||||
|
- `/deploy` - Build Release and stage for Steam Workshop upload (uses `workshop-upload.sh`)
|
||||||
|
|
||||||
|
Skills are defined in `.claude/skills/`.
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -163,8 +172,8 @@ Key namespaces and APIs from the game:
|
|||||||
|
|
||||||
## Current Project Status
|
## Current Project Status
|
||||||
|
|
||||||
**Phase:** 3 Complete - Storage & Pack System ✅
|
**Phase:** 3 - Storage System ✅
|
||||||
**Status:** Ready for first release candidate
|
**Status:** Ready for first release
|
||||||
**Project Plan:** `.claude/scratchpad/PROJECT_PLAN.md`
|
**Project Plan:** `.claude/scratchpad/PROJECT_PLAN.md`
|
||||||
**Technical Analysis:** `.claude/scratchpad/item-system-analysis.md`
|
**Technical Analysis:** `.claude/scratchpad/item-system-analysis.md`
|
||||||
|
|
||||||
@ -177,7 +186,6 @@ Key namespaces and APIs from the game:
|
|||||||
- "TradingCard": Identifies trading cards
|
- "TradingCard": Identifies trading cards
|
||||||
- "BinderSheet": Identifies binder sheet items
|
- "BinderSheet": Identifies binder sheet items
|
||||||
- "CardBinderContent": Parent tag for both cards and binder sheets (enables hierarchical storage)
|
- "CardBinderContent": Parent tag for both cards and binder sheets (enables hierarchical storage)
|
||||||
- Card packs with gacha-style mechanics (weighted random distribution)
|
|
||||||
- Hierarchical storage system:
|
- Hierarchical storage system:
|
||||||
- **Binder Sheet** (9 slots, weight 0.1): Holds trading cards only
|
- **Binder Sheet** (9 slots, weight 0.1): Holds trading cards only
|
||||||
- **Card Binder** (12 slots, weight 1.5): Holds trading cards OR binder sheets
|
- **Card Binder** (12 slots, weight 1.5): Holds trading cards OR binder sheets
|
||||||
@ -185,7 +193,7 @@ Key namespaces and APIs from the game:
|
|||||||
- Card set exclusion: Prefix folders with `_` to disable loading
|
- Card set exclusion: Prefix folders with `_` to disable loading
|
||||||
- ModConfig integration:
|
- ModConfig integration:
|
||||||
- Enhanced card info display (set name, number, rarity)
|
- Enhanced card info display (set name, number, rarity)
|
||||||
- Mod statistics display (total cards, packs, disabled sets)
|
- Mod statistics display (total cards, disabled sets)
|
||||||
- Debug spawn window with F10 key (for testing):
|
- Debug spawn window with F10 key (for testing):
|
||||||
- Spawn storage items (Card Binder, Binder Sheet)
|
- Spawn storage items (Card Binder, Binder Sheet)
|
||||||
- Spawn random cards by rarity
|
- Spawn random cards by rarity
|
||||||
@ -193,9 +201,9 @@ Key namespaces and APIs from the game:
|
|||||||
- Disassembly support for storage items:
|
- Disassembly support for storage items:
|
||||||
- Binder Sheet → 2x Polyethylene Sheet
|
- Binder Sheet → 2x Polyethylene Sheet
|
||||||
- Card Binder → 4x Polyethylene Sheet
|
- Card Binder → 4x Polyethylene Sheet
|
||||||
- Cards/packs intentionally have no disassembly (collectibles)
|
- Cards intentionally have no disassembly (collectibles)
|
||||||
- Deploy/remove scripts for quick iteration
|
- Deploy/remove scripts for quick iteration
|
||||||
- Unit tests for parsing logic and pack system
|
- Unit tests for parsing logic
|
||||||
|
|
||||||
### Implementation Approach: Clone + Reflection
|
### Implementation Approach: Clone + Reflection
|
||||||
|
|
||||||
@ -208,10 +216,14 @@ Based on analysis of the AdditionalCollectibles mod:
|
|||||||
5. **Load sprites** from user files in `CardSets/*/images/`
|
5. **Load sprites** from user files in `CardSets/*/images/`
|
||||||
6. **Attach custom behaviors** for pack opening mechanics
|
6. **Attach custom behaviors** for pack opening mechanics
|
||||||
|
|
||||||
|
### Upcoming Features
|
||||||
|
|
||||||
|
- **Card packs** with gacha-style mechanics (weighted random distribution) - disabled pending fix
|
||||||
|
- Additional storage variants or customization options (e.g., larger binders, themed storage boxes)
|
||||||
|
|
||||||
### Future Considerations
|
### Future Considerations
|
||||||
|
|
||||||
- Investigate new ItemBuilder API (added in recent game update) as potential replacement for reflection-based approach
|
- Investigate new ItemBuilder API (added in recent game update) as potential replacement for reflection-based approach
|
||||||
- Additional storage variants or customization options (e.g., larger binders, themed storage boxes)
|
|
||||||
|
|
||||||
### Log File Location
|
### Log File Location
|
||||||
|
|
||||||
|
|||||||
@ -123,8 +123,9 @@ namespace TradingCardMod
|
|||||||
// Create storage items
|
// Create storage items
|
||||||
CreateStorageItems();
|
CreateStorageItems();
|
||||||
|
|
||||||
// Create card packs
|
// Card packs disabled - feature not working correctly
|
||||||
CreateCardPacks();
|
// TODO: Fix pack opening mechanics before re-enabling
|
||||||
|
// CreateCardPacks();
|
||||||
|
|
||||||
// Set up disassembly formulas for all items
|
// Set up disassembly formulas for all items
|
||||||
SetupDisassembly();
|
SetupDisassembly();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user