Updates for CustomNotifications

Sneaks

Brooklyn Bum
Joined
Oct 15, 2010
Messages
1,877
Location
NYC
Thal, the following files need to be replaced with newer versions of Custom Notifications:

NotificationPanel.lua
CustomNotification.lua
BC - Events.lua
BC - Events.xml
(These 4 files included in the .zip attached)


Deletes Needed:
The BCEventsNotification Addin

Content line added:
NotificationAddin for BC - Events.lua

Renames:
Rename every include for "lib" to "ClassUtils" and rename lib.lua to ClassUtils.lua.

The problem is that the include function seems to grab any file that starts a string with "lib", so the game will accidentally include something like "liberationboost.lua" instead of lib.lua.
ClassUtils.lua better defines the utility functions, anyhow.
 

Attachments

Ah... I replaced the first 2 files and did a rename for 'lib' but forgot I needed to update other things. Thanks for the details! :crazyeye:

I'm avoiding generic names like "ClassUtils" because some other modder might make a file with that name some day. "AlpacaUtils" is unlikely to run into a duplicate.
 
I'd hardly say ClassUtils is really too generic. In fact, the file would probably be twice as useful to modders, as they would know what the heck it means. It also fits the naming standards of ShareData and SaveUtils, both very generically named, and for the better.
 
Back
Top Bottom