What is the enhancement in mind? How should it look and feel?
A method to add own "PROVIDED_CODES (custom default texts) to LuaTexts module.
Why could this usefull?
Imagine a module that provides some new method to be used by LuaTexts, eg. r, g, b = GetStanceColor(), IsUnitKillOnSight(unit) and the author wanted to give user's some predefined LuaText code to introduce the new features or to make user's live easier (because user's are always lazy :) ).
Please provide any additional information below.
Afaik this shouldn't be hard to implement. The biggest change needed is in PitBull4_LuaTexts:SetLayoutOptionsFunction(...), wer the 'default_codes' get-ter and set-ter functions need to be tuned to handle additional PROVIDED_CODES and the values entry needs be be updated as well.
|ExampleHack.lua||Code that enables adding own ...||3.3 KiB||63e8a55433c7...|
- 5 comments
- Last updated
- Mar 11, 2013
- Sep 20, 2010
- New - Issue has not had initial review yet.
- Enhancement - A change which is intended to better the project in some way
- Medium - Normal priority.