Mods
This commit is contained in:
parent
bf58316caf
commit
d2dacc2220
|
@ -301,19 +301,19 @@ class Game:
|
||||||
method = Opts.think_2.method
|
method = Opts.think_2.method
|
||||||
|
|
||||||
elif value == Opts.words_1.value:
|
elif value == Opts.words_1.value:
|
||||||
status = Utils.rand_sentence.simple_sentence()
|
status = Utils.words_1()
|
||||||
method = Opts.words_1.method
|
method = Opts.words_1.method
|
||||||
|
|
||||||
elif value == Opts.words_2.value:
|
elif value == Opts.words_2.value:
|
||||||
status = Utils.rand_sentence.bare_bone_sentence()
|
status = Utils.words_2()
|
||||||
method = Opts.words_2.method
|
method = Opts.words_2.method
|
||||||
|
|
||||||
elif value == Opts.words_3.value:
|
elif value == Opts.words_3.value:
|
||||||
status = Utils.rand_sentence.bare_bone_with_adjective()
|
status = Utils.words_3()
|
||||||
method = Opts.words_3.method
|
method = Opts.words_3.method
|
||||||
|
|
||||||
elif value >= Opts.words_4.value:
|
elif value >= Opts.words_4.value:
|
||||||
status = Utils.rand_sentence.sentence()
|
status = Utils.words_4()
|
||||||
method = Opts.words_4.method
|
method = Opts.words_4.method
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -168,3 +168,19 @@ class Utils:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def capitalize(word: str) -> str:
|
def capitalize(word: str) -> str:
|
||||||
return word[0].upper() + word[1:]
|
return word[0].upper() + word[1:]
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def words_1() -> str:
|
||||||
|
return str(Utils.rand_sentence.simple_sentence())
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def words_2() -> str:
|
||||||
|
return str(Utils.rand_sentence.bare_bone_sentence())
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def words_3() -> str:
|
||||||
|
return str(Utils.rand_sentence.bare_bone_with_adjective())
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def words_4() -> str:
|
||||||
|
return str(Utils.rand_sentence.sentence())
|
||||||
|
|
Loading…
Reference in New Issue