mr:journal_mechanic
Table of Contents
Journal Mechanic - Machine Reference
This page contains machine-readable reference information about the Journal mechanic for automated tools and AI assistants.
Entity Information
- Entity Type: Game Mechanic / UI Feature
- Implementation: Java (Journal.java) + String Resources
- Primary Class: com.watabou.pixeldungeon.Journal
Java Implementation
- Class: Journal.java
- Key Methods:
- `add(feature)` - Add journal entry
- `remove(feature)` - Remove journal entry
- `contains(feature)` - Check if entry exists
- `desc()` - Get description for feature
- Feature Enum: Journal.Feature defines trackable entries (SCARECROW, IMP, etc.)
Journal Features
- SCARECROW - Scarecrow candy collection quest tracking
- IMP - Imp quest tracking (added when quest given, removed when completed)
- Additional features defined in Journal.Feature enum
String Resources
- Descriptions: Journal_*_Desc pattern (e.g., Journal_Scarecrow_Desc, Journal_Imp_Desc)
- English: strings_all.xml
- Russian: strings_all.xml (ru)
Integration Points
- Scarecrow NPC: Adds/removes SCARECROW feature
- Imp NPC: Adds IMP feature when quest given, removes when completed
- UI: Journal window displays active entries
- Quest System: Automatic tracking via Journal.add/remove calls
Code References
- Journal.java - Core implementation
- Scarecrow.java - Scarecrow journal integration
- Imp.lua - Imp journal integration (Lua)
- strings_all.xml - String resources
Related mr Entities
- Scarecrow NPC - Adds journal entries
- Imp NPC - Adds/removes journal entries
- UI System - Journal display
mr/journal_mechanic.txt · Last modified: by 127.0.0.1
