Difficult-Rocket/Difficult_Rocket/__init__.py
shenjack 85a8fbf8a5 修复了一个crash bug
Changes to be committed:
	modified:   Difficult_Rocket/__init__.py
	modified:   Difficult_Rocket/api/Exp/main.py
	modified:   Difficult_Rocket/api/__init__.py
	modified:   Difficult_Rocket/api/calculation.py
	modified:   Difficult_Rocket/api/scientific_unit.py
	modified:   Difficult_Rocket/api/types/SR1/ship.py
	modified:   Difficult_Rocket/api/types/data_type.py
	modified:   Difficult_Rocket/client/__init__.py
	modified:   Difficult_Rocket/crash/__init__.py
	modified:   Difficult_Rocket/guis/format/html.py
	modified:   Difficult_Rocket/mods/__init__.py
	modified:   Difficult_Rocket/utils/new_thread.py
	modified:   Difficult_Rocket/utils/tools.py
2022-06-21 20:15:36 +08:00

41 lines
768 B
Python

# -------------------------------
# Difficult Rocket
# Copyright © 2021-2022 by shenjackyuanjie
# All rights reserved
# -------------------------------
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
from libs.MCDR.version import Version
game_version = Version("0.6.2")
__version__ = game_version
DR_options = {
'InputBox_use_TextEntry': False,
'playing': False
}
_DR_options_type = {
'InputBox_use_TextEntry': bool,
'playing': bool
}
if DR_options['playing']:
from .api import new_thread
def think_it(something):
return something
@new_thread('think')
def think(some_thing_to_think):
gotcha = think_it(some_thing_to_think)
return gotcha