소스 검색

Show max resource capacity in resource list

Frans Bergman 7 년 전
부모
커밋
aae3bd5193
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cbc/client.py

+ 1 - 1
cbc/client.py

@@ -45,7 +45,7 @@ class MyPrompt(Cmd):
         """List available resources."""
         global player_data
         for resource, amount in player_data['resources'].items():
-            print(resource.title() + ": " + str(int(amount)))
+            print(resource.title() + ": " + str(int(amount)) + " / " + str(player_data['resources_max'][resource]))
 
     def do_buildings(self, args):
         """List the buildings of the city and their levels."""