Is your feature request related to a problem? Please describe.
Making custom items with an energy system would be great, and MythicCrucible is probably one of the best custom item plugins available in terms of customization, so allowing MythicCrucible users to get their items to work with craftory would be nice
Describe the solution you'd like
Allow Crucible users to add an "energy" or "craftory" section in the configuration of custom items, defining each item's max energy capacity and starting energy value (how much energy it has when first obtained). In skill configuration craftory would add a condition so users can make skills require the item to have X amount of energy, as well as a new mechanic that can modify the amount of energy in an item, so an example item and skills would look like this:
ITEM
laser_gun:
Id: PAPER
Display: "Laser Gun"
Model: 1
Skills:
skill{s=Shoot} @self ~onUse
skill{s=BigShoot} @self ~onPressQ
Energy:
The maximum amount of energy the item can have
max: 100
how much energy the item starts with
starting: 0
SKILLS
Shoot:
Conditions:
energy{>=1}
Skills:
shootfireball{y=1;v=4} @target
modifyenergy{operation=SUBTRACT;value=1} @self
BigShoot:
Conditions:
energy{>=5}
Skills:
shootfireball{y=3;v=4} @target
modifyenergy{operation=SUBTRACT;value=5} @self
Describe alternatives you've considered
Making my own energy system with mythicmobs/mythiccrucible but that's not as good as craftory and I can't really do much with that, at least not until crucible fully supports custom blocks and GUIs
Is your feature request related to a problem? Please describe. Making custom items with an energy system would be great, and MythicCrucible is probably one of the best custom item plugins available in terms of customization, so allowing MythicCrucible users to get their items to work with craftory would be nice
Describe the solution you'd like Allow Crucible users to add an "energy" or "craftory" section in the configuration of custom items, defining each item's max energy capacity and starting energy value (how much energy it has when first obtained). In skill configuration craftory would add a condition so users can make skills require the item to have X amount of energy, as well as a new mechanic that can modify the amount of energy in an item, so an example item and skills would look like this:
ITEM
laser_gun: Id: PAPER Display: "Laser Gun" Model: 1 Skills:
The maximum amount of energy the item can have
max: 100
how much energy the item starts with
starting: 0
SKILLS
Shoot: Conditions:
BigShoot: Conditions:
modifyenergy{operation=SUBTRACT;value=5} @self
Describe alternatives you've considered Making my own energy system with mythicmobs/mythiccrucible but that's not as good as craftory and I can't really do much with that, at least not until crucible fully supports custom blocks and GUIs