Epic Fight

Epic Fight

13M Downloads

[1.12.2] How can I add new weapons using the configuration file?

JovenOculto opened this issue · 3 comments

commented

I try and I dont find any information about this, also tryed by miself figuring out how to do carefully looking at the examples in the config file but it refuses to work properly (or in any way at all).

This is what I have at this moment:

# Configuration file

custom {

    custom_weaponry {

        spartan_greatsword_bronze {
            D:armor_negation=0.0
            D:impact=2.1
            I:max_strikes=1
            S:registry_name=spartanweaponry:greatsword_bronze
            S:weapon_type=GREATSWORD
        }

        sample_weapon2 {
            S:registry_name=modid:registryname

            # Valid values:
            # AXE
            # FIST
            # HOE
            # PICKAXE
            # SHOVEL
            # SWORD
            # SPEAR
            # GREATSWORD
            # KATANA
            S:weapon_type=SWORD

            onehand {
                D:armor_negation=0.0
                D:impact=0.5
                I:max_strikes=1
            }

            twohand {
                D:armor_negation=0.0
                D:impact=0.5
                I:max_strikes=1
            }

        }

        sample_weapon1 {
            D:armor_negation=0.0
            D:impact=0.5
            I:max_strikes=1
            S:registry_name=modid:registryname

            # Valid values:
            # AXE
            # FIST
            # HOE
            # PICKAXE
            # SHOVEL
            # SWORD
            # SPEAR
            # GREATSWORD
            # KATANA
            S:weapon_type=SWORD
        }

    }

    custom_armor {

        sample_armor {
            S:registry_name=modid:registryname
            D:stun_armor=0.0
            D:weight=0.0
        }

    }

}

commented

@Yesssssman why did you close this? it´s unsolved

commented

1.12.2 is old and won't be supported.

commented

so cannot add any weapon in 1.12.2 ?