Forbid selling units with unsalable cargo, permit selling military
Deities can customize which commodities can be sold in table item. Default is to allow anything but civilians and military. However, this applies only to the commodity market, not to the unit market: cargo of ships and land units is not restricted. Make the two markets consistent: permit selling military by default, forbid selling units carrying unsalable commodities. This outlaws selling units carrying civilians by default.
This commit is contained in:
parent
6c086a8110
commit
324109ae45
4 changed files with 38 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
# item.config: Item characteristics
|
||||
#
|
||||
# Known contributors to this file:
|
||||
# Markus Armbruster, 2006-2011
|
||||
# Markus Armbruster, 2006-2012
|
||||
#
|
||||
# Derived from item.c; no known contributors.
|
||||
#
|
||||
|
@ -45,7 +45,7 @@
|
|||
config item # ineff norm ware urban bank
|
||||
uid mnem val sell lbs pkg(0) pkg(1) pkg(2) pkg(3) pkg(4) melt name
|
||||
0 "c" 1 0 1 1 10 10 10 10 4 "civilians"
|
||||
1 "m" 0 0 1 1 1 1 1 1 20 "military"
|
||||
1 "m" 0 1 1 1 1 1 1 1 20 "military"
|
||||
2 "s" 5 1 1 1 1 10 1 1 80 "shells"
|
||||
3 "g" 60 1 10 1 1 10 1 1 100 "guns"
|
||||
4 "p" 4 1 1 1 1 10 1 1 50 "petrol"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue