Update to latest pydcs.

This includes the basics that we need to get type checking for pydcs
calls.

Type checking has been disabled in a few monkey-patching cases. Patches
ought to be sent upstream (or in the case of dead unit tracking,
replaced with a better model).

(cherry picked from commit 9de08dc83f)
This commit is contained in:
Dan Albert
2021-07-11 13:35:52 -07:00
parent be13d8c0a6
commit 93c6cb34fb
5 changed files with 10 additions and 13 deletions

View File

@@ -17,15 +17,15 @@ class MarkerSmoke(StaticType):
id = "big_smoke"
category = "Effects"
name = "big_smoke"
shape_name = 5
rate = 0.1
shape_name = 5 # type: ignore
rate = 0.1 # type: ignore
class Smoke(StaticType):
id = "big_smoke"
category = "Effects"
name = "big_smoke"
shape_name = 2
shape_name = 2 # type: ignore
rate = 1
@@ -33,7 +33,7 @@ class BigSmoke(StaticType):
id = "big_smoke"
category = "Effects"
name = "big_smoke"
shape_name = 3
shape_name = 3 # type: ignore
rate = 1
@@ -41,7 +41,7 @@ class MassiveSmoke(StaticType):
id = "big_smoke"
category = "Effects"
name = "big_smoke"
shape_name = 4
shape_name = 4 # type: ignore
rate = 1
@@ -56,7 +56,7 @@ def __monkey_static_dict(self: Static) -> dict[str, Any]:
__original_static_dict = Static.dict
Static.dict = __monkey_static_dict
Static.dict = __monkey_static_dict # type: ignore
FRONT_SMOKE_RANDOM_SPREAD = 4000
FRONT_SMOKE_TYPE_CHANCES = {