# Good Plasma Rifle (Mod)

**URL:** <https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653>\
**Category:** The Lab\
**Tags:** mod\
**Created:** [November 28, 2018, 5:06am UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653 "2018-11-28T05:06:15Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![nameless\_survivor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nameless_survivor/32/4476_2.png) [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Post date:** [November 30, 2018, 5:28pm UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653/21 "2018-11-30T17:28:50Z")

</div>

> [@darktoes](#):
>
> It’s… possible? It would probably be easier to just use the delayed transformation system with a “it’s venting” handwave explanation rather than anything rational. Using a liquid as an ammunition is fully possible. Making it regenerate on it’s own and having the gun check for temperature is completely impossible as far as I know.

Would you have to make the weapon consume the liquid in the sealed magazine? I was thinking it would just stay there, and be a way for the game to track if the contents were hot/cold/frozen.  
As for weapon tracking magazine temperature, if you can’t do this easily or at all, instead implement a counting/point system or something based on how much its been fired and on what setting, instead of directly tracking the temperature. The magazine would just always get ejected when the counter hit a certain value, and would pop into reality hot. Have it be unusable while it has the hot tag.

---

<div class="post-metadata">

**Author:** ![darktoes](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@darktoes](https://discourse.cataclysmdda.org/u/darktoes)\
**Post date:** [November 30, 2018, 5:30pm UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653/22 "2018-11-30T17:30:52Z")

</div>

Yeah, none of that is do-able through JSON. As of now I only have access to JSON.

Well, the counter bit is. Basically all I can do is like I’ve done thus far, have a transformation that refills something with ammunition. I MIGHT be able to skip the current cooling/standby mode system by converting it to use a delayed transformation, but I don’t know for sure.

---

<div class="post-metadata">

**Author:** ![nameless\_survivor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nameless_survivor/32/4476_2.png) [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Post date:** [November 30, 2018, 5:38pm UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653/23 "2018-11-30T17:38:09Z")

</div>

I’ll take your word for it, I have almost zero experience messing with JSON. I couldn’t program my way out of a wet paper bag.

I’ve only ever programmed in MATLAB back in college, and really I was only good at making ones that worked by brute force or tricking the code into doing what I wanted rather than having elegant programs which accomplished my goal directly.

---

<div class="post-metadata">

**Author:** ![darktoes](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@darktoes](https://discourse.cataclysmdda.org/u/darktoes)\
**Post date:** [November 30, 2018, 5:40pm UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653/24 "2018-11-30T17:40:00Z")

</div>

A JSON file is literally just a list of values that you want something to have, which is why this is so difficult to make happen. The only things I can do is transformations and mechanics that already exist ingame, like using a charge every turn and making it transform when it runs out of charges.

---

<div class="post-metadata">

**Author:** ![nameless\_survivor](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/nameless_survivor/32/4476_2.png) [@nameless\_survivor](https://discourse.cataclysmdda.org/u/nameless_survivor)\
**Post date:** [November 30, 2018, 5:41pm UTC](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653/25 "2018-11-30T17:41:34Z")

</div>

Yeah, I know. I’ve opened up some of the game files, they looked kind of like Dwarf Fortress raws, which I’ve edited plenty. But I am not familiar with this program’s workings enough to play with them. Yet.

[Previous page](https://discourse.cataclysmdda.org/t/good-plasma-rifle-mod/17653.md?page=1)
