Difficult-Rocket/mods/dr_game/__init__.py

35 lines
940 B
Python
Raw Normal View History

2023-04-22 10:39:18 +08:00
# -------------------------------
2023-04-22 15:18:35 +08:00
# Difficult Rocket Mod
2023-04-22 10:39:18 +08:00
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
# All rights reserved
# -------------------------------
2023-04-22 15:18:35 +08:00
2023-04-24 19:27:36 +08:00
from .sr1_ship import SR1ShipRender
2023-04-22 15:18:35 +08:00
from MCDR.version import Version
2023-04-22 22:00:51 +08:00
from Difficult_Rocket.api.mod import ModInfo
2023-04-24 23:08:43 +08:00
from Difficult_Rocket.main import Game
2023-04-24 19:27:36 +08:00
class DR_mod(ModInfo):
mod_id = "Difficult_Rocket_mod"
name = "Difficult Rocket mod"
version = Version("0.7.2.2")
writer = "shenjackyuanjie"
link = "shenjack.top"
description = "Difficult Rocket mod (where the game implement)"
info = "Difficult Rocket mod (where the game implement)"
# DR_version = # DR SDK 兼容版本
# 反正是内置 mod 跟着最新版本的 DR 走就行了
# DR_Api_version = # DR Api版本
# 同理 不管 API 版本 这东西要是不兼容了才是大问题
2023-04-24 23:08:43 +08:00
def on_load(self, game: Game):
2023-04-24 19:27:36 +08:00
...
2023-04-22 15:18:35 +08:00
2023-04-24 19:27:36 +08:00
mod_class = DR_mod