Skip to content

Team Fortress 2 Factory Faker for in-game weapon names.

License

Notifications You must be signed in to change notification settings

cheddZy/tf2-faker

Repository files navigation

This is my package tf2-faker

Latest Version on Packagist Total Downloads

Package that helps you return random Team Fortress 2 names of weapons in factories.

Installation

You can install the package via composer:

composer require cheddzy/tf2-faker --dev

Usage

Provided for each TF2 class is a method to return a random weapon string in a factory:

$this->faker->scoutWeapon();

You can also specify a class and class + slot:

$this->faker->classWeapon('heavy');
$this->faker->classWeaponSlot('engineer', 'pda');

As well as for specific slots per class:

$this->faker->spyPrimary();
$this->faker->spyMelee();
$this->faker->spyPDA();
$this->faker->spyWatch();
$this->faker->spySapper();

These exist for all 9 classes.

NOTE: Keep in mind spy is the only one with a Watch and Sapper slot, and Engineer and Spy are the only ones with a PDA slot!

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Test

About

Team Fortress 2 Factory Faker for in-game weapon names.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages