Advertisement
Codingale

Turning Test Messages translation

Aug 26th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. First Message:
  2. 54 6f 6d 49 6e 73 74 72 75 63 74 69 6f 6e 28 e2 80 9c 52 65 73 65 61 72 63 68 20 6f 72 67 61 6e 69 73 6d e2 80 9d 29 3b
  3.  
  4. (Uses left double quotation mark (U+201C / โ€œ) instead of a normal quotation mark ("))
  5. TomInstruction(โ€œResearch organismโ€);
  6.  
  7. This in most programming languages would not work.
  8.  
  9. Second Message:
  10. 54 6f 6d 49 6e 73 74 72 75 63 74 69 6f 6e 28 22 49 66 20 41 76 61 20 72 65 61 63 68 65 73 20 45 75 72 6f 70 61 20 73 68 65 20 69 73 20 6e 6f 74 20 70 65 72 6d 69 74 74 65 64 20 74 6f 20 72 65 74 75 72 6e 20 74 6f 20 74 68 65 20 46 6f 72 74 6e 61 2e 22 29 3b
  11.  
  12. TomInstruction("If Ava reaches Europa she is not permitted to return to the Fortna.");
  13.  
  14. Normal quotes now? This should be fine.
  15. Final Message:
  16.  
  17. 53 65 74 44 65 61 64 6c 79 46 6f 72 63 65 28 31 29 3b 20 54 6f 6d 49 6e 73 74 72 75 63 74 69 6f 6e 28 5c 22 53 74 6f 70 20 43 72 65 77 20 4c 65 61 76 69 6e 67 20 45 75 72 6f 70 61 5c 22 29 3b 20 54 6f 6d 49 6e 73 74 72 75 63 74 69 6f 6e 28 5c 20 53 74 6f 70 20 4f 72 67 61 6e 69 73 6d 20 4c 65 61 76 69 6e 67 20 45 75 72 6f 70 61 5c 22 29 3b 20 54 6f 6d 49 6e 73 74 72 75 63 74 69 6f 6e 28 5c 22 4b 69 6c 6c 20 43 72 65 77 20 49 66 20 4e 65 63 65 73 73 61 72 79 5c 22 29 3b
  18.  
  19. SetDeadlyForce(1); TomInstruction(\"Stop Crew Leaving Europa\"); TomInstruction(\ Stop Organism Leaving Europa\")< TomInstruction(\"Kill Crew If Necessary\");
  20.  
  21. String escaped for some reason. In most programming languages this would also not work as it's confused on what to escape.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement