Line 188: |
Line 188: |
| { | | { |
| "Action": "EditData", | | "Action": "EditData", |
− | "Target": "Data/ObjectInformation", | + | "Target": "Data/Objects", |
| "Entries": { | | "Entries": { |
− | "Example.ModId_Pufferchick": "Pufferchick/1200/100/Seeds -74/Pufferchick/An example object.////0/Mods\\Example.ModId\\Objects" | + | "Example.ModId_Pufferchick": { |
| + | "Name": "Pufferchick", |
| + | "Displayname": "Pufferchick", |
| + | "Description": "An example object.", |
| + | "Type": "Seeds", |
| + | "Category": -74, |
| + | "Price": 1200, |
| + | |
| + | "Texture": "Mods/Example.ModId/Objects", |
| + | "SpriteIndex": 0 |
| } | | } |
| }, | | }, |
Line 213: |
Line 222: |
| "Target": "Data/Crops", | | "Target": "Data/Crops", |
| "Entries": { | | "Entries": { |
− | "Example.ModId_Pufferchick": "1 1 1 1 1/spring summer fall/0/Example.ModId_Pufferchick/-1/0/false/false/false/Mods\\Example.ModId\\Crops" | + | "Example.ModId_Pufferchick": { |
| + | "Seasons": [ "spring", "summer", "fall" ], |
| + | "DaysInPhase": [ 1, 1, 1, 1, 1 ], |
| + | "HarvestItemId": "Example.ModId_Pufferchick", |
| + | |
| + | "Texture": "Mods/Example.ModId/Crops", |
| + | "SpriteIndex": 0 |
| } | | } |
| }, | | }, |
Line 226: |
Line 241: |
| }</nowiki>|lang=javascript}} | | }</nowiki>|lang=javascript}} |
| | | |
− | Most item data assets work just like <samp>Data/ObjectInformation</samp>. See also specific info for [[#Custom fruit trees|custom fruit trees]], [[#Custom tools|custom tools]], and [[#Custom melee weapon data|melee weapons]]. | + | Most item data assets work just like <samp>Data/Objects</samp>. See also specific info for [[#Custom fruit trees|custom fruit trees]], [[#Custom tools|custom tools]], and [[#Custom melee weapon data|melee weapons]]. |
| | | |
| ====Error items==== | | ====Error items==== |