if (!snxtitem(&tenders, EF_SHIP, player->argp[2], "Tender(s)? "))
return RET_SYN;
while (nxtitem(&tenders, &tender)) {
- if (!player->owner)
+ if (!player->owner) {
+ if (tenders.sel == NS_LIST)
+ pr("You don't own ship #%d!\n", tender.shp_uid);
continue;
+ }
if (!(p = getstarg(player->argp[3], "Amount to transfer? ", buf)))
return RET_FAIL;
if (!check_ship_ok(&tender))
return RET_FAIL;
total = 0;
while (nxtitem(&targets, &target)) {
- if (!player->owner)
+ if (!player->owner) {
+ if (targets.sel == NS_LIST)
+ pr("You don't own land unit #%d!\n", target.lnd_uid);
continue;
+ }
if (target.lnd_ship != tender.shp_uid) {
if (targets.sel == NS_LIST)
pr("%s is not on %s!\n",
return RET_SYN;
while (nxtitem(&tenders, &tender)) {
- if (!player->owner)
+ if (!player->owner) {
+ if (tenders.sel == NS_LIST)
+ pr("You don't own ship #%d!\n", tender.shp_uid);
continue;
+ }
if (type == EF_LAND) {
sprintf(prompt, "Land unit(s) to tend from %s? ",
prship(&tender));
return RET_SYN;
while (nxtitem(&lni, &land)) {
- if (!player->owner)
+ if (!player->owner) {
+ if (lni.sel == NS_LIST)
+ pr("You don't own land unit #%d!\n", land.lnd_uid);
continue;
+ }
if (land.lnd_ship != tenderp->shp_uid) {
if (lni.sel == NS_LIST)
pr("%s is not on %s!\n", prland(&land), prship(tenderp));
Play#1 output Play#1 6 0 423
Play#1 input tend f 160/162/163/164
Play#1 command tend
+ Play#1 output Play#1 1 You don't own ship #160!
+ Play#1 output Play#1 1 You don't own ship #162!
+ Play#1 output Play#1 1 You don't own ship #163!
+ Play#1 output Play#1 1 You don't own ship #164!
Play#1 output Play#1 6 0 422
Play#1 input tend f 150 1 -1
Play#1 command tend
Play#1 output Play#1 6 0 409
Play#1 input tend f 160/162/163/164 -1 166
Play#1 command tend
+ Play#1 output Play#1 1 You don't own ship #160!
+ Play#1 output Play#1 1 You don't own ship #162!
+ Play#1 output Play#1 1 You don't own ship #163!
+ Play#1 output Play#1 1 You don't own ship #164!
Play#1 output Play#1 6 0 408
Play#1 input tend f 166 -1 160/162/163/164
Play#1 command tend
Play#1 output Play#1 6 0 396
Play#1 input tend land 160/162/163/164
Play#1 command tend
+ Play#1 output Play#1 1 You don't own ship #160!
+ Play#1 output Play#1 1 You don't own ship #162!
+ Play#1 output Play#1 1 You don't own ship #163!
+ Play#1 output Play#1 1 You don't own ship #164!
Play#1 output Play#1 6 0 395
Play#1 input tend land 150 -1
Play#1 command tend
Play#1 output Play#1 6 0 376
Play#1 input ltend f 212
Play#1 command ltend
+ Play#1 output Play#1 1 You don't own ship #212!
Play#1 output Play#1 6 0 375
Play#1 input tend f 200 1 -1
Play#1 command tend
Play#1 output Play#1 6 0 373
Play#1 input ltend f 200 1 26
Play#1 command ltend
+ Play#1 output Play#1 1 You don't own land unit #26!
Play#1 output Play#1 1 0 total food transferred off of cs cargo ship (#200)
Play#1 output Play#1 6 0 372
Play#1 input ltend f 200 1 0