Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magiclysm: Magic books now have similar color codes to regular books #31318

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

KorGgenT
Copy link
Member

@KorGgenT KorGgenT commented Jun 11, 2019

Summary

SUMMARY: Mods "Magic books now have similar color codes to regular books"

Purpose of change

Grey is pretty drab. it doesn't really tell you that it's a book with information you want. I decided to take a look at assigning colors to the magic books similarly to how regular skill books are color coded: to do this, i check to see if an item has the learn_spell iuse, and then check the spells in that iuse_actor to see if the player can learn the spell, or can study the spell.

As such, a yellow color means a spellbook has no new spells you can learn, but spells you can study, and a blue spellbook has spells you can learn. spellbooks that you have the max level spell in or can't learn via other reasons are grey.

Here is a screenshot with a character that only knows "smite":
image

@KorGgenT KorGgenT added Info / User Interface Game - player communication, menus, etc. Mods Issues related to mods or modding [C++] Changes (can be) made in C++. Previously named `Code` labels Jun 11, 2019
@ZhilkinSerg ZhilkinSerg self-assigned this Jun 11, 2019
@ZhilkinSerg ZhilkinSerg merged commit d21ddaf into CleverRaven:master Jun 11, 2019
@ZhilkinSerg ZhilkinSerg removed their assignment Jun 11, 2019
@KorGgenT KorGgenT added the Mods: Magiclysm Anything to do with the Magiclysm mod label Jun 30, 2019
@KorGgenT KorGgenT deleted the magic-stuff branch August 13, 2020 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. Mods: Magiclysm Anything to do with the Magiclysm mod Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants