mirror of
https://github.com/LoneWolfHT/grenades.git
synced 2024-11-21 22:33:45 +01:00
Fix markdown
This commit is contained in:
parent
3e85df539a
commit
94f311b43f
2
api.md
2
api.md
@ -4,6 +4,7 @@ Still WIP. Please suggest new features here: https://forum.minetest.net/viewtopi
|
||||
|
||||
## API
|
||||
|
||||
```lua
|
||||
grenades.register_grenade("name", { -- Name of the grenade (Like 'smoke' or 'flashbang')
|
||||
description = "", -- A short description of the grenade.
|
||||
image = "", -- The name of the grenade's texture
|
||||
@ -22,3 +23,4 @@ Still WIP. Please suggest new features here: https://forum.minetest.net/viewtopi
|
||||
interval = 5, -- How long it takes before a particle can be added
|
||||
}
|
||||
})
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user