Skip to content

Commit

Permalink
Water cannon can load acid (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosvolt committed May 13, 2023
1 parent 074c1e3 commit 5fbab82
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
6 changes: 6 additions & 0 deletions data/json/items/ammo_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,5 +629,11 @@
"type": "ammunition_type",
"name": "water",
"default": "water"
},
{
"id": "acid",
"type": "ammunition_type",
"name": "acid",
"default": "acid"
}
]
25 changes: 18 additions & 7 deletions data/json/items/chemicals_and_resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@
"volume": "250 ml",
"phase": "liquid",
"category": "chems",
"fun": -30
"fun": -30,
"ammo_data": { "ammo_type": "acid", "damage": { "damage_type": "acid", "amount": 2 }, "effects": [ "RECOVER_10" ] }
},
{
"type": "COMESTIBLE",
Expand All @@ -410,7 +411,8 @@
"volume": "250 ml",
"phase": "liquid",
"category": "chems",
"fun": -15
"fun": -15,
"ammo_data": { "ammo_type": "acid", "damage": { "damage_type": "acid", "amount": 1 }, "effects": [ "RECOVER_10" ] }
},
{
"type": "COMESTIBLE",
Expand All @@ -433,7 +435,8 @@
"category": "chems",
"fun": -45,
"freezing_point": 25,
"drop_action": { "type": "emit_actor", "emits": [ "emit_acid_splash" ], "scale_qty": true }
"drop_action": { "type": "emit_actor", "emits": [ "emit_acid_splash" ], "scale_qty": true },
"ammo_data": { "ammo_type": "acid", "damage": { "damage_type": "acid", "amount": 3 }, "effects": [ "RECOVER_10" ] }
},
{
"type": "COMESTIBLE",
Expand Down Expand Up @@ -565,7 +568,9 @@
"volume": "250 ml",
"weight": "460 g",
"bashing": 1,
"ammo_type": "components",
"ammo_type": "acid",
"damage": { "damage_type": "acid", "amount": 6 },
"effects": [ "RECOVER_10" ],
"phase": "liquid",
"container": "bottle_glass",
"//freezing_point": 25,
Expand All @@ -585,7 +590,9 @@
"volume": "250 ml",
"weight": "460 g",
"bashing": 1,
"ammo_type": "components",
"ammo_type": "acid",
"damage": { "damage_type": "acid", "amount": 5 },
"effects": [ "RECOVER_10" ],
"phase": "liquid",
"container": "bottle_glass",
"//freezing_point": 25,
Expand All @@ -605,7 +612,9 @@
"volume": "250 ml",
"weight": "375 g",
"bashing": 1,
"ammo_type": "components",
"ammo_type": "acid",
"damage": { "damage_type": "acid", "amount": 4 },
"effects": [ "RECOVER_10" ],
"phase": "liquid",
"container": "bottle_glass",
"//freezing_point": -44,
Expand Down Expand Up @@ -786,7 +795,9 @@
"volume": "250 ml",
"weight": "300 g",
"bashing": 1,
"ammo_type": "components",
"ammo_type": "acid",
"damage": { "damage_type": "acid", "amount": 3 },
"effects": [ "RECOVER_10" ],
"phase": "liquid",
"container": "bottle_glass"
},
Expand Down
4 changes: 2 additions & 2 deletions data/json/items/gun/misc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"symbol": "&",
"color": "dark_gray",
"name": { "str": "water cannon" },
"description": "A water cannon from a fire truck. Mounted on a vehicle, it could be used to stop fires or \"protesters\".",
"description": "A water cannon from a fire truck. Mounted on a vehicle, it could be used to stop fires or \"protesters\". Or it could be loaded with something more corrosive, for a lot less firefighting and a lot more excessive force.",
"price": 50000,
"material": "steel",
"flags": [ "NEVER_JAMS", "MOUNTED_GUN", "NO_RELOAD", "NON-FOULING" ],
"ammo_effects": [ "JET", "BEANBAG", "NEVER_MISFIRES" ],
"ammo": "water",
"ammo": [ "water", "acid" ],
"weight": "24500 g",
"volume": "12500 ml",
"price_postapoc": 500,
Expand Down

0 comments on commit 5fbab82

Please sign in to comment.