Toma400 / The_Isle_of_Ansur

Python-based text RPG game, successor of Between Shadows and Light.
Other
9 stars 0 forks source link

Reimplementation of old `items.json` #116

Open Toma400 opened 7 months ago

Toma400 commented 7 months ago

With new items system, previously added items should be reimplemented:

items.json

{
  "ayer_knife": [
    {
      "item_id": "ansur:ayer_knife",
      "category": "weapon",
      "type": "shortsword",
      "descript": "Ayer Knife",
      "stackable": false,
      "weight": 1.2,
      "max_quality": "good",
      "durability": 70,
      "min_price": 22,
      "max_price": 25,
      "average_dmg": 4,
      "dmg_yaw": 1,
      "block_chance": 10,
      "needs_U+": 0
    }
  ],
  "sickle": [
    {
      "item_id": "ansur:sickle",
      "category": "weapon_tool",
      "type": "shortsword",
      "descript": "Sickle",
      "stackable": false,
      "weight": 0.9,
      "max_quality": "good",
      "durability": 85,
      "min_price": 24,
      "max_price": 30,
      "average_dmg": 5,
      "dmg_yaw": 2,
      "block_chance": 0,
      "needs_U+": 0
    }
  ],
  "short_sword": [
    {
      "item_id": "ansur:short_sword",
      "category": "weapon",
      "type": "shortsword",
      "descript": "Short Sword",
      "stackable": false,
      "weight": 1.8,
      "max_quality": "hardened",
      "durability": 100,
      "min_price": 30,
      "max_price": 38,
      "average_dmg": 10,
      "dmg_yaw": 1,
      "block_chance": 25,
      "needs_U+": 0
    }
  ],
  "iron_sabre": [
    {
      "item_id": "ansur:iron_sabre",
      "category": "weapon",
      "type": "shortsword",
      "descript": "Iron Sabre",
      "stackable": false,
      "weight": 1.7,
      "max_quality": "hardened",
      "durability": 95,
      "min_price": 35,
      "max_price": 46,
      "average_dmg": 9,
      "dmg_yaw": 3,
      "block_chance": 35,
      "needs_U+": 2
    }
  ],
  "iron_rapier": [
    {
      "item_id": "ansur:iron_rapier",
      "category": "weapon",
      "type": "shortsword",
      "subtype": "rapier",
      "descript": "Iron Rapier",
      "stackable": false,
      "weight": 1.5,
      "max_quality": "hardened",
      "durability": 88,
      "min_price": 44,
      "max_price": 55,
      "average_dmg": 7,
      "dmg_yaw": 4,
      "block_chance": 38,
      "needs_U+": 4
    }
  ],
  "dynamite": [
    {
      "item_id": "ansur:dynamite",
      "category": "weapon",
      "type": "ranged",
      "subtype": "vanishable",
      "descript": "Dynamite",
      "stackable": true,
      "weight": 0.8,
      "max_quality": "average",
      "durability": 1,
      "min_price": 30,
      "max_price": 40,
      "average_dmg": 5,
      "dmg_yaw": 25,
      "block_chance": 0,
      "needs_U+": 0,
      "self-harm_chance": 35,
      "self-harm_skill": true,
      "self-harm_percent": 45,
      "self-harm_yaw": 25
    }
  ],
  "bread": [
    {
      "item_id": "ansur:bread",
      "category": "food",
      "descript": "Bread",
      "stackable": true,
      "weight": 0.3,
      "min_price": 5,
      "max_price": 9,
      "healing": 3,
      "healing_time": 2,
      "hunger_thirst": "food",
      "ht_restore": 20,
      "out": false
    }
  ],
  "honey_roll": [
    {
      "item_id": "ansur:honey_roll",
      "category": "food",
      "descript": "Honey Roll",
      "stackable": true,
      "weight": 0.1,
      "min_price": 4,
      "max_price": 10,
      "healing": 1,
      "healing_time": 1,
      "hunger_thirst": "food",
      "ht_restore": 10,
      "out": false
    }
  ],
  "herring": [
    {
      "item_id": "ansur:herring",
      "category": "food",
      "descript": "Herring",
      "stackable": true,
      "weight": 0.3,
      "min_price": 7,
      "max_price": 12,
      "healing": 4,
      "healing_time": 2,
      "hunger_thirst": "food",
      "ht_restore": 15,
      "out": false
    }
  ],
  "roasted_herring": [
    {
      "item_id": "ansur:roasted_herring",
      "category": "food",
      "descript": "Roasted Herring",
      "stackable": true,
      "weight": 0.3,
      "min_price": 9,
      "max_price": 15,
      "healing": 8,
      "healing_time": 2,
      "hunger_thirst": "food",
      "ht_restore": 25,
      "out": false
    }
  ],
  "rat_meat": [
    {
      "item_id": "ansur:rat_meat",
      "category": "food",
      "descript": "Rat Meat",
      "stackable": true,
      "weight": 0.6,
      "min_price": 1,
      "max_price": 3,
      "healing": 1,
      "healing_time": 2,
      "hunger_thirst": "food",
      "ht_restore": -15,
      "out": false
    }
  ],
  "roasted_rat_meat": [
    {
      "item_id": "ansur:roasted_rat_meat",
      "category": "food",
      "descript": "Roasted Rat Meat",
      "stackable": true,
      "weight": 0.5,
      "min_price": 3,
      "max_price": 10,
      "healing": 5,
      "healing_time": 3,
      "hunger_thirst": "food",
      "ht_restore": 15,
      "out": false
    }
  ],
  "water": [
    {
      "item_id": "ansur:water",
      "category": "food",
      "descript": "Water",
      "stackable": true,
      "weight": 0.7,
      "min_price": 1,
      "max_price": 2,
      "hunger_thirst": "potion",
      "ht_restore": 30,
      "out": "ansur:empty_bottle"
    }
  ],
  "honey": [
    {
      "item_id": "ansur:honey",
      "category": "food",
      "descript": "Honey",
      "stackable": true,
      "weight": 0.4,
      "min_price": 2,
      "max_price": 2,
      "hunger_thirst": "food",
      "ht_restore": 3,
      "out": false
    }
  ],
  "beer": [
    {
      "item_id": "ansur:beer",
      "category": "food",
      "descript": "Beer",
      "stackable": true,
      "weight": 1,
      "min_price": 10,
      "max_price": 18,
      "hunger_thirst": "potion",
      "ht_restore": 10,
      "out": "ansur:empty_bottle"
    }
  ],
  "hyerbitus": [
    {
      "item_id": "ansur:hyerbitus",
      "category": "plant",
      "descript": "Hyerbitus",
      "stackable": true,
      "weight": 0,
      "min_price": 6,
      "max_price": 10
    }
  ],
  "dried_hyerbitus": [
    {
      "item_id": "ansur:dried_hyerbitus",
      "category": "plant",
      "descript": "Dried Hyerbitus",
      "stackable": true,
      "weight": 0,
      "min_price": 7,
      "max_price": 9
    }
  ],
  "empty_bottle": [
    {
      "item_id": "ansur:empty_bottle",
      "category": "utility",
      "descript": "Empty Bottle",
      "stackable": true,
      "weight": 0.2,
      "min_price": 2,
      "max_price": 3
    }
  ],
  "iron_ingot": [
    {
      "item_id": "ansur:iron_ingot",
      "category": "material",
      "descript": "Iron Ingot",
      "stackable": true,
      "weight": 2,
      "min_price": 7,
      "max_price": 10
    }
  ],
  "raw_iron": [
    {
      "item_id": "ansur:raw_iron",
      "category": "material",
      "descript": "Raw Iron",
      "stackable": true,
      "weight": 1,
      "min_price": 4,
      "max_price": 6
    }
  ],
  "flour": [
    {
      "item_id": "ansur:flour",
      "category": "material",
      "descript": "Flour",
      "stackable": true,
      "weight": 1.5,
      "min_price": 3,
      "max_price": 5
    }
  ],
  "wheat": [
    {
      "item_id": "ansur:wheat",
      "category": "material",
      "descript": "Wheat",
      "stackable": true,
      "weight": 1.2,
      "min_price": 3,
      "max_price": 4
    }
  ],
  "oak_log": [
    {
      "item_id": "ansur:oak_log",
      "category": "material",
      "descript": "Oak Log",
      "stackable": true,
      "weight": 1.6,
      "min_price": 4,
      "max_price": 7
    }
  ],
  "paper": [
    {
      "item_id": "ansur:paper",
      "category": "material",
      "descript": "Paper",
      "stackable": true,
      "weight": 0.2,
      "min_price": 3,
      "max_price": 5
    }
  ],
  "parchment": [
    {
      "item_id": "ansur:parchment",
      "category": "material",
      "descript": "Parchment",
      "stackable": true,
      "weight": 0.5,
      "min_price": 15,
      "max_price": 27
    }
  ],
  "silk": [
    {
      "item_id": "ansur:silk",
      "category": "material",
      "descript": "Silk",
      "stackable": true,
      "weight": 1.2,
      "min_price": 50,
      "max_price": 62
    }
  ],
  "wooden_handle": [
    {
      "item_id": "ansur:wooden_handle",
      "category": "part",
      "descript": "Wooden Handle",
      "stackable": true,
      "weight": 0.5,
      "min_price": 3,
      "max_price": 8
    }
  ],
  "iron_handle": [
    {
      "item_id": "ansur:iron_handle",
      "category": "part",
      "descript": "Iron Handle",
      "stackable": true,
      "weight": 0.75,
      "min_price": 6,
      "max_price": 10
    }
  ]
}