Forbid selling conquered populace
Only relevant when the deity allows selling civilians by customizing table item, which is probably a bad idea.
This commit is contained in:
parent
324109ae45
commit
30dbd609bc
1 changed files with 4 additions and 0 deletions
|
@ -94,6 +94,10 @@ sell(void)
|
|||
pr("Sectors need at least 1 mobility to sell goods.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
if (ip->i_uid == I_CIVIL && sect.sct_oldown != sect.sct_own) {
|
||||
pr("You can't sell conquered populace!\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
p = getstarg(player->argp[3], "Quantity: ", buf);
|
||||
if (!p || !*p)
|
||||
return RET_SYN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue