dfpyre 0.8.4__py3-none-any.whl → 0.8.5__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.
Potentially problematic release.
This version of dfpyre might be problematic. Click here for more details.
dfpyre/items.py
CHANGED
|
@@ -23,7 +23,7 @@ def convert_argument(arg: Any):
|
|
|
23
23
|
if shorthand_match:
|
|
24
24
|
scope = VAR_SCOPES[shorthand_match.group(1)]
|
|
25
25
|
return Variable(shorthand_match.group(2), scope)
|
|
26
|
-
return
|
|
26
|
+
return String(arg)
|
|
27
27
|
return arg
|
|
28
28
|
|
|
29
29
|
|
|
@@ -443,4 +443,4 @@ def item_from_dict(item_dict: dict) -> Any:
|
|
|
443
443
|
return
|
|
444
444
|
|
|
445
445
|
else:
|
|
446
|
-
raise PyreException(f'Unrecognized item id `{item_id}`')
|
|
446
|
+
raise PyreException(f'Unrecognized item id `{item_id}`')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dfpyre
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.5
|
|
4
4
|
Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
|
|
5
5
|
Home-page: https://github.com/Amp63/pyre
|
|
6
6
|
License: MIT
|
|
@@ -38,7 +38,7 @@ This module works best with [CodeClient](https://modrinth.com/mod/codeclient) in
|
|
|
38
38
|
- All code block types
|
|
39
39
|
- All code item types
|
|
40
40
|
- Direct sending to DF via recode or codeclient
|
|
41
|
-
- Automatic type conversion (int to
|
|
41
|
+
- Automatic type conversion (`int` to `Number`, `str` to `String`)
|
|
42
42
|
- Auto completed action names (if your IDE supports type hints)
|
|
43
43
|
- Warnings for unrecognized actions and tags
|
|
44
44
|
- Shorthand format for variables
|
|
@@ -2,12 +2,12 @@ dfpyre/__init__.py,sha256=apPsSxJ1Tztfl71MoORoSmDfX7LyKLYlLwOGeLQUitw,25
|
|
|
2
2
|
dfpyre/action_literals.py,sha256=jvI3ZI1_rnDqS58q5Z0_bb5jgKJ2pu_pgN-1whXpEDQ,16212
|
|
3
3
|
dfpyre/actiondump.py,sha256=MVI1kVJBNpab882Tgqo-xtemiBN2W1_2OcopBcRupWQ,2587
|
|
4
4
|
dfpyre/data/actiondump_min.json,sha256=hFcIbG_G55FWwqRSW6X77ZrKkQiXLs4CGgJrZgyR2Gg,1938799
|
|
5
|
-
dfpyre/items.py,sha256=
|
|
5
|
+
dfpyre/items.py,sha256=3fdmbE4zajLw9JXQyV0_0T1Yi98A0JSvfPV4nZK-jBA,13240
|
|
6
6
|
dfpyre/pyre.py,sha256=NOBcllwx1RiUJhAf-bqGRN7Z9046nKm2efBJsddLgow,24567
|
|
7
7
|
dfpyre/scriptgen.py,sha256=X0GeH3DYJXXuXEF3Jj5joBu-MC94L2oswGCU1IlhToQ,7589
|
|
8
8
|
dfpyre/style.py,sha256=mLW1CFvvi8_9fk8JaH10I5S4WI0YBdQIXHtI3G_4sR8,980
|
|
9
9
|
dfpyre/util.py,sha256=EpX4XGwwX0A9MlObuQTEuHj4Q-55wj29m8am8ULPmz8,791
|
|
10
|
-
dfpyre-0.8.
|
|
11
|
-
dfpyre-0.8.
|
|
12
|
-
dfpyre-0.8.
|
|
13
|
-
dfpyre-0.8.
|
|
10
|
+
dfpyre-0.8.5.dist-info/LICENSE,sha256=_vuDskB0ja2c-Fgm7Gt8Q8cO9NsLNpZAVyvmZwX7E6o,1060
|
|
11
|
+
dfpyre-0.8.5.dist-info/METADATA,sha256=jbO0McHbcgaxheqRmI5JqXfCL-2avJejXwFBEkcng3Y,11948
|
|
12
|
+
dfpyre-0.8.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
13
|
+
dfpyre-0.8.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|