2021-09-08 23:38:34 +08:00
|
|
|
# -------------------------------
|
|
|
|
# Difficult Rocket
|
|
|
|
# Copyright © 2021 by shenjackyuanjie
|
|
|
|
# All rights reserved
|
|
|
|
# -------------------------------
|
|
|
|
|
2021-04-02 23:31:54 +08:00
|
|
|
"""
|
2020-12-13 18:39:12 +08:00
|
|
|
writen by shenjackyuanjie
|
2021-09-08 23:38:34 +08:00
|
|
|
mail: 3695888@qq.com
|
|
|
|
github: @shenjackyuanjie
|
|
|
|
gitee: @shenjackyuanjie
|
2021-04-02 23:31:54 +08:00
|
|
|
"""
|
2021-09-08 23:38:34 +08:00
|
|
|
|
2021-09-22 06:21:48 +08:00
|
|
|
"""
|
|
|
|
this is a test of modding in Difficult Rocket
|
|
|
|
just a test
|
2022-02-16 13:36:26 +08:00
|
|
|
只是一个DR的mod测试
|
2021-09-22 06:21:48 +08:00
|
|
|
"""
|
2022-02-16 13:36:26 +08:00
|
|
|
|
|
|
|
# from libs
|
|
|
|
import semver
|
|
|
|
|
|
|
|
# from DR
|
|
|
|
from Difficult_Rocket import semver_game_version
|
|
|
|
from Difficult_Rocket.mods import MODInfo, semver_loader_version
|
|
|
|
|
|
|
|
mod_info = MODInfo(name="test mod",
|
|
|
|
version=semver.VersionInfo.parse("0.0.1"),
|
|
|
|
write_version=semver_game_version,
|
|
|
|
write_loader_version=semver_loader_version)
|
|
|
|
|
|
|
|
print(mod_info.serialize())
|