mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Updating a few minigames to api 9
This commit is contained in:
parent
089b04dc27
commit
17e968ddfc
16 changed files with 44 additions and 74 deletions
|
|
@ -1,32 +1,28 @@
|
|||
# Porting to api 8 made easier by baport.(https://github.com/bombsquad-community/baport)
|
||||
"""Avalancha mini-game."""
|
||||
|
||||
# ba_meta require api 8
|
||||
# (see https://ballistica.net/wiki/meta-tag-system)
|
||||
# ba_meta require api 9
|
||||
|
||||
from __future__ import annotations
|
||||
import random
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
import babase
|
||||
import bauiv1 as bui
|
||||
import bascenev1 as bs
|
||||
from bascenev1lib.actor.bomb import Bomb
|
||||
from bascenev1lib.actor.onscreentimer import OnScreenTimer
|
||||
from bascenev1lib.game.meteorshower import *
|
||||
from bascenev1lib.actor.spazbot import *
|
||||
from bascenev1lib.actor.spaz import PunchHitMessage
|
||||
from bascenev1lib.gameutils import SharedObjects
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing import Any, Sequence, Optional, List, Dict, Type, Type
|
||||
from typing import Any, Sequence, Optional, List, Type, Type
|
||||
|
||||
## MoreMinigames.py support ##
|
||||
randomPic = ["lakeFrigidPreview", "hockeyStadiumPreview"]
|
||||
|
||||
|
||||
def ba_get_api_version():
|
||||
return 8
|
||||
return 9
|
||||
|
||||
|
||||
def ba_get_levels():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue