Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 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.  
  21. *ManaButton
  22. name:Study the arcane arts
  23. desc:You were not born with this. You must earn it.
  24. on click:yield min(1,maxMana-mana)
  25.  
  26. *NecromancyButton
  27. name:Increase Necromantic Power
  28. desc:Click this thing to obtain Necromantic Power!
  29. on click:anim icon wobble
  30. on click:yield 1 NecromanticPower
  31. on click:yield -10 Mana
  32. icon:stuff/bunny.png
  33. no text
  34. class:bigButton hasFlares
  35. icon class:shadowed
  36. tooltip origin:bottom
  37. tooltip class:red
  38. req:10 mana:earned
  39.  
  40.  
  41. Resources
  42.  
  43. *MaxMana
  44. start with:100
  45. always hidden
  46. //this sets the mana limit, and keeps it hidden from view
  47.  
  48. *Mana
  49. name:Mana
  50. desc:This is your Mana. Use it to cast spells, and more importantly, to generate Necromantic Power.
  51. on tick: yield min(1,maxMana-mana)
  52. show earned
  53. hidden when 0
  54. //1 can be replaced by another resource: manaregen, if I want to increase it via upgrades.
  55.  
  56. *NecromanticPower
  57. name:Necromantic Power
  58. desc:This is your Necromantic Power. Use this to create Undead minions to generate Necromantic Power for you.
  59. icon:icons[0,0]
  60. class:noBackground
  61. show earned
  62. can be negative
  63. hidden when 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement