Creating Content ‐ Bullets - FlansMods/FlansModReloaded GitHub Wiki

Breakdown coming soon, this is an example file:

    "itemSettings": {
        "maxStackSize": 64,
        "tags": [
            "flansmod:bullet",
            "flansmod:pistol_bullet"
        ]
    },
    "roundsPerItem": 1,
    "hitscans": [
        {
            "shotCount": 1,
            "splashRadius": 0.0,
            "impacts": [
                {
                    "targetType": "ShotEntity",
                    "impactEffects": [
                        {
                            "effectType": "ApplyDamage",
                            "modifiers": []
                        }
                    ]
                },
                {
                    "targetType": "ShotBlock",
                    "impactEffects": [
                        {
                            "effectType": "ApplyDecal",
                            "modifiers": [
                                {
                                    "stat": "decal_texture",
                                    "matchGroupPaths": [],
                                    "accumulators": [],
                                    "setValue": "flansmod:effects/bullet_decal"
                                },
                                {
                                    "stat": "decal_duration",
                                    "matchGroupPaths": [],
                                    "accumulators": [
                                        {
                                            "operation": "BaseAdd",
                                            "value": 30.0,
                                            "multiplyPer": []
                                        }
                                    ],
                                    "setValue": ""
                                }
                            ]
                        }
                    ]
                }
            ],
            "penetrationPower": 1.0
        }
    ],
    "projectiles": [],
    "triggers": [],
    "actionGroups": []
}