Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Necromental
- by:Xervicx
- desc:This is a simple idle game to showcase some of the basic concepts of Necromental<//>Make bunnies and shoot for the stars!
- created:22/04/2019
- updated:22/04/2019
- version:1
- Settings
- background:stuff/meadow.jpg
- building cost increase:110%
- building cost refund:40%
- spritesheet:icons, 48 by 48, stuff/bunnyIcons.png
- stylesheet:stuff/bigBlue.css
- Layout
- use default
- Buttons
- *NecromancyButton
- name:Increase Necromantic Power
- desc:Click this thing to obtain Necromantic Power!
- req:10 mana:earned
- on click:anim icon wobble
- on click:yield 1 NecromanticPower
- on click:yield -10 Mana
- icon:stuff/bunny.png
- no text
- class:bigButton hasFlares
- icon class:shadowed
- tooltip origin:bottom
- tooltip class:red
- *ManaButton
- name:Study the arcane arts
- desc:You were not born with this. You must earn it.
- on click:yield min(1,maxMana-mana)
- Resources
- *MaxMana
- start with:100
- always hidden
- //this sets the mana limit, and keeps it hidden from view
- *Mana
- name:Mana
- desc:This is your Mana. Use it to cast spells, and more importantly, to generate Necromantic Power.
- on tick, yield min(1,maxMana-mana)
- show earned
- hidden when 0
- //1 can be replaced by another resource: manaregen, if I want to increase it via upgrades.
- *NecromanticPower
- name:Necromantic Power
- desc:This is your Necromantic Power. Use this to create Undead minions to generate Necromantic Power for you.
- icon:icons[0,0]
- class:noBackground
- show earned
- can be negative
- hidden when 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement