(nukstr): Make it a struct genitem: add members nuk_effic, nuk_mobil,
nuk_tech, nuk_stockpile, nuk_opx, nuk_opy, nuk_mission, nuk_radius. These have no effect, yet. (build_nuke): Initialize them. (nuke_ca): Add genitem selectors: effic, mobil, tech, group, opx, opy, mission, radius. (tran_nuke): Zap mission, just in case somebody invents missions for nukes. (trade_desc): Show tech and efficiency, for consistency with other units.
This commit is contained in:
parent
2e40a4bb90
commit
802f69b039
5 changed files with 23 additions and 22 deletions
|
@ -44,6 +44,13 @@ struct nukstr {
|
|||
short nuk_uid;
|
||||
coord nuk_x, nuk_y; /* current loc of device */
|
||||
signed char nuk_type; /* index in plchr[] */
|
||||
signed char nuk_effic; /* unused, always 100% */
|
||||
signed char nuk_mobil; /* unused, always 0 */
|
||||
short nuk_tech; /* nuke's tech level */
|
||||
char nuk_stockpile; /* group membership, unused, always ' ' */
|
||||
coord nuk_opx, nuk_opy; /* Op sector coords, unused */
|
||||
short nuk_mission; /* mission code, unused */
|
||||
short nuk_radius; /* mission radius, unused */
|
||||
/* end of part matching struct genitem */
|
||||
short nuk_ship; /* currently aboard ship (unused) */
|
||||
short nuk_plane; /* currently aboard plane */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue