Tombenpotter

Function Needs

Nov 6th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Here are the functions I'll probably need:
  2.  
  3. 1) a way to get what is draining/adding LP from the SN. That might prove to be a bit of a hassle, but it shouldn't be too bad. It would break a lot of stuff, but the fix would be really easy. The way I see it is just addin an enum var (RITUAL, PLAYER, ITEMSTACK, ORB) in the draining methods. As I said, big break, but really easy fix.
  4.  
  5. 2) a way to get when the SN was modified at all: binding an itemstack to your player, activating a ritual, stopping it, ect... An event would be awesome. Vars: player. I'd suggest two events, one for adding something to the SN, one for removing it.
  6.  
  7. 3) a way to get when LP is added to the SN. Preferrably an event, disableable would be awesome. For easier purposes, I'd subclass the event written above, and have as variables the amount (negative if removed), the type of drain/adding (see enum above). Extending the event 2) would make it so that it has a player var, which is perfect.
  8.  
  9. 4) a way to get when LP is removed from the SN. Preferrably an event, disableable would be awesome. For easier purposes, I'd subclass the event written above, and have as variables the amount (negative if removed), the type of drain/adding (see enum above). Extending the event 2) would make it so that it has a player var, which is perfect.
  10.  
  11. That's all I can think of so far. If I need anything else, I'll poke you C:
Advertisement
Add Comment
Please, Sign In to add comment