Interkarma / daggerfall-unity

Open source recreation of Daggerfall in the Unity engine
http://www.dfworkshop.net
MIT License
2.67k stars 326 forks source link

Quest item resource mod support #2650

Open ajrb opened 3 months ago

ajrb commented 3 months ago

This adds a new format for defining items in quest scripts enabling creation of modded items that have classes. The new form is:

Item _thing_ item class 27 template 512

The class specified is only used if the templateIndex isn't registered, otherwise it uses the item class.

Also fixed a code error that had not been spotted because it didn't cause any issues until I added this form.