CleverRaven / CleverRaven/Cataclysm-DDA
(Magiclysm) learning new spells change preexisting keybinds
- Dominant language
- C++
- Stars
- 13.2k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 205
Description
### Describe the bug
When learning new spells, they will often be placed on top or at the middle of the spellcasting list, forcing the player to memorize new keybinds or changing them back one by one
### Steps To Reproduce
1. Start as novice necromancer
2. Debug spawn finger firelighter scroll and learn it
3. Notice how the new spell changed every preexisting keybind
### Expected behavior
New spells are placed at the end of the list to avoid changing keybinds with every new spell
### Screenshots
_No response_
### Versions and configuration
- OS: Windows 10
- Game Version: 0.E-9280-g9dde4db-dirty
- Graphics version: Tiles
- Ingame language: English
- Mods loaded: dda, no_npc_food, package_bionic_professions, magiclysm
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue using the novice necromancer setup and the finger firelighter scroll, then trace how learning a spell orders the spellcasting list and assigns keybinds. Done means newly learned spells appear at the end without changing existing spell keybinds, and the reproduction steps no longer show the bug.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100