added multi run and energy limits to equip

This commit is contained in:
2022-05-21 23:53:20 +02:00
parent ccea230bf1
commit de7a61e127

View File

@@ -17,14 +17,14 @@ EMITTER_SWORD = "sword"
EMITTER_STAFF = "staff" EMITTER_STAFF = "staff"
EMITTER_WAND = "wand" EMITTER_WAND = "wand"
EMITTER_RING = "ring" EMITTER_RING = "ring"
EMITTER_ALL = "all" EMITTER_MULTI = "all"
HSV_DEFAULT = HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0) HSV_DEFAULT = HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0)
def run(): def run():
EMITTER_TO_USE = EMITTER_ALL EMITTER_TO_USE = EMITTER_MULTI
SPAWN_COUNT = 15 SPAWN_COUNT = 25
ENERGY_TO_USE = 3000 ENERGY_TO_USE = 3000
# initialize the user-class # initialize the user-class
config = UserConfigs() config = UserConfigs()
@@ -50,7 +50,7 @@ def run():
masks = [] masks = []
emitters = [] emitters = []
if EMITTER_TO_USE == EMITTER_ALL: if EMITTER_TO_USE == EMITTER_MULTI:
emitters.append(EMITTER_RING) emitters.append(EMITTER_RING)
emitters.append(EMITTER_WAND) emitters.append(EMITTER_WAND)
emitters.append(EMITTER_SWORD) emitters.append(EMITTER_SWORD)