simple-shooter-game/mods/game/ctf_guns/rawf/API.md
IonicCheese 17eeae8937
Massive update (#6)
* Refactor some of the code, multiple bug fixes

* Fix something stupid

* More bug fixes

* LOTS OF STUFF

* Make the sniper alot stronger and other changes

* Prevent Players from respawning in the middle of a match

* Fix stupid mistake

* Small update

* More updates

* Remove minimap access.. and downgrade the sniper class
2025-12-10 23:17:42 -04:00

556 B

Custom item definition values

{
	-- Name of the loaded version of the ranged weapon
	-- Used by: load_weapon()
	-- Set by: also_register_loaded_tool()
	loaded_name = <string>,

	-- Name of the unloaded version of the ranged weapon
	-- Used by: unload_weapon()
	-- Set by: also_register_loaded_tool()
	unloaded_name = <string>,

	-- Amount of bullets the ranged weapon can shoot.
	-- Used by: unload_weapon()
	rounds = <number>,

	-- Ammo that can be used by the ranged weapon
	-- Used by: load_weapon()
	ammo = <itemstack | string | list>
}