mirror of
https://github.com/a-bad-dev/simple-shooter-game.git
synced 2026-06-09 04:16:30 +00:00
Move chatcommands to a seperate mod
This commit is contained in:
parent
133480f8a2
commit
44c1be6a55
292 changed files with 50 additions and 45 deletions
23
mods/misc/ctf_guns/rawf/API.md
Normal file
23
mods/misc/ctf_guns/rawf/API.md
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
## Custom item definition values
|
||||
|
||||
```lua
|
||||
{
|
||||
-- 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>
|
||||
}
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue