Lirikana-Weaponlib 1.0.7

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Library for creating weapons, ammo and magazines. Does not contain any new items.

Library designed for easy use to create new weapons, attachments, grenades, ammo and magazines. Specifically created for ease of use in mind. Please read the README.md for the workflow to create new items.


It can also be used to modify existing items in the game.

  • Version 1.0.7

    Code
    1.0.7 Update
    Fixed small typos
    
    Added Typed change functions. These have 3 valid types.
    0, 1, 2. 0 is the same as original function, where it replaces the value of the item.
    1 adds to the value of the item, a relative change.
    2 is a percentage change of thew item's value, 100 is 100%.
  • Version 1.0.6

    New functions and such for the Armorlib and Plate system

  • Version 1.0.4

    1.0.4 Update

    Fixed magazineChangeSize

    Added two new functions to ammo

    ammoAddCustomCalAllItems(ammoId, ammoSample);

    ammoAddDefaultCalAllItems(ammoId, ammoType);

    Please check function for the details.

  • Version 1.0.3

    1.0.3 Update

    Fixed adding items to handbook and fleamarket.

    Added additional functions to weapon.

    weaponChangeDispCal(weaponId, caliber);

    weaponChangeBurst(weaponId);

    weaponChangeBurstAutomatic(weaponId);

    weaponChangeBurstCount(weaponId, count);

    Please check the function for function of the function.

  • Version 1.0.2

    Many bugfixes, too many to count.

    Added getter functions to get variables in your mods. Please follow the README for instructions.

    Might be undocumented changes around.

  • Version 1.0.1

    Added support for attachment modding, minus scopes.

    Added support for grenade modding.

    Added new functions to item and weapon.


    Please read README to find all the new changes.

  • Version 1.0.0

  • I keep getting errors with this.