noahp78

Zoogle INC modding API tutorial

Aug 1st, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. Zoogle INC Modding API
  2.  
  3. Functions you can call
  4. form1.Gamenextyear
  5. Use for events that could happen.
  6. year as integer
  7. In what year does your event need to happen
  8. Eventmessage as string
  9. Gets printed into the Log (users can see that)
  10. Chanche as integer
  11. What chanche... 1on (chanche) that it happens
  12. Actions as string (Not implented yet)
  13.  
  14. ui message as string
  15. Messagebox that shows up
  16. ___________________________________________________
  17. Returns: True or False
  18. True= Event happened
  19. False= Event didn't happen
  20. form1.WorkApi
  21. ApI that registers time and load and userbase for events
  22. time as integer
  23. The time the Action takes
  24. Userbase as interger
  25. How does the userbase grow/shrink with this event
  26. Load as interger
  27. How much load does this give the Servers of the player
  28. Costs as interger
  29. how much does this cost?
  30. Message
  31. What message is going into the log?
  32. ____________________________________________________________________
  33. Returns: nothing
  34.  
  35.  
  36. form1.bubble
  37. Message as string
  38. What message shows up in the bubble?
  39. ID as string
  40. Use 2998
  41. __________________________________
  42. Returns: nothing
  43.  
  44. form1.CalculateLoad
  45. Take's no arguments. Calculate's everything just like a normal year pass
  46. Returns: nothing
Advertisement
Add Comment
Please, Sign In to add comment