Jump to content

Bug on durability

Pending 2.1.12

xiox
xiox

Posted (edited)

I created a custom metal facemask below. But it appear with half durability. How to fix it?
On other case, there is no bug on badit Guard Gear and roadsign kilt.

{
  "Shortname": "metal.facemask",
  "SkinId": 2330112934,
  "Name": "S3 Metal Facemask",
  "Description": "蒼界",
  "Display the cooking icon?": false,
  "UI Settings": {
    "Name Color (or use <color></color> in name)": "1 1 1 1",
    "Frame Color": "0.94 0.75 0.15 1"
  },
  "Protection": {
    "Hunger": 0.0,
    "Thirst": 0.0,
    "Cold": 0.0,
    "Drowned": 0.0,
    "Heat": 0.0,
    "Bleeding": 0.0,
    "Poison": 0.0,
    "Suicide": 0.0,
    "Bullet": 50.0,
    "Slash": 70.0,
    "Blunt": 70.0,
    "Fall": 0.0,
    "Radiation": 0.0,
    "Bite": 8.33,
    "Stab": 70.0,
    "Explosion": 8.33,
    "RadiationExposure": 0.0,
    "ColdExposure": -4.17,
    "ElectricShock": 0.0,
    "Arrow": 50.0,
    "BeeSting": 0.0,
    "OxygenExposure": 0.0
  }
}

 

image.png

Edited by xiox
xiox

Posted (edited)

Its also happen on 3.0.2 version.

 On 3.0.2 Custom.json

{
      "Short system name for the new item. Must be unique, contain no spaces, and must not be changed after items are created.": "metal.facemask.s3",
      "Short name of the parent item on the basis of which the item will be created. Can be changed.": "metal.facemask",
      "Default Icon (Skin ID from workshop)": 0,
      "Protection Config": "metal.facemask.s3",
      "Can only be worn by NPCs": false,
      "Prevents Mounting": false,
      "Block From Mannequin": false,
      "Wearable": {
        "Occupation Over": "HeadTop, Face",
        "Occupation Under": 0
      },
      "Armor Properties": {
        "Area": "Head"
      },
      "Break Effect": ""
    }

Protection Config
 

{
  "Comments": "",
  "Density (0-100)": 1.0,
  "Protection percentage by damage type": {
    "Generic": 0.0,
    "Hunger": 0.0,
    "Thirst": 0.0,
    "Cold": 0.0,
    "Drowned": 0.0,
    "Heat": 0.0,
    "Bleeding": 0.0,
    "Poison": 0.0,
    "Suicide": 0.0,
    "Bullet": 55.0,
    "Slash": 77.0,
    "Blunt": 77.0,
    "Fall": 0.0,
    "Radiation": 0.0,
    "Bite": 9.13,
    "Stab": 77.0,
    "Explosion": 9.163,
    "RadiationExposure": 0.0,
    "ColdExposure": -4.587,
    "Decay": 0.0,
    "ElectricShock": 0.0,
    "Arrow": 55.0,
    "AntiVehicle": 110.0,
    "Collision": 110.0,
    "Fun_Water": 0.0,
    "BeeSting": 0.0
  }
}

 

Edited by xiox
0xF

Posted

It might be a plugin conflict.

xiox

Posted (edited)

@0xF

But there is no other modifing item plugin.

I just use CustomItemDefinitions, CustomizableWeapon and CustomizableProtection.

Edited by xiox
0xF

Posted

Have you changed the item base shortname after initial creation? If so, the previous shortname is used. Restart the server in this case.

1.9m

Downloads

Total number of downloads.

9.2k

Customers

Total customers served.

134.6k

Files Sold

Total number of files sold.

2.8m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.