An open API service indexing awesome lists of open source software.

https://github.com/techdudie/vfcrates

vf-crates
https://github.com/techdudie/vfcrates

Last synced: 6 months ago
JSON representation

vf-crates

Awesome Lists containing this project

README

          

# vfcrates
vfcrates, a mod by TechDudie

API:

Registering a key:
```lua
register_key("silver", loot, texture)
```
`"silver"` is the key name. The key will be called `Silver Key`. `loot` should be an array, containing the loot table. `texture`, well, defines the texture. If it is `nil`/not defined, it will look for the texture under `textures/vfcrates_KEYNAME_key.png`. If it is a hex RGB color, like `#808080`, the key texture will be autogenerated. You can specify a custom texture name, if you want.