Skip to content

Commit

Permalink
Update type of 22_casing_new (#38172)
Browse files Browse the repository at this point in the history
* Corrected new 22 casing

* remove extraneous fields

Remove fields relating to ammo. tested changes by disassembling .22 ammo into this casing, then crafting reloaded ammo
  • Loading branch information
Kilvoctu authored Feb 20, 2020
1 parent b1865fe commit 24a32c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
16 changes: 0 additions & 16 deletions data/json/items/ammo.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,22 +476,6 @@
"explosion_data": { "chance_hot": 2, "chance_cold": 2, "factor": 1, "fiery": true, "size_factor": 0.15 }
}
},
{
"type": "AMMO",
"id": "22_casing_new",
"category": "spare_parts",
"price": 100,
"name": { "str": "unused .22 casing" },
"symbol": "=",
"color": "yellow",
"description": "An unfired, like-new .22 round casing, with the primer still intact.",
"material": [ "powder", "brass" ],
"volume": "250 ml",
"weight": "1 g",
"ammo_type": "components",
"count": 200,
"effects": [ "COOKOFF" ]
},
{
"type": "AMMO",
"id": "gunpowder",
Expand Down
13 changes: 13 additions & 0 deletions data/json/items/generic/casing.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@
"weight": "2 g",
"volume": "3ml"
},
{
"id": "22_casing_new",
"type": "GENERIC",
"category": "spare_parts",
"price": 100,
"name": { "str": "unused .22 casing" },
"symbol": "=",
"color": "yellow",
"description": "An unfired, like-new .22 round casing, with the primer still intact.",
"material": [ "powder", "brass" ],
"volume": "250 ml",
"weight": "1 g"
},
{
"id": "3006_casing",
"copy-from": "casing",
Expand Down

0 comments on commit 24a32c0

Please sign in to comment.