Add more details to package page

This commit is contained in:
rubenwardy
2018-03-20 02:17:33 +00:00
parent d17535fc78
commit d3484d96e1
5 changed files with 76 additions and 9 deletions

View File

@@ -21,7 +21,22 @@ if not os.path.isfile("db.sqlite"):
mod1.title = "Awards"
mod1.type = PackageType.MOD
mod1.author = ruben
mod1.description = "Adds achievements and an API to register new ones."
mod1.shortDesc = "Adds achievements and an API to register new ones."
mod1.desc = """
Majority of awards are back ported from Calinou's old fork in Carbone, under same license.
```
awards.register_achievement("award_mesefind",{
title = "First Mese Find",
description = "Found some Mese!",
trigger = {
type = "dig", -- award is given when
node = "default:mese", -- this type of node has been dug
target = 1, -- this number of times
},
})
```
"""
mod1.repo = "https://github.com/rubenwardy/awards"
mod1.issueTracker = "https://github.com/rubenwardy/awards/issues"
mod1.forums = "https://forum.minetest.net/viewtopic.php?t=4870"