Advertisement
Guest User

Untitled

a guest
Jan 26th, 2019
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1.  
  2.  
  3.  
  4. //SPRITE
  5. frameWidth = 80;
  6. frameHeight = 80;
  7.  
  8.  
  9. //COUNTERS
  10. counter = 0;
  11. hivePoundsHoney = 0;
  12. hiveMites = -1; // number of mites
  13.  
  14.  
  15.  
  16. //PROPERTIES
  17. hiveName = -1;
  18. hiveType = 0;
  19. hiveHealth = -1; //0-4
  20. newHiveHealth = -1; //0-4
  21. honeyDay = -1; //depending on health
  22. hiveBodies = -1; //1-3 right now
  23. supersCount = -1; //1-3
  24. maxHoney = 0;
  25. maxFrames = -1;
  26. startHiveHealth = healthRating.healthy;
  27. varroaInfection = false; //
  28.  
  29.  
  30. //===============================================================DATA STUFF
  31.  
  32. //GRIDS
  33. ds_hive_types = 0;
  34.  
  35.  
  36. create_hive_type(90,30,healthRating.healthy); // Langstroth
  37. create_hive_type(50,20,healthRating.healthy); // Top Bar
  38. create_hive_type(60,25,healthRating.healthy); // Barre
  39. create_hive_type(90,30,healthRating.healthy); // Flow
  40.  
  41.  
  42. enum healthRating {
  43. booming,
  44. thriving,
  45. healthy,
  46. struggling,
  47. dying
  48. }
  49.  
  50. enum hiveTypes {
  51. langstroth,
  52. barre,
  53. topBar,
  54. flow,
  55. feral,
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement