joelday / papyrus-lang

📜Advanced language tools for the Papyrus scripting language.
Other
105 stars 19 forks source link

Remove prefixes from variable names such as "ak, ai, ab" #189

Closed energyc99 closed 11 months ago

energyc99 commented 11 months ago

This is papyrus naming convention: https://fallout.wiki/wiki/Mod:Creation_Kit/Papyrus_Naming_Conventions such as "iFavorPoints, akPerk, akShout, akSpell, abVerbose"

These variable names is preserved when I override the event.

Would it be possible to add an option to be able to remove this prefix from variable names, and then keep the naming convention of lower camel case?

example: Event OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGazing) ↓ Event OnPlayerBowShot(Weapon weapon, Ammo ammo, float power, bool sunGazing)