From f095ddec59022f10b04a1e9a9a2dc0fc307f01ba Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Tue, 21 Jun 2022 10:17:13 +0800 Subject: [PATCH] Changes to be committed: modified: Difficult_Rocket/__init__.py modified: Difficult_Rocket/api/Exp/unsupport.py --- Difficult_Rocket/__init__.py | 12 +++++++++++- Difficult_Rocket/api/Exp/unsupport.py | 18 +++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Difficult_Rocket/__init__.py b/Difficult_Rocket/__init__.py index 6c8f848..0a44a75 100644 --- a/Difficult_Rocket/__init__.py +++ b/Difficult_Rocket/__init__.py @@ -29,7 +29,17 @@ _DR_options_type = { 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_result' + + + + + + + gotcha = think_it(some_thing_to_think) return gotcha diff --git a/Difficult_Rocket/api/Exp/unsupport.py b/Difficult_Rocket/api/Exp/unsupport.py index ff5c3f1..93c7583 100644 --- a/Difficult_Rocket/api/Exp/unsupport.py +++ b/Difficult_Rocket/api/Exp/unsupport.py @@ -18,5 +18,21 @@ class NoMoreJson5(Error): """说什么我也不用Json5了!""" -class NopeImTeapot418(Error): +class Nope418ImTeapot(Error): """我只是个茶壶而已,我不能煮咖啡!""" + + +class ThinkError(Error): + """进不去,进不去,怎么想都进不去!""" + + +class BrainError(Error): + """clever brain.png""" + + +class BigBrainError(BrainError): + """bigbrain.png""" + + +class BrainTimeoutError(BrainError, ThinkError): + """脑子····超时·······················啦!"""