Browse Source

v1.0.0-dev/content): Added Item json

Steve Thielemann 1 year ago
parent
commit
890d20d837

+ 32 - 0
content/items/armors/cloth.json

@@ -0,0 +1,32 @@
+{
+    "cloth-cap": {
+        "name": "Cloth Cap",
+        "craft": {
+            "allowed": true,
+            "recipe": {
+                "leather": 5,
+                "leather-strips": 3
+            },
+            "level": "craft",
+            "output": {
+                "cloth-cap": 1
+            }
+        },
+        "stats": {
+            "ac": 4,
+            "enchant": {
+                "bonus-ac": 2
+            },
+            "flamable": "low"
+        },
+        "stack-size": 1,
+        "price": {
+            "buy": "20c",
+            "sell": "10c"
+        },
+        "tile": {
+            "color": "WHI ON BLA",
+            "symbol": "n"
+        }
+    }
+}

+ 44 - 0
content/items/craftitems/wooden.json

@@ -0,0 +1,44 @@
+{
+  "wood": {
+    "name": "Wood",
+    "price": {
+      "buy": "4c",
+      "sell": "2c"
+    },
+    "stats": {
+      "flamable": "high"
+    },
+    "tile": {
+      "color": "BRO ON BLA",
+      "symbol": "="
+    }
+  },
+  "wood-plank": {
+    "name": "Wood Plank",
+    "price": {
+      "buy": "6c",
+      "sell": "3c"
+    },
+    "stats": {
+      "flamable": "medium"
+    },
+    "tile": {
+      "color": "BRO ON BLA",
+      "symbol": "#"
+    }
+  },
+  "wood-stick": {
+    "name": "Wood Stick",
+    "price": {
+      "buy": "6c",
+      "sell": "3c"
+    },
+    "stats": {
+      "flamable": "medium"
+    },
+    "tile": {
+      "color": "BRO ON BLA",
+      "symbol": "|"
+    }
+  }
+}

+ 32 - 0
content/items/potions/healing.json

@@ -0,0 +1,32 @@
+{
+    "minor-healing": {
+        "name": "Minor Healing Potion",
+        "craft": {
+            "allowed": true,
+            "recipe": {
+                "golden-melon": 1,
+                "cactus": 1,
+                "glass-bottle": 1
+            },
+            "level": "brew",
+            "output": {
+                "minor-healing": 1
+            }
+        },
+        "price": {
+            "buy": "14c",
+            "sell": "7c"
+        },
+        "stats": {
+            "effect": {
+                "type": "instant",
+                "heal": 3
+            },
+            "shatter": true
+        },
+        "tile": {
+            "color": "RED ON BLA",
+            "symbol": "d"
+        }
+    }
+}

+ 38 - 0
content/items/scrolls/fire.json

@@ -0,0 +1,38 @@
+{
+    "scroll-fireball": {
+        "name": "Scroll of Fireball",
+        "craft": {
+            "allowed": true,
+            "recipe": {
+                "paper": 1,
+                "crimson-mushroom": 1,
+                "ruby-dust": 2
+            },
+            "level": "enchant",
+            "output": {
+                "scroll-fireball": 1
+            }
+        },
+        "stats": {
+            "spell": {
+                "damage": "1d12+2",
+                "hit": "1d20",
+                "counter": [
+                    "dex",
+                    "int"
+                ],
+                "after": {
+                    "effect": "fire",
+                    "damage": "1d4",
+                    "duration": {
+                        "type": "turns",
+                        "amount": 4
+                    }
+                }
+            }
+        },
+        "tile": {
+            
+        }
+    }
+}

+ 37 - 0
content/items/weapons/daggers.json

@@ -0,0 +1,37 @@
+{
+  "wood-dagger": {
+    "name": "Wooden Dagger",
+    "craft": {
+      "allowed": true,
+      "recipe": {
+        "wood-plank": 1,
+        "wood-stick": 1
+      },
+      "level": "craft",
+      "output": {
+        "wood-dagger": 1
+      }
+    },
+    "stats": {
+      "damage": "1d4",
+      "hit": "1d20+1",
+      "enchant": {
+        "bonus-damage": 3,
+        "bonus-hit": 3
+      },
+      "counter": [
+        "dex"
+      ],
+      "flamable": "high"
+    },
+    "stack-size": 1,
+    "price": {
+      "buy": "30c",
+      "sell": "15c"
+    },
+    "tile": {
+      "color": "BRO ON BLA",
+      "symbol": "|"
+    }
+  }
+}