MegaLoot

MegaLoot

8M Downloads

Mega loot and Roguelike Dungeons

Budhvin opened this issue ยท 1 comments

commented

Hi,

I guess i will begin by saying that I am not the best at coding. I want to add the 3 versions of chests and the ring spawner into the mod roguelike dungeons.

commented

https://pastebin.com/4XgX9x8v

this is the code I have been trying to use. I kept getting Not a Json Object : null in Roguelike Dungeons. Any idea why?

"
I finally figured it out in case anyone else was looking. You must add the meta tag for the 4 different types of weapon cases. Here's a sample line:
{"data" : {"name" : "weaponcaseloot:weaponcase", "meta" : 1}, "weight" : 4}

The meta information is as follows:
Sword First Edition - "meta" : 1
Sword Second Edition - "meta" : 2
Bow - "meta" : 3
Ring - "meta" : 4

Hope that helps. Happy modding!
"

do i use similar language and change the meta to get the items to spawn?