# NX-17 Charge Rifle...why was it removed?

**URL:** https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444
**Category:** The Garage
**Created:** [May 7, 2018, 4:16pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444 "2018-05-07T16:16:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![psyxypher](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/psyxypher/32/11778_2.png) [@psyxypher](https://discourse.cataclysmdda.org/u/psyxypher)
#### Post date: [May 7, 2018, 4:16pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/1 "2018-05-07T16:16:29Z")

</div>

Out of all the things that were removed from the game, this makes the least sense of them all to me, simply because it seems to _perfectly_ meld with the game mechanics. I couldn’t find any documentation on why this was removed. Could someone enlighten me?

EDIT: For those who don’t know what this, it was a chargeable laser that was removed way back in the last Stable, before my time.

---

<div class="post-metadata">

### Author: ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)
#### Post date: [May 7, 2018, 4:24pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/2 "2018-05-07T16:24:18Z")

</div>

I would personally like to know for a similar thing with the plasma engine.

---

<div class="post-metadata">

### Author: ![BorkBorkGoesTheCode](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/borkborkgoesthecode/32/2343_2.png) [@BorkBorkGoesTheCode](https://discourse.cataclysmdda.org/u/BorkBorkGoesTheCode)
#### Post date: [May 7, 2018, 4:33pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/3 "2018-05-07T16:33:48Z")

</div>

> <https://github.com/CleverRaven/Cataclysm-DDA/issues/15701>

  

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/15713>

  
Plasma engine:  

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/19051>

---

<div class="post-metadata">

### Author: ![psyxypher](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/psyxypher/32/11778_2.png) [@psyxypher](https://discourse.cataclysmdda.org/u/psyxypher)
#### Post date: [May 7, 2018, 4:38pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/4 "2018-05-07T16:38:43Z")

</div>

The Plasma Engine could be salvaged by saying you could craft “Hydrogen Fuel” on your own, while saying that Hydrogen Canisters are in fact Metallic Hydrogen that’s used in CVD machines and Superconductors (if there’s ever a need for those). Just my opinion.

Plasma Weapons are totally useless by the same logic. I say make them run off Fusion Packs. It’d explain why FPs happen to be lying around in Armories. Anyone else share this sentiment?

Charge Rifle makes sense. That’s all I wanted to know.

---

<div class="post-metadata">

### Author: ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)
#### Post date: [May 7, 2018, 6:30pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/5 "2018-05-07T18:30:10Z")

</div>

That was one of my ideas for a personal mod that would allow the crafting of an electrolysis machine to split spare water into a relatively low grade hydrogen fuel/ammo and oxygen with a special tool to refill air canisters or make homemade versions.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [May 8, 2018, 6:29pm UTC](https://discourse.cataclysmdda.org/t/nx-17-charge-rifle-why-was-it-removed/15444/6 "2018-05-08T18:29:23Z")

</div>

I stand by removing the charge rifle, it was an extremely complicated and hacky feature that only ever supported one weapon that itself made no sense. You can see from the PR removing it that it had a ton of support code scattered all over the place.

Dropping Plasma engines on the other hand allowed for this _massive_ code cleanup: [https://github.com/CleverRaven/Cataclysm-DDA/pull/19356/files](https://github.com/CleverRaven/Cataclysm-DDA/pull/19356/files)

I have no idea what they were thinking there, it was just another engine type, removing it didn’t make anything significantly simpler, and you certainly don’t start a refactor off by removing use cases, that’s just asking for your code to end up inflexible after you’re done.

The competition for hydrogen cells argument doesn’t make any sense. If your engine is impractical to use post-cataclysm because there’s no infrastructure for refueling it, _that’s fine_. It’s totally something we expect to happen, so of course there’s going to be a ton of useless stuff lying around.
