pyscreeps-arena 0.4b0__tar.gz → 0.4.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/PKG-INFO +13 -2
  2. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/compiler.py +6 -4
  3. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/const.py +1 -1
  4. pyscreeps_arena-0.4.1.1/pyscreeps_arena/project.7z +0 -0
  5. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/PKG-INFO +13 -2
  6. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/setup.py +1 -1
  7. pyscreeps-arena-0.4b0/pyscreeps_arena/project.7z +0 -0
  8. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/__init__.py +0 -0
  9. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/build.py +0 -0
  10. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/__init__.py +0 -0
  11. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/basic.py +0 -0
  12. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/config.py +0 -0
  13. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/core.py +0 -0
  14. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/main.py +0 -0
  15. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/core/utils.py +0 -0
  16. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena/localization.py +0 -0
  17. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/SOURCES.txt +0 -0
  18. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/dependency_links.txt +0 -0
  19. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/entry_points.txt +0 -0
  20. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/requires.txt +0 -0
  21. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/pyscreeps_arena.egg-info/top_level.txt +0 -0
  22. {pyscreeps-arena-0.4b0 → pyscreeps_arena-0.4.1.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyscreeps-arena
3
- Version: 0.4b0
3
+ Version: 0.4.1.1
4
4
  Summary: Python api|interface to play game: Screeps: Arena.
5
5
  Author-email: 2229066748@qq.com
6
6
  Maintainer: Eagle'sBaby
@@ -19,6 +19,17 @@ Requires-Dist: Transcrypt==3.9.1
19
19
  Requires-Dist: mkdocs
20
20
  Requires-Dist: mkdocstrings[python]
21
21
  Requires-Dist: mkdocs-material
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: keywords
27
+ Dynamic: license
28
+ Dynamic: maintainer
29
+ Dynamic: maintainer-email
30
+ Dynamic: requires-dist
31
+ Dynamic: requires-python
32
+ Dynamic: summary
22
33
 
23
34
  # PyScreeps-Arena
24
35
 
@@ -181,13 +181,15 @@ class GameAreaEffect{{
181
181
  }}
182
182
  }};
183
183
  const GameScoreCollector = GameStructureSpawn;
184
+ const RESOURCE_SCORE = "undefined";
184
185
  const RESOURCE_SCORE_X = "undefined";
185
186
  const RESOURCE_SCORE_Y = "undefined";
186
187
  const RESOURCE_SCORE_Z = "undefined";
187
188
  let GameFlag = GameStructureSpawn;
188
- import("game/prototypes")
189
- .then((module) => {{ GameFlag = module.Flag; }})
190
- .catch((error) => {{}});
189
+ import * as GAME_PROTO_MODULE from 'game/prototypes';
190
+ if (GAME_PROTO_MODULE.Flag){{
191
+ GameFlag = GAME_PROTO_MODULE.Flag;
192
+ }}
191
193
  """,
192
194
  }
193
195
 
@@ -205,7 +207,7 @@ class Compiler_Utils(Compiler_Const):
205
207
  if not Compiler_Utils.last_output:
206
208
  Compiler_Utils.last_output = True
207
209
  print()
208
- core.warn('Compiler_Utils.auto_read', core.lformat(LOC_FILE_NOT_EXISTS, [fpath]), end='', head='\n', ln=config.language)
210
+ core.warn('Compiler_Utils.auto_read', core.lformat(LOC_FILE_NOT_EXISTS, ["", fpath]), end='', head='\n', ln=config.language)
209
211
  return ""
210
212
 
211
213
  try:
@@ -9,7 +9,7 @@
9
9
  #
10
10
  import re
11
11
 
12
- VERSION = "0.4b0"
12
+ VERSION = "0.4.1"
13
13
  AUTHOR = "●ω<🤍♪"
14
14
  STEAM_ID = "1029562896"
15
15
  GITHUB_NAME = "EagleBaby"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyscreeps-arena
3
- Version: 0.4b0
3
+ Version: 0.4.1.1
4
4
  Summary: Python api|interface to play game: Screeps: Arena.
5
5
  Author-email: 2229066748@qq.com
6
6
  Maintainer: Eagle'sBaby
@@ -19,6 +19,17 @@ Requires-Dist: Transcrypt==3.9.1
19
19
  Requires-Dist: mkdocs
20
20
  Requires-Dist: mkdocstrings[python]
21
21
  Requires-Dist: mkdocs-material
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: keywords
27
+ Dynamic: license
28
+ Dynamic: maintainer
29
+ Dynamic: maintainer-email
30
+ Dynamic: requires-dist
31
+ Dynamic: requires-python
32
+ Dynamic: summary
22
33
 
23
34
  # PyScreeps-Arena
24
35
 
@@ -7,7 +7,7 @@ with open(r"T:\New_PC\Import_Project\uploads\pyscreeps-arena_upload\pyscreeps-ar
7
7
  long_description = f.read()
8
8
  setup(
9
9
  name='pyscreeps-arena',
10
- version='0.4b0',
10
+ version='0.4.1.1',
11
11
  description='Python api|interface to play game: Screeps: Arena.',
12
12
  long_description=long_description,
13
13
  long_description_content_type='text/markdown',