Initial setup
This commit is contained in:
7
mods/ShopMod.properties
Normal file
7
mods/ShopMod.properties
Normal file
@@ -0,0 +1,7 @@
|
||||
classname=mod.treestar.shopmod.ShopMod
|
||||
classpath=ShopMod.jar
|
||||
sharedClassLoader=true
|
||||
|
||||
# Activates the json item provider and loads items from the given configuration
|
||||
jsonItemProvider=true
|
||||
jsonItemProviderItems=mods/shop_items.json
|
||||
18
mods/shop_items.json
Normal file
18
mods/shop_items.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Items",
|
||||
"description": "Available in-game items for purchase.",
|
||||
"items": [
|
||||
{
|
||||
"id": 1,
|
||||
"name": "Sleep Powder",
|
||||
"description": "Grants 1 hour of sleep bonus.",
|
||||
"ironPrice": 50000,
|
||||
"image": "https://www.wurmpedia.com/images/5/5e/Sleep_powder.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user