Guest User

furcadia banking

a guest
May 6th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1.  
  2. (0:30) When a furre says anything, [this is just to simplify the selling to have less ds]
  3. (1:17) and the triggering furre (moved from/is standing at) floor type 191, [The buy floor, can be changed to a position]
  4. (5:610) remember the PhoenixSpeak info {bank} about the triggering furre, and put it in variable %buy. [turns the bank information about the furre into a variable]
  5.  
  6. (0:31) When a furre says {Necklace Mold}, [What they want to buy, can be changed to anything]
  7. (1:17) and the triggering furre (moved from/is standing at) floor type 191,[buy floor]
  8. (1:201) and variable %buy is greater than 29, [Makes sure they have enough in their bank it is 29 instead of 30 because it's GREATER than 29, so 30 or more]
  9. (5:76) place object type 444 in the triggering furre's paws.[Places the object in question in their paws]
  10. (5:304) take variable %buy and subtract 30 from it.[removed the amount the item costs]
  11. (5:600) memorize that the PhoenixSpeak info {bank} about the triggering furre will now be %buy.[puts the information of the variable into the furres bank again]
  12. (5:300) set variable %buy to the value 0.[clears the variable]
  13.  
  14. (0:15) When a furre uses the get/drop command, [this is just to simplify the selling to have less ds if it's a lot of things]
  15. (1:17) and the triggering furre (moved from/is standing at) floor type 192, [sell floor, can be changed to a position]
  16. (5:610) remember the PhoenixSpeak info {bank} about the triggering furre, and put it in variable %bank. [Puts the bank information of the furre, into a variable]
  17.  
  18. (0:18) When somebody drops object type 2593, [object you're selling]
  19. (1:17) and the triggering furre (moved from/is standing at) floor type 192, [sell floor]
  20. (3:7) whereever the triggering furre was at when the trigger activated,
  21. (5:4) place object type 0.
  22. (5:302) take variable %bank and add 50 to it.[Takes that variable we declared earlier and adds how much the item is worth, in this case 50]
  23. (5:600) memorize that the PhoenixSpeak info {bank} about the triggering furre will now be %bank.[Takes that variable and puts it back into the ps information]
  24. (5:300) set variable %bank to the value 0. [clears the variable for no issues]
Add Comment
Please, Sign In to add comment