* Feature/ulv ev guns (#1280) * update pakku mods * mod config stuff * Port over of current guns * ae2 gun recipes * nitrocellulose and other stuff * more recipes * gun packs Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com> * Update pakku-lock.json Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com> --------- Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com> * LICENSE * changed powderbarrel to use lumber instead of wood boards * lang * gunpowder unification * emi categories --------- Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com> Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
32 lines
No EOL
504 B
JavaScript
32 lines
No EOL
504 B
JavaScript
|
|
const ammoIndexLogic = (event) => {
|
|
const id = event.getId().toString();
|
|
|
|
if (!global.TACZ_ENABLED_AMMO.includes(id)) {
|
|
|
|
return event.removeAmmo();
|
|
}
|
|
|
|
|
|
}
|
|
|
|
const attachmentIndexLogic = (event) => {
|
|
const id = event.getId().toString();
|
|
|
|
if (!global.TACZ_ENABLED_ATTACH.includes(id)) {
|
|
|
|
return event.removeAttachment();
|
|
}
|
|
|
|
}
|
|
|
|
const gunIndexLogic = (event) => {
|
|
const id = event.getId().toString();
|
|
|
|
if (!global.TACZ_ENABLED_GUNS.includes(id)) {
|
|
|
|
return event.removeGun();
|
|
}
|
|
|
|
|
|
} |