Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Potato:
- if(phase1_target_score>0 && playing) {
- temp = min( int(score/phase1_target_score*100) , 100);
- str_for_num(buf, temp);
- str_cat(buf, "% is \"");
- if(temp>4) { str_cat(buf, "S"); }
- if(temp>6) { str_cat(buf, "A"); }
- if(temp>8) { str_cat(buf, "N"); }
- if(temp>12) { str_cat(buf, "D"); }
- if(temp>18) { str_cat(buf, "Y"); }
- if(temp>26) { str_cat(buf, "M"); }
- if(temp>32) { str_cat(buf, "A"); }
- if(temp>40) { str_cat(buf, "Y"); }
- if(temp>45) { str_cat(buf, "O"); }
- if(temp>50) { str_cat(buf, "R"); }
- if(temp>55) { str_cat(buf, "M"); }
- if(temp>60) { str_cat(buf, "A"); }
- if(temp>65) { str_cat(buf, "Y"); }
- if(temp>70) { str_cat(buf, "N"); }
- if(temp>73) { str_cat(buf, "O"); }
- if(temp>76) { str_cat(buf, "T"); }
- if(temp>82) { str_cat(buf, "B"); }
- if(temp>85) { str_cat(buf, "E"); }
- if(temp>89) { str_cat(buf, "F"); }
- if(temp>92) { str_cat(buf, "I"); }
- if(temp>93) { str_cat(buf, "C"); }
- if(temp>94) { str_cat(buf, "T"); }
- if(temp>95) { str_cat(buf, "I"); }
- if(temp>96) { str_cat(buf, "O"); }
- if(temp>97) { str_cat(buf, "N"); }
- if(temp>98) { str_cat(buf, "A"); }
- if(temp>99) { str_cat(buf, "L"); }
- str_cat(buf, "\"");
- if(temp>4) {
- minor_message(buf);
- }
- }
Add Comment
Please, Sign In to add comment