Opened 9 years ago
Closed 9 years ago
#583 closed defect (fixed)
information in buildconfig.lua could be autogenerated
Reported by: | Bluestone | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description
at the moment (I think)
buildconfig.lua contains duplicated info - all the unit names and descriptions copied out
smenu has an ugly way of loading this info that relies on having the same hardcoded category names in two different files
@funk: can i replace this with a piece of code that uses UnitDefs properties to determine a units category and constructs essentially exactly the same table?
(the code to do this already exists in the gadget that does the unit icon assignments).
Note:
See TracTickets
for help on using tickets.
the reason i'd like to this was because i planned to replace quite a few of the unit descs with more sensible ones! also, in particular missions i might give units special roles.