改名、update logs
This commit is contained in:
parent
a663a023ec
commit
6a75e3d516
@ -26,7 +26,7 @@ ForceRequire = bool
|
||||
|
||||
|
||||
# TODO 完善中
|
||||
class MODInfo(Options):
|
||||
class ModInfo(Options):
|
||||
"""
|
||||
加载mod时候的参数
|
||||
"""
|
||||
|
@ -11,7 +11,7 @@ from typing import Tuple, List
|
||||
from MCDR.version import Version
|
||||
|
||||
# from DR
|
||||
from Difficult_Rocket.api.mod import MODInfo
|
||||
from Difficult_Rocket.api.mod import ModInfo
|
||||
from Difficult_Rocket import DR_runtime, Options
|
||||
|
||||
"""
|
||||
|
@ -122,7 +122,7 @@ class Translates:
|
||||
return self
|
||||
|
||||
def __call__(self, *args, **kwargs) -> str:
|
||||
return self.__str__()
|
||||
return str(self)
|
||||
|
||||
def copy(self):
|
||||
return self.__copy__()
|
||||
|
@ -22,6 +22,40 @@
|
||||
- [![Readme-gitee](https://img.shields.io/badge/Readme-中文(点我!)-blue.svg?style=flat-square)](../../README.md)
|
||||
- Using [SemVer 2.0.0](https://semver.org/) to manage version
|
||||
|
||||
## 202305 DR `0.8.0.0` + DR_api `0.1.0.0`
|
||||
|
||||
> 啊哈! mod 加载来啦!
|
||||
|
||||
### Remove
|
||||
|
||||
- `game.config`
|
||||
- 已删除
|
||||
- Removed
|
||||
|
||||
|
||||
### Changes
|
||||
|
||||
- `main.toml`
|
||||
- `game.mods.path`
|
||||
- 存储 mod 的路径
|
||||
- Store the path of the mod
|
||||
- `Difficult_Rocket.mod.MODInfo` -> `Difficult_Rocket.api.mod.ModInfo`
|
||||
- 用于存储 mod 的信息
|
||||
- Used to store information about the mod
|
||||
- `Difficult_Rocket.DR_runtime`
|
||||
- 添加 `mod_path: str` 字段
|
||||
- 添加 `DR_Mod_List: List[Tuple[str, Version]]` 字段
|
||||
- 添加 `load_mods() -> None` 方法
|
||||
- 添加 `find_mods -> List[str]` 方法
|
||||
- Add `mod_path: str` field
|
||||
- Add `DR_Mod_List: List[Tuple[str, Version]]` field
|
||||
- Add `load_mods() -> None` method
|
||||
- Add `find_mods -> List[str]` method
|
||||
|
||||
### Mod Loader
|
||||
|
||||
- `ModInfo`
|
||||
|
||||
## 20230422 DR `0.7.2.2` + DR_rs `0.2.6.1` + DR_api `0.0.2.0` + 14
|
||||
|
||||
### DR_rs V 0.2.6.1
|
||||
@ -556,8 +590,6 @@ long_version: 一个用于标记内部协议的整数
|
||||
- 尝试加载 `icon`
|
||||
- 更新了主项目
|
||||
|
||||
## 20220627
|
||||
|
||||
## 20220511 V 0.6.3
|
||||
|
||||
- 咕了好久的 update log 了
|
||||
|
@ -5,9 +5,9 @@
|
||||
# -------------------------------
|
||||
|
||||
from MCDR.version import Version
|
||||
from Difficult_Rocket.mod import MODInfo
|
||||
from Difficult_Rocket.mod import ModInfo
|
||||
|
||||
INFO = MODInfo(
|
||||
INFO = ModInfo(
|
||||
mod_id="Difficult_Rocket_mod",
|
||||
name="Difficult_Rocket_mod",
|
||||
version=Version("0.7.2.0")
|
||||
|
Loading…
Reference in New Issue
Block a user