(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
|
@ -114,8 +114,8 @@ trade_desc(struct trdstr *tp, union trdgenstr *tgp)
|
|||
case EF_NUKE:
|
||||
np = &tgp->nuk;
|
||||
tp->trd_owner = np->nuk_own;
|
||||
pr("(%3d) %s #%d",
|
||||
tp->trd_owner,
|
||||
pr("(%3d) tech %d %d%% %s #%d",
|
||||
tp->trd_owner, np->nuk_tech, np->nuk_effic,
|
||||
nchr[(int)np->nuk_type].n_name, tp->trd_unitid);
|
||||
break;
|
||||
case EF_SHIP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue