show: Extend show item to show the power value

Also update "info power" to point to "show item" instead of the
formerly hardcoded values.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-05-27 21:40:11 +02:00
parent 8e187c566f
commit 1307a3be6b
4 changed files with 43 additions and 39 deletions

View file

@ -575,22 +575,22 @@
Play#0 output Play#0 6 0 640
Play#0 input show item
Play#0 command show
Play#0 output Play#0 1 item value sell lbs packing melt item
Play#0 output Play#0 1 mnem in no wh ur bk deno name
Play#0 output Play#0 1 c 1 no 1 1 10 10 10 10 4 civilians
Play#0 output Play#0 1 m 0 yes 1 1 1 1 1 1 20 military
Play#0 output Play#0 1 s 5 yes 1 1 1 10 1 1 80 shells
Play#0 output Play#0 1 g 60 yes 10 1 1 10 1 1 100 guns
Play#0 output Play#0 1 p 4 yes 1 1 1 10 1 1 50 petrol
Play#0 output Play#0 1 i 2 yes 1 1 1 10 1 1 100 iron ore
Play#0 output Play#0 1 d 20 yes 5 1 1 10 1 1 100 dust (gold)
Play#0 output Play#0 1 b 280 yes 50 1 1 5 1 4 200 bars of gold
Play#0 output Play#0 1 f 0 yes 1 1 1 10 1 1 2 food
Play#0 output Play#0 1 o 8 yes 1 1 1 10 1 1 50 oil
Play#0 output Play#0 1 l 2 yes 1 1 1 10 1 1 100 light products
Play#0 output Play#0 1 h 4 yes 1 1 1 10 1 1 100 heavy products
Play#0 output Play#0 1 u 1 yes 2 1 1 2 1 1 2 uncompensated workers
Play#0 output Play#0 1 r 150 yes 8 1 1 10 1 1 1000 radioactive materials
Play#0 output Play#0 1 item power value sell lbs packing melt item
Play#0 output Play#0 1 mnem in no wh ur bk deno name
Play#0 output Play#0 1 c 100 1 no 1 1 10 10 10 10 4 civilians
Play#0 output Play#0 1 m 100 0 yes 1 1 1 1 1 1 20 military
Play#0 output Play#0 1 s 80 5 yes 1 1 1 10 1 1 80 shells
Play#0 output Play#0 1 g 400 60 yes 10 1 1 10 1 1 100 guns
Play#0 output Play#0 1 p 2 4 yes 1 1 1 10 1 1 50 petrol
Play#0 output Play#0 1 i 10 2 yes 1 1 1 10 1 1 100 iron ore
Play#0 output Play#0 1 d 200 20 yes 5 1 1 10 1 1 100 dust (gold)
Play#0 output Play#0 1 b 1000 280 yes 50 1 1 5 1 4 200 bars of gold
Play#0 output Play#0 1 f 0 0 yes 1 1 1 10 1 1 2 food
Play#0 output Play#0 1 o 100 8 yes 1 1 1 10 1 1 50 oil
Play#0 output Play#0 1 l 100 2 yes 1 1 1 10 1 1 100 light products
Play#0 output Play#0 1 h 200 4 yes 1 1 1 10 1 1 100 heavy products
Play#0 output Play#0 1 u 0 1 yes 2 1 1 2 1 1 2 uncompensated workers
Play#0 output Play#0 1 r 0 150 yes 8 1 1 10 1 1 1000 radioactive materials
Play#0 output Play#0 6 0 640
Play#0 input show updates
Play#0 command show