# Where did I go wrong?

**URL:** https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358
**Category:** The Lab
**Created:** [July 22, 2013, 9:16pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358 "2013-07-22T21:16:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Mr\_Epic\_Cheese\_Man](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr_epic_cheese_man/32/54_2.png) [@Mr\_Epic\_Cheese\_Man](https://discourse.cataclysmdda.org/u/Mr_Epic_Cheese_Man)
#### Post date: [July 22, 2013, 9:16pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/1 "2013-07-22T21:16:40Z")

</div>

I tried making a new weapon and it moaned at me when I opened up the game and it didn’t work, where did I go wrong?

` {
    "id": "beam",
	"symbol": "|",
	"color": "red",
	"name": "Beam Sword",
	"description": "An advanced melee weapon which uses focusing crystals along with lasers to create an extremely heated beam.",
	"rarity": 1,
	"price": 95,
	"material": "paper",
	"weight": 6,
	"volume": 3,
	"bashing": 0,
	"cutting": 100,
	"to_hit": +10`

VAT HAFE EYE DUNN?

---

<div class="post-metadata">

### Author: ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)
#### Post date: [July 22, 2013, 9:21pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/2 "2013-07-22T21:21:08Z")

</div>

Do you have the closing ‘}’ with a comma after it (unless it’s the very last thing in the file, in which case there shouldn’t be a comma).

---

<div class="post-metadata">

### Author: ![Mr\_Epic\_Cheese\_Man](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr_epic_cheese_man/32/54_2.png) [@Mr\_Epic\_Cheese\_Man](https://discourse.cataclysmdda.org/u/Mr_Epic_Cheese_Man)
#### Post date: [July 22, 2013, 9:23pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/3 "2013-07-22T21:23:33Z")

</div>

Just noticed that and added it, it works! I’ve also just realized it’s made of paper. Why have I put that.

---

<div class="post-metadata">

### Author: ![Mr\_Epic\_Cheese\_Man](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr_epic_cheese_man/32/54_2.png) [@Mr\_Epic\_Cheese\_Man](https://discourse.cataclysmdda.org/u/Mr_Epic_Cheese_Man)
#### Post date: [July 22, 2013, 9:30pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/4 "2013-07-22T21:30:00Z")

</div>

And now it’s not working again, what the hell have I done?

---

<div class="post-metadata">

### Author: ![The\_Darkling\_Wolf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_darkling_wolf/32/828_2.png) [@The\_Darkling\_Wolf](https://discourse.cataclysmdda.org/u/The_Darkling_Wolf)
#### Post date: [July 22, 2013, 9:43pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/5 "2013-07-22T21:43:20Z")

</div>

What material did you change it to? And what error is it giving.

---

<div class="post-metadata">

### Author: ![Mr\_Epic\_Cheese\_Man](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr_epic_cheese_man/32/54_2.png) [@Mr\_Epic\_Cheese\_Man](https://discourse.cataclysmdda.org/u/Mr_Epic_Cheese_Man)
#### Post date: [July 22, 2013, 9:47pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/6 "2013-07-22T21:47:49Z")

</div>

It’s working now, and I’ve changed it to iron. There’s some pre map load messages, but it works anyway.

---

<div class="post-metadata">

### Author: ![Mr\_Epic\_Cheese\_Man](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr_epic_cheese_man/32/54_2.png) [@Mr\_Epic\_Cheese\_Man](https://discourse.cataclysmdda.org/u/Mr_Epic_Cheese_Man)
#### Post date: [July 22, 2013, 9:50pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/7 "2013-07-22T21:50:08Z")

</div>

Does anyone know how to make the projectiles explode? I’m making a ranged weapon that shoots boom.

---

<div class="post-metadata">

### Author: ![vultures](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vultures/32/69_2.png) [@vultures](https://discourse.cataclysmdda.org/u/vultures)
#### Post date: [July 22, 2013, 10:12pm UTC](https://discourse.cataclysmdda.org/t/where-did-i-go-wrong/2358/8 "2013-07-22T22:12:50Z")

</div>

`{ "type" : "AMMO",
        "id" : "40mm_concussive",
        "rarity" : 10,
        "price" : 400,
        "name" : "40mm concussive",
        "symbol" : "=",
        "color" : "light_red",
        "description" : "A 40mm grenade with a concussive explosion.",
        "material" : "steel",
        "volume" : 1,
        "weight" : 200,
        "bashing" : 1,
        "cutting" : 0,
        "to_hit" : 0,
        "ammo_type" : "40mm",
        "damage" : 5,
        "pierce" : 0,
        "range" : 40,
        "dispersion" : 2,
        "recoil" : 15,
        "count" : 4,
        "effects" : ["EXPLOSIVE"]
    },`  
Note it’s all that steel that it’s all about, it has damage, range and count, but most importantly, dispersion and a little thing called EXPLOSIVE!
