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

Last edited by Lxlp Nov 29, 2024
Page history

ReloadAmmo

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

Examples

  Skills:
  - reloadammo{sync=false;
    onReload=TestGun-Reload;
    onFail=TestGun-Reload-Fail;
    onFull=TestGun-Reload-Full
    } @self ~onSwing

Aliases

  • loadAmmo
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