Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • ReloadAmmo

ReloadAmmo · Changes

Page history
Create Skills/Mechanics/ReloadAmmo authored Nov 29, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 21 additions and 0 deletions
+21 -0
  • Skills/Mechanics/ReloadAmmo.md Skills/Mechanics/ReloadAmmo.md +21 -0
  • No files found.
Skills/Mechanics/ReloadAmmo.md 0 → 100644
View page @ 15c2adf1
## Description
will search the caster's inventory for the configured ammo item (or another item if overridden), and for each item it finds it will consume it and add ammo to the item.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| time | t | The time in ticks it takes to complete the operation | 20 |
| reloadskill | onreload, reload | Metaskill to execute once the reload is completed | |
| reloadfullskill | onreloadfull, onfull | Metaskill to execute if the gun is already full | |
| reloadfailskill | onreloadfail, onfail | Metaskill to execute if the reload fails | |
## Example
```yaml
- reloadammo{sync=false;
onReload=TestGun-Reload;
onFail=TestGun-Reload-Fail;
onFull=TestGun-Reload-Full
} @self ~onSwing
```
\ No newline at end of file
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides
Usage
  • Installation
  • Item Options
  • Item Skills
  • Item Durability
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Augments
  • Sets

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
Mechanics
  • Item Mechanics
  • Item Targeters
  • Item Triggers
  • Item Conditions
Placeholders
  • Placeholders