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:


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).

Change History (2)

comment:1 by Bluestone, 9 years ago

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.

Last edited 9 years ago by Bluestone (previous) (diff)

comment:2 by Funkencool, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.