Girl.gd 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. extends Human
  2. class_name Girl
  3. var float_up = false
  4. var float_accel = 0.02
  5. var floatspeed_max =1
  6. var floatspeed = 0
  7. func _init():
  8. workplace = "Point3"
  9. transit_point = "TRANSIT2"
  10. func init_():
  11. return [
  12. Saying.new(Saying.MYSELF, "hi"),
  13. Saying.new(Saying.ITSELF, "er... hi?"),
  14. Saying.new(Saying.ITSELF, "what is your deal?"),
  15. Unconditional.new("main_choice_"),
  16. ]
  17. func _process(delta):
  18. if float_up:
  19. if $Camera:
  20. var vec = Vector3(0,floatspeed*delta,0)
  21. $CameraPlace.translation+=vec
  22. $Camera.translation+=vec
  23. if floatspeed < floatspeed_max:
  24. floatspeed+=float_accel*delta
  25. func main_choice_():
  26. return [
  27. [
  28. Choice.new("donut?","donut") if MAIN.baker_feeds_girl else NULL_CHOICE,
  29. Choice.new("distro?","distro") if MAIN.distrowatch and MAIN.girl_fed else NULL_CHOICE,
  30. Choice.new("science?","science") if MAIN.knows_girl_science and MAIN.girl_fed else NULL_CHOICE,
  31. Choice.new("show me a galaxy?[END]","come_along") if MAIN.knows_girl_galaxies and MAIN.girl_fed and MAIN.warp_enabled else NULL_CHOICE,
  32. Choice.new("parents are cool?","parents") if MAIN.parenting_explained and MAIN.girl_fed else NULL_CHOICE,
  33. Choice.new("state protection","protection") if MAIN.agitator_knows and MAIN.girl_knows else NULL_CHOICE,
  34. Choice.new("what to do?","doing") if MAIN.girl_knows else NULL_CHOICE,
  35. Choice.new("about baker","baker") if MAIN.baker_secret else NULL_CHOICE,
  36. Choice.new("who are you?","who_are_you"),
  37. Choice.new("bye...", "bye_"),
  38. ],
  39. ]
  40. func come_along():
  41. return[
  42. Saying.new(Saying.MYSELF, "i have just fixed"), # "I" ^___^
  43. Saying.new(Saying.MYSELF, "my stack"),
  44. Saying.new(Saying.MYSELF, "and can go anywhere"),
  45. Saying.new(Saying.MYSELF, "again"),
  46. Saying.new(Saying.MYSELF, "you said"),
  47. Saying.new(Saying.MYSELF, "i will freeze"),
  48. Saying.new(Saying.MYSELF, "if i see a galaxy?"),
  49. Saying.new(Saying.MYSELF, "from outside?"),
  50. Saying.new(Saying.ITSELF, "ahhh..."),
  51. Saying.new(Saying.ITSELF, "don't you wanna go home?"), #transparent hint to go away)))
  52. Saying.new(Saying.MYSELF, "well"),
  53. Saying.new(Saying.MYSELF, "i don't have one"),
  54. Saying.new(Saying.ITSELF, "why i even talked with you?"),
  55. Saying.new(Saying.ITSELF, "ok"),
  56. Saying.new(Saying.ITSELF, "we will go to my ship","start_float"),
  57. Saying.new(Saying.ITSELF, "and i'll give you a ride"),
  58. Saying.new(Saying.ITSELF, "you'll freeze"),
  59. Saying.new(Saying.ITSELF, "in a vacuum of space"),
  60. Saying.new(Saying.ITSELF, "and then"),
  61. Saying.new(Saying.ITSELF, "i can just listen"),
  62. Saying.new(Saying.ITSELF, "to head again"),
  63. Saying.new(Saying.ITSELF, "in wonderful solitude"),
  64. Saying.new(Saying.ITSELF, "ok?"),
  65. Saying.new(Saying.MYSELF, "suuuuuure"),
  66. Saying.new(Saying.ITSELF, "oh..."),
  67. Saying.new(Saying.DRUNK, "[End the game]"),
  68. Saying.new(Saying.DRUNK, "[End the game]","endgame"),
  69. Unconditional.new("main_choice_"),
  70. ]
  71. func start_float():
  72. float_up = true
  73. func know_galaxies():
  74. MAIN.knows_girl_galaxies = true
  75. func endgame():
  76. get_tree().change_scene("res://END4.tscn")
  77. pass
  78. func science():
  79. return[
  80. Saying.new(Saying.MYSELF, "you said earlier"),
  81. Saying.new(Saying.MYSELF, "about science"),
  82. Saying.new(Saying.MYSELF, "what's fun exactly?"),
  83. Saying.new(Saying.ITSELF, "well"),
  84. Saying.new(Saying.ITSELF, "galaxies are just"),
  85. Saying.new(Saying.ITSELF, "very beautiful"),
  86. Saying.new(Saying.ITSELF, "if you see one live"),
  87. Saying.new(Saying.ITSELF, "from outside"),
  88. Saying.new(Saying.ITSELF, "you will just freeze","know_galaxies"),
  89. Saying.new(Saying.ITSELF, "literally"),
  90. Saying.new(Saying.ITSELF, "but sims do dynamics"),
  91. Saying.new(Saying.ITSELF, "that's an extra"),
  92. Saying.new(Saying.ITSELF, "and in math"),
  93. Saying.new(Saying.ITSELF, "puzzles unsolved"),
  94. Saying.new(Saying.ITSELF, "and stuff"),
  95. Saying.new(Saying.ITSELF, "that is hard"),
  96. Saying.new(Saying.ITSELF, "to imagine"),
  97. Saying.new(Saying.ITSELF, "waaaay deeper"),
  98. Saying.new(Saying.ITSELF, "then just physics"),
  99. Saying.new(Saying.ITSELF, "i like it"),
  100. Saying.new(Saying.ITSELF, "breath of mystery"),
  101. Saying.new(Saying.ITSELF, "almost religious"),
  102. Saying.new(Saying.ITSELF, "excites me"),
  103. Unconditional.new("main_choice_"),
  104. ]
  105. func distro():
  106. return[
  107. Saying.new(Saying.MYSELF, "what distro"),
  108. Saying.new(Saying.MYSELF, "do you use?"),
  109. Saying.new(Saying.ITSELF, "ScienceStone"),
  110. Saying.new(Saying.ITSELF, "cool to play with math"),
  111. Saying.new(Saying.ITSELF, "and physics"),
  112. Saying.new(Saying.ITSELF, "easy to make simulations"),
  113. Saying.new(Saying.ITSELF, "like simulating galaxies","know_science"), #TODO: maybe her scientific side needs more development
  114. Saying.new(Saying.ITSELF, "but all of these modules"),
  115. Saying.new(Saying.ITSELF, "for parallel calc"),
  116. Saying.new(Saying.ITSELF, "and zetabyte drives"),
  117. Saying.new(Saying.ITSELF, "make me look fat"),
  118. Saying.new(Saying.ITSELF, "..."),
  119. Saying.new(Saying.ITSELF, "handy though"),
  120. Saying.new(Saying.ITSELF, "can also mine crypto"),
  121. Saying.new(Saying.ITSELF, "and it's an unlimited"),
  122. Saying.new(Saying.ITSELF, "porn storage"),
  123. Unconditional.new("main_choice_"),
  124. ]
  125. func know_science():
  126. MAIN.knows_girl_science = true
  127. func doing():
  128. return [
  129. Saying.new(Saying.MYSELF, "what"),
  130. Saying.new(Saying.MYSELF, "do you want me to do?"),
  131. Saying.new(Saying.ITSELF, "do whatever you want"),
  132. Saying.new(Saying.ITSELF, "by now"),
  133. Saying.new(Saying.ITSELF, "you probably want home"),
  134. Saying.new(Saying.ITSELF, "or sth"),
  135. ]
  136. func baker():
  137. return [
  138. Saying.new(Saying.MYSELF, "... excuse me"),
  139. Saying.new(Saying.MYSELF, "i want to tell you sth"),
  140. Saying.new(Saying.ITSELF, "then... talk?"),
  141. Saying.new(Saying.MYSELF, "well"),
  142. Saying.new(Saying.MYSELF, "recently i discovered"),
  143. Saying.new(Saying.MYSELF, "that baker"),
  144. Saying.new(Saying.MYSELF, "tried to hire people"),
  145. Saying.new(Saying.MYSELF, "to catch you"),
  146. Saying.new(Saying.MYSELF, "and make hers"),
  147. Saying.new(Saying.ITSELF, "ooof"),
  148. Saying.new(Saying.MYSELF, "but cancelled it"),
  149. Saying.new(Saying.ITSELF, "ok"),
  150. Saying.new(Saying.ITSELF, "kinda scary"),
  151. Saying.new(Saying.ITSELF, "but"),
  152. Saying.new(Saying.ITSELF, "she is not the first"),
  153. Saying.new(Saying.MYSELF, "what?"),
  154. Saying.new(Saying.ITSELF, "idk"),
  155. Saying.new(Saying.ITSELF, "it seems like i attract"),
  156. Saying.new(Saying.ITSELF, "some sort of people"),
  157. Saying.new(Saying.ITSELF, "and eventually"),
  158. Saying.new(Saying.ITSELF, "they go crazy"),
  159. Saying.new(Saying.ITSELF, "one after another"),
  160. Saying.new(Saying.MYSELF, "you are not scared?"),
  161. Saying.new(Saying.ITSELF, "i said it is scary"),
  162. Saying.new(Saying.ITSELF, "didn't you listen?"),
  163. Saying.new(Saying.MYSELF, "..."),
  164. Saying.new(Saying.ITSELF, "but only a bit"),
  165. Saying.new(Saying.ITSELF, "actually"),
  166. Saying.new(Saying.ITSELF, "it looks pathetic"),
  167. Saying.new(Saying.MYSELF, "but wait..."),
  168. Saying.new(Saying.MYSELF, "do you have any defence?"),
  169. Saying.new(Saying.MYSELF, "in case things get ugly?"),
  170. Saying.new(Saying.ITSELF, "well, not much"),
  171. Saying.new(Saying.ITSELF, "tech is complex for me"),
  172. Saying.new(Saying.ITSELF, "but what is there"),
  173. Saying.new(Saying.ITSELF, "to defend?"),
  174. Saying.new(Saying.ITSELF, "one way or another"),
  175. Saying.new(Saying.ITSELF, "wont feel anything","girlknow"),
  176. Unconditional.new("main_choice_"),
  177. ]
  178. func girlknow():
  179. MAIN.girl_knows = true
  180. func parents():
  181. return [
  182. Saying.new(Saying.MYSELF, "do you have parents?"),
  183. Saying.new(Saying.MYSELF, "by any chance?"),
  184. Saying.new(Saying.MYSELF, "how is it like?"),
  185. Saying.new(Saying.MYSELF, "is it cool?"),
  186. Saying.new(Saying.ITSELF, "oh, you're printed too?"),
  187. Saying.new(Saying.ITSELF, "no, idk"),
  188. Saying.new(Saying.ITSELF, "never had them"),
  189. Saying.new(Saying.ITSELF, "sorry"),
  190. Unconditional.new("main_choice_"),
  191. ]
  192. func protection():
  193. return [
  194. Saying.new(Saying.MYSELF, "agitator says"),
  195. Saying.new(Saying.MYSELF, "Zstate can grant you"),
  196. Saying.new(Saying.MYSELF, "public protection"),
  197. Saying.new(Saying.MYSELF, "probably"),
  198. Saying.new(Saying.ITSELF, "you told him?"),
  199. Saying.new(Saying.ITSELF, "oh, well"),
  200. Saying.new(Saying.ITSELF, "i am not sure"),
  201. Saying.new(Saying.ITSELF, "it is a hard decision"),
  202. Saying.new(Saying.ITSELF, "need to think"),
  203. Saying.new(Saying.ITSELF, "lets talk tomorrow","promise"), #and she never returns
  204. Unconditional.new("main_choice_"),
  205. ]
  206. func promise():
  207. MAIN.girl_promised_to_return = true
  208. func donut():
  209. return [
  210. Saying.new(Saying.MYSELF, "wanna donut?"),
  211. Saying.new(Saying.ITSELF, "this is new"),
  212. Saying.new(Saying.ITSELF, "a glowy donut!"),
  213. Saying.new(Saying.ITSELF, "why so generous?"),
  214. Saying.new(Saying.ITSELF, "..."),
  215. Saying.new(Saying.ITSELF, "ah, i know"),
  216. Saying.new(Saying.ITSELF, "baker again"),
  217. Saying.new(Saying.MYSELF, "not first time?"),
  218. Saying.new(Saying.ITSELF, "kinda"),
  219. Saying.new(Saying.ITSELF, "but it is ok"),
  220. Saying.new(Saying.ITSELF, "will take it","take_donut"),
  221. Saying.new(Saying.ITSELF, "she is not too annoying"),
  222. Saying.new(Saying.MYSELF, "she?..."),
  223. Saying.new(Saying.ITSELF, "nvm"),
  224. Saying.new(Saying.ITSELF, "yummey!"),
  225. Unconditional.new("main_choice_"),
  226. ]
  227. func bye_():
  228. return [
  229. Saying.new(Saying.MYSELF, "need to go"),
  230. Saying.new(Saying.ITSELF, "er... whatever"),
  231. ]
  232. func who_are_you():
  233. return [
  234. Saying.new(Saying.MYSELF, "Who are you?"),
  235. Saying.new(Saying.ITSELF, "leave me alone"),
  236. Saying.new(Saying.ITSELF, "I am here for art"),
  237. Saying.new(Saying.ITSELF, "not for adventures"),
  238. Unconditional.new("main_choice_"),
  239. ]
  240. func take_donut():
  241. PLAYER.give_hand()
  242. MAIN.girl_fed=true
  243. MAIN.find_node("Clock").startlock=false
  244. MAIN.baker_feeds_girl=false