preg 298 B

12345678910111213141516171819202122
  1. # preg
  2. if mesec = 0 and preg = 0 and tabletki = 0:
  3. !!no monthly
  4. pregrand = rand(0, 100)
  5. if pregrand >= 93:
  6. $father = $boy
  7. preg = 1
  8. end
  9. if tabletki > 0:
  10. pregrand = rand(0, 200)
  11. if pregrand = 0:
  12. $father = $boy
  13. preg = 1
  14. end
  15. end
  16. end
  17. --- preg ---------------------------------