Created
July 9, 2017 14:45
-
-
Save desophos/352fdb8849255f64c4ea149a1273c88d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from siege import Cooldown | |
from siege.util import seconds | |
from siege.component import Event | |
from core.template.item import Item, Material, CraftResult | |
from creamon.item.creaball import CreaballCapture | |
creaball = Item( | |
name = "Basic Creaball", | |
classification = "Crafted", | |
genus = "creaball", | |
stack = 99, | |
image = "empty_creaball.png", | |
cooldown = Cooldown("empty_creaball", seconds(5)) | |
) | |
creaball.craftable( | |
category = "Basics", | |
subcategory = "Essentials", | |
level = 1, | |
experience = 5, | |
serviceRequired = "Workstation", | |
materials = [ | |
Material('oil_clot', quantity=2), | |
Material('iron_ingot', quantity=1) | |
], | |
results = [ | |
CraftResult(quantity=1) | |
] | |
) | |
creaball.add(Event()) | |
creaball.add( | |
CreaballCapture( | |
max_level = 15, | |
hp_fraction = 0.25 | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment