Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. Let's make a game!
  2. name:Necromental
  3. by:Xervicx
  4. desc:This is a simple idle game to showcase some of the basic concepts of Necromental<//>Make bunnies and shoot for the stars!
  5. created:22/04/2019
  6. updated:22/04/2019
  7. version:1
  8.  
  9. Settings
  10. background:stuff/meadow.jpg
  11. building cost increase:110%
  12. building cost refund:40%
  13. spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *NecromancyButton
  21. name:Increase Necromantic Power
  22. desc:Click this thing to obtain Necromantic Power!
  23. req:10 mana:earned
  24. on click:anim icon wobble
  25. on click:yield 1 NecromanticPower
  26. on click:yield -10 Mana
  27. icon:stuff/bunny.png
  28. no text
  29. class:bigButton hasFlares
  30. icon class:shadowed
  31. tooltip origin:bottom
  32. tooltip class:red
  33.  
  34. *ManaButton
  35. name:Study the arcane arts
  36. desc:You were not born with this. You must earn it.
  37. on click:yield min(1,maxMana-mana)
  38.  
  39. Resources
  40.  
  41. *MaxMana
  42. start with:100
  43. always hidden
  44. //this sets the mana limit, and keeps it hidden from view
  45.  
  46. *Mana
  47. name:Mana
  48. desc:This is your Mana. Use it to cast spells, and more importantly, to generate Necromantic Power.
  49. req: 10 Mana
  50. on tick: yield min(1,maxMana-mana)
  51. show earned
  52. hidden when 0
  53. //1 can be replaced by another resource: manaregen, if I want to increase it via upgrades.
  54.  
  55. *NecromanticPower
  56. name:Necromantic Power
  57. desc:This is your Necromantic Power. Use this to create Undead minions to generate Necromantic Power for you.
  58. icon:icons[0,0]
  59. class:noBackground
  60. show earned
  61. can be negative
  62. hidden when 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement