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

Request: Easier editor for IPRP_SPELLS similar to spells.2da #24

Open
Finaldeath opened this issue Jun 19, 2024 · 0 comments
Open

Request: Easier editor for IPRP_SPELLS similar to spells.2da #24

Finaldeath opened this issue Jun 19, 2024 · 0 comments

Comments

@Finaldeath
Copy link

Finaldeath commented Jun 19, 2024

iprp_spells.2da is a huge 2da with 539 default entries, with 10 columns to boot, and you need to hand edit to add any new spells to be available on items.

It'd be amazing if the entries were made editable in an easier way like how spells are. Some additional features that could be added:

Button to generate a new line from a given selected spell:

  • Input automatic name based off spell name + level (can be overriden but this would be a great default)
  • Copy over the spell ID to SpellIndex
  • Automatic minimum caster level (can just base on Wizard progression, "Innate" spell level * 2 - 1 == minimum class level to get).
  • Copy over the Innate column to InnateLvl - this column is unused in iprp_spells but keeps it consistent. Could even make it uneditable.
  • Cost could be automatically calculated (or a tickbox to "manually input" or have a box for adjustments) since it should be "CasterLvl * InnateLvl * 750" as per notes here: https://nwn.wiki/display/NWN1/iprp_spells.2da (Epic spells are "special" so get massive additions though)
  • Automatically default the Potion, Wand and General columns:
  • Potion - If the spell is not considered hostile, and can target "Creature" (This captures a lot of stuff but is near enough)
  • Wand - If the spell level is 4 or lower
  • General - Just always tick this one
  • Automatically name the icon field (ie original spell icon name eg is_something becomes iss_something)

It could even be done as a editor inside of each spell, but tbh that could get messy fast (several need multiple entries for different caster levels so it's 1:Many).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant