pyscreeps-arena 0.5.7.2__py3-none-any.whl → 0.5.7.3__py3-none-any.whl
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.
- pyscreeps_arena/__init__.py +4 -4
- pyscreeps_arena/compiler.py +2 -1
- pyscreeps_arena/core/const.py +1 -1
- pyscreeps_arena/project.7z +0 -0
- {pyscreeps_arena-0.5.7.2.dist-info → pyscreeps_arena-0.5.7.3.dist-info}/METADATA +1 -1
- {pyscreeps_arena-0.5.7.2.dist-info → pyscreeps_arena-0.5.7.3.dist-info}/RECORD +9 -9
- {pyscreeps_arena-0.5.7.2.dist-info → pyscreeps_arena-0.5.7.3.dist-info}/WHEEL +0 -0
- {pyscreeps_arena-0.5.7.2.dist-info → pyscreeps_arena-0.5.7.3.dist-info}/entry_points.txt +0 -0
- {pyscreeps_arena-0.5.7.2.dist-info → pyscreeps_arena-0.5.7.3.dist-info}/top_level.txt +0 -0
pyscreeps_arena/__init__.py
CHANGED
|
@@ -3,6 +3,10 @@ import sys
|
|
|
3
3
|
import shutil
|
|
4
4
|
import py7zr
|
|
5
5
|
from pyscreeps_arena.core import const, config
|
|
6
|
+
from pyscreeps_arena.ui.mapviewer import run_mapviewer
|
|
7
|
+
from pyscreeps_arena.ui.project_ui import run_project_creator
|
|
8
|
+
from pyscreeps_arena.ui.creeplogic_edit import run_creeplogic_edit
|
|
9
|
+
|
|
6
10
|
def CMD_NewProject():
|
|
7
11
|
"""
|
|
8
12
|
cmd:
|
|
@@ -55,7 +59,6 @@ def CMD_OpenUI():
|
|
|
55
59
|
|
|
56
60
|
# 检查是否使用mapviewer
|
|
57
61
|
if len(sys.argv) > 1 and sys.argv[1] == '-m':
|
|
58
|
-
from pyscreeps_arena.ui.mapviewer import run_mapviewer
|
|
59
62
|
# 检查语言参数
|
|
60
63
|
if len(sys.argv) > 2 and sys.argv[2] == '-e':
|
|
61
64
|
from pyscreeps_arena.core import config
|
|
@@ -63,16 +66,13 @@ def CMD_OpenUI():
|
|
|
63
66
|
run_mapviewer()
|
|
64
67
|
# 检查是否使用creeplogic edit
|
|
65
68
|
elif len(sys.argv) > 1 and sys.argv[1] == '-c':
|
|
66
|
-
from pyscreeps_arena.ui.creeplogic_edit import run_creeplogic_edit
|
|
67
69
|
run_creeplogic_edit()
|
|
68
70
|
elif len(sys.argv) > 1 and sys.argv[1] == '-e':
|
|
69
|
-
from pyscreeps_arena.ui.creeplogic_edit import run_creeplogic_edit
|
|
70
71
|
from pyscreeps_arena.core import config
|
|
71
72
|
config.language = 'en'
|
|
72
73
|
run_creeplogic_edit()
|
|
73
74
|
# 默认启用project ui
|
|
74
75
|
else:
|
|
75
|
-
from pyscreeps_arena.ui.project_ui import run_project_creator
|
|
76
76
|
run_project_creator()
|
|
77
77
|
except ImportError as e:
|
|
78
78
|
print(f"错误: 无法导入UI模块 - {e}")
|
pyscreeps_arena/compiler.py
CHANGED
|
@@ -159,8 +159,9 @@ class GameConstructionBoost{{
|
|
|
159
159
|
}}
|
|
160
160
|
}};
|
|
161
161
|
import {{ Portal as GamePortal}} from 'arena/season_{config.season}/{const.ARENA_GREEN}/{"advanced" if config.level in ["advance", "advanced"] else "basic"}/prototypes';
|
|
162
|
-
|
|
163
162
|
""",
|
|
163
|
+
# import {Portal} from 'arena/season_1/portal_exploration/basic/prototypes';
|
|
164
|
+
|
|
164
165
|
const.ARENA_BLUE: lambda: f"""
|
|
165
166
|
const ARENA_COLOR_TYPE = "BLUE";
|
|
166
167
|
const GameScoreCollector = GameStructureSpawn;
|
pyscreeps_arena/core/const.py
CHANGED
pyscreeps_arena/project.7z
CHANGED
|
Binary file
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
pyscreeps_arena/__init__.py,sha256=
|
|
1
|
+
pyscreeps_arena/__init__.py,sha256=GWrCpZnrzPwbBzhNqk8gTvV4VSwkP2DbxK8lR0E_SzY,3223
|
|
2
2
|
pyscreeps_arena/build.py,sha256=DQeGLnID2FjpsWTbnqwt2cOp28olWK68U67bfbFJSOU,177
|
|
3
|
-
pyscreeps_arena/compiler.py,sha256=
|
|
3
|
+
pyscreeps_arena/compiler.py,sha256=aHQ-A1CsoEi16c-GVYZK4xRddG8UGgXg4wseanZaS2o,65341
|
|
4
4
|
pyscreeps_arena/localization.py,sha256=Dr0G6n8DvT6syfC0urqwjccYpEPEfcwYyJx3f9s-6a8,6031
|
|
5
|
-
pyscreeps_arena/project.7z,sha256=
|
|
5
|
+
pyscreeps_arena/project.7z,sha256=YbZ2fxqltxB2hBi6xigDzqeY2A_eWubJANg60DwYKyA,328354
|
|
6
6
|
pyscreeps_arena/core/__init__.py,sha256=qoP_rx1TpbDLJoTm5via4XPwEPaV1FXr1SYvoVoHGms,41
|
|
7
7
|
pyscreeps_arena/core/basic.py,sha256=DFvyDTsTXf2bQtnS9s254TrkshvRwajaHcvTyVvJyqw,2790
|
|
8
8
|
pyscreeps_arena/core/config.py,sha256=x_JhVHlVZqB3qA7UyACVnwZjg2gZU-BIs49UxZzwCoE,637
|
|
9
|
-
pyscreeps_arena/core/const.py,sha256=
|
|
9
|
+
pyscreeps_arena/core/const.py,sha256=dIDHYrVETQLa_Lw7gj0RozkDh54ituLKn8QNY1vwvMw,590
|
|
10
10
|
pyscreeps_arena/core/core.py,sha256=3Nty8eLKPNgwnYk_sVNBPrWuKxBXI2od8nfEezsEAZQ,5157
|
|
11
11
|
pyscreeps_arena/core/main.py,sha256=-FNSOEjksNlDfCbUqsjtPSUW8vT3qxEdfzXqT5Tdsik,170
|
|
12
12
|
pyscreeps_arena/core/utils.py,sha256=N9OOkORvrqnJakayaFp9qyS0apWhB9lBK4xyyYkhFdo,215
|
|
@@ -33,8 +33,8 @@ pyscreeps_arena/ui/qmapv/test_simple_array.py,sha256=hPnLXcFrn6I1X4JXFM3RVpBPhU_
|
|
|
33
33
|
pyscreeps_arena/ui/qrecipe/__init__.py,sha256=2Guvr9k5kGkZboiVC0aNF4u48LRbmcCm2dqOhEF52Tw,59
|
|
34
34
|
pyscreeps_arena/ui/qrecipe/model.py,sha256=s3lr_DXtsBgt8bVg1_wLz-dX88QKi77mNkqM5VJsGwE,13200
|
|
35
35
|
pyscreeps_arena/ui/qrecipe/qrecipe.py,sha256=z57VLmlpMripdpGtVCkKR0csJQhw5-WpocZK5l2xTVg,39398
|
|
36
|
-
pyscreeps_arena-0.5.7.
|
|
37
|
-
pyscreeps_arena-0.5.7.
|
|
38
|
-
pyscreeps_arena-0.5.7.
|
|
39
|
-
pyscreeps_arena-0.5.7.
|
|
40
|
-
pyscreeps_arena-0.5.7.
|
|
36
|
+
pyscreeps_arena-0.5.7.3.dist-info/METADATA,sha256=hVZ2TTjtzQ0razF29zZsOlK5lUfsuSADoLKVZYEsGHo,2356
|
|
37
|
+
pyscreeps_arena-0.5.7.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
38
|
+
pyscreeps_arena-0.5.7.3.dist-info/entry_points.txt,sha256=pnpuPPadwQsxQPaR1rXzUo0fUvhOcC7HTHlf7TYXr7M,141
|
|
39
|
+
pyscreeps_arena-0.5.7.3.dist-info/top_level.txt,sha256=l4uLyMR2NOy41ngBMh795jOHTFk3tgYKy64-9cgjVng,16
|
|
40
|
+
pyscreeps_arena-0.5.7.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|