Json Items.json - hikipuro/rpgmakermv_ref GitHub Wiki

Items.json

[JSONデータ一覧]

Items.json の構造

  • データベースのアイテムのデータ
  • data/Items.json に配置されている
  • インデックス 0 の項目は null (1 から始まる)
[
  null,
  {
    "id": 1,
    "animationId": 41,
    "consumable": true,
    "damage": {
      "critical": false,
      "elementId": 0,
      "formula": "0",
      "type": 0,
      "variance": 20
    },
    "description": "",
    "effects": [
      {
        "code": 11,
        "dataId": 0,
        "value1": 0,
        "value2": 500
      },
      .
      .
      .
    ],
    "hitType": 0,
    "iconIndex": 176,
    "itypeId": 1,
    "name": "ポーション",
    "note": "",
    "occasion": 0,
    "price": 50,
    "repeats": 1,
    "scope": 7,
    "speed": 0,
    "successRate": 100,
    "tpGain": 0
  },
  .
  .
  .
]
項目 説明
id number アイテムのID
animationId number 発動:アニメーション
consumable boolean 基本設定:消耗
damage object ダメージ
description string 基本設定:説明
effects Array.<object> 使用効果
hitType number 発動:命中タイプ
iconIndex number 基本設定:アイコン
itypeId number 基本設定:アイテムタイプ
name string 基本設定:名前
note string メモ
occasion number 基本設定:使用可能時
price number 基本設定:価格
repeats number 発動:連続回数
scope number 基本設定:範囲
speed number 発動:速度補正
successRate number 発動:成功率
tpGain number 発動:得TP
⚠️ **GitHub.com Fallback** ⚠️