Mod Details

Ammo Stats on Name

Ammo Stats on Name 1.0.0

Created by Spring

4.3K Downloads

SPT 3.11.4 Compatible

Adds the damage, projectile count and penetration values in the bullet's name.

Latest Version 1.0.0
SPT 3.11.4

Updated Mar 30, 6:52 PM

Version Notes
This download is externally hosted.
Always scan for viruses.

If the bullet has only one projectile:

(Damage / Penetration)

If the bullet has more than one projectile:

(Damage x ProjectileCount / Penetration)

To install drag the user folder into the SPT’s root folder.

Version 1.0.0
Download Mod Version
SPT 3.11.4 +4 more
All Compatible SPT Versions:
3.11.4 3.11.3 3.11.2 3.11.1 3.11.0

4.3K Downloads

Released Mar 30, 6:52 PM

Fika Compatibility Unknown

No Addons Yet

This mod doesn't have any addons yet.

Kweet

This will work for 3.10.x just have to change .json version.

0 Likes
LHQAQLH
0 Likes
Flaxes

thx for this mod
can you please apply multi-lang fix to it?
for now - only one language is modified bullet’s name

working code for multi-language support

(if some players on FIKA have different languages)

(sorry for js instead of ts)

class Mod { locales; postDBLoad(container) { const databaseServer = container.resolve(“DatabaseServer”); // const localeService = container.resolve(“LocaleService”); const tables = databaseServer.getTables(); this.locales = tables.locales.global; const logger = container.resolve(“WinstonLogger”); const itemHelper = container.resolve(“ItemHelper”); const items = Object.values(tables.templates.items); const rounds = items.filter((x) => itemHelper.isOfBaseclass(x._id, BaseClasses_1.BaseClasses.AMMO)); for (const ammo of rounds) { let textToAdd = “”; const itemId = ammo._id; const props = ammo._props; if (props.ProjectileCount > 1) { textToAdd = (${props.Damage}x${props.ProjectileCount}/${props.PenetrationPower}); } else { textToAdd = (${props.Damage}/${props.PenetrationPower}); } this.addToName(itemId, textToAdd); } logger.info(“[Ammo Stats] Sucessfully added DMG and PEN to ammo names.“); } addToName(itemId, addToName, localeArg) { if (!localeArg) { for (const locale in this.locales) { this.addToName(itemId, addToName, locale); } return; } const itemIdName = ${itemId} Name; const originalName = this.locales[localeArg][itemIdName] || this.locales[“en”][itemIdName]; this.locales[localeArg][itemIdName] = originalName + addToName; } }

0 Likes
impact83

Something like this would be nice for FIKA. Thx for this QoL mod

0 Likes

Hey mate, where do I get Fika now-a-days?

0 Likes

no link, but just google “project fika github”

0 Likes

Alright thanks<3

0 Likes
Shturman

thx for this mod

1 Like

Details