Difficult-Rocket/Difficult_Rocket/__init__.py

41 lines
768 B
Python
Raw Normal View History

2021-09-08 23:38:34 +08:00
# -------------------------------
# Difficult Rocket
2021-12-26 23:06:03 +08:00
# Copyright © 2021-2022 by shenjackyuanjie
2021-09-08 23:38:34 +08:00
# All rights reserved
# -------------------------------
2021-04-02 23:31:54 +08:00
"""
2021-01-24 18:26:56 +08:00
writen by shenjackyuanjie
2021-09-02 22:47:10 +08:00
mail: 3695888@qq.com
2021-08-13 12:25:29 +08:00
github: @shenjackyuanjie
2021-09-02 22:47:10 +08:00
gitee: @shenjackyuanjie
2021-04-02 23:31:54 +08:00
"""
2021-09-02 22:47:10 +08:00
2022-04-08 23:07:41 +08:00
from libs.MCDR.version import Version
2022-02-16 13:36:26 +08:00
2022-03-22 21:18:04 +08:00
game_version = Version("0.6.2")
2022-02-08 17:15:09 +08:00
__version__ = game_version
2021-01-24 18:26:56 +08:00
2022-04-08 23:07:41 +08:00
DR_options = {
'InputBox_use_TextEntry': False,
'playing': False
}
2021-11-06 19:07:32 +08:00
2022-04-08 23:07:41 +08:00
_DR_options_type = {
'InputBox_use_TextEntry': bool,
'playing': bool
}
2021-08-13 12:25:29 +08:00
2022-04-08 23:07:41 +08:00
if DR_options['playing']:
2021-10-31 23:26:32 +08:00
from .api import new_thread
2021-08-13 12:25:29 +08:00
def think_it(something):
return something
2021-10-31 23:26:32 +08:00
@new_thread('think')
def think(some_thing_to_think):
gotcha = think_it(some_thing_to_think)
2021-10-31 23:26:32 +08:00
return gotcha