mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 18:15:45 +08:00
url fixes
This commit is contained in:
parent
d2ec793625
commit
374ce7ee11
@ -60,7 +60,7 @@ def existing(obj: Optional[ExistableType]) -> Optional[ExistableType]:
|
||||
This call can be used on any 'existable' object (one with an exists()
|
||||
method) and will convert it to a None value if it does not exist.
|
||||
For more info, see notes on 'existables' here:
|
||||
https://github.com/efroemling/ballistica/wiki/Coding-Style-Guide
|
||||
https://ballistica.net/wiki/Coding-Style-Guide
|
||||
"""
|
||||
assert obj is None or hasattr(obj, 'exists'), f'No "exists" on {obj}'
|
||||
return obj if obj is not None and obj.exists() else None
|
||||
|
||||
@ -37,7 +37,7 @@ if TYPE_CHECKING:
|
||||
# The meta api version of this build of the game.
|
||||
# Only packages and modules requiring this exact api version
|
||||
# will be considered when scanning directories.
|
||||
# See: https://github.com/efroemling/ballistica/wiki/Meta-Tags
|
||||
# See: https://ballistica.net/wiki/Meta-Tags
|
||||
CURRENT_API_VERSION = 6
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines assault minigame."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines a capture-the-flag game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,8 @@
|
||||
"""Provides the chosen-one mini-game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Provides the Conquest game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,8 @@
|
||||
"""DeathMatch game and support classes."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Provides an easter egg hunt game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Elimination mini-game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Implements football games (both co-op and teams varieties)."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Hockey game and support classes."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines a keep-away game type."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines the King of the Hill game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines a bomb-dodging mini-game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Provides Ninja Fight mini-game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Defines Race mini-game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
"""Implements Target Practice game."""
|
||||
|
||||
# ba_meta require api 6
|
||||
# (see https://github.com/efroemling/ballistica/wiki/Meta-Tags)
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -5730,7 +5730,7 @@ objects into functions expecting only live ones, etc.
|
||||
This call can be used on any 'existable' object (one with an exists()
|
||||
method) and will convert it to a None value if it does not exist.
|
||||
For more info, see notes on 'existables' here:
|
||||
https://github.com/efroemling/ballistica/wiki/Coding-Style-Guide</p>
|
||||
https://ballistica.net/wiki/Coding-Style-Guide</p>
|
||||
|
||||
<hr>
|
||||
<h2><strong><a name="function_ba_get_collision_info">ba.get_collision_info()</a></strong></h3>
|
||||
|
||||
@ -223,7 +223,7 @@ class App:
|
||||
print(f'{Clr.RED}NOTE: You can disable copyright'
|
||||
f' checks by adding "copyright_checks": false\n'
|
||||
f'to the root dict in config/localconfig.json.\n'
|
||||
f'see https://github.com/efroemling/ballistica/wiki'
|
||||
f'see https://ballistica.net/wiki'
|
||||
f'/Knowledge-Nuggets#'
|
||||
f'hello-world-creating-a-new-game-type{Clr.RST}')
|
||||
sys.exit(-1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user