As another example, I tend to add pChat as an optional dependency. That way, I can place d() messages and have them show up even if they're called before the chat loads. Another optional dependency in one of my addons is MasterMerchant - that allows me to make sure I can ask MM for price checks. Finally, to see an example of a non optional dependency, check out Master Merchant. It has MM00-MM15 as dependencies, and the addon won't load without those active.
|