Skip to content

Instantly share code, notes, and snippets.

Created October 7, 2017 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/00890681c0629a20ec949c6753bce4e5 to your computer and use it in GitHub Desktop.
Save anonymous/00890681c0629a20ec949c6753bce4e5 to your computer and use it in GitHub Desktop.
Add loot to Roguelike Dungeons (put this file in <config>/roguelike_dungeons/settings).
{
"name": "loot_specialcrops",
"criteria": {},
"loot_rules": [
{
"type": "SUPPLIES",
"loot": [
{"data": {"name": "ashenwheat:ashseeds", "min": 1, "max": 3}, "weight": 1},
{"data": {"name": "ashenwheat:ossidseeds", "min": 1, "max": 3}, "weight": 1},
{"data": {"name": "ashenwheat:thunderseeds", "min": 1, "max": 3}, "weight": 1}
],
"each": false,
"level": 1,
"quantity": 1
},
{
"type": "SUPPLIES",
"loot": [
{"data": {"name": "endercrop:ender_seeds", "min": 1, "max": 3}, "weight": 1},
{"data": {"name": "ashenwheat:scintillaseeds", "min": 1, "max": 1}, "weight": 1},
{"data": {"name": "ashenwheat:ashseeds", "min": 1, "max": 3}, "weight": 3},
{"data": {"name": "ashenwheat:ossidseeds", "min": 1, "max": 3}, "weight": 3},
{"data": {"name": "ashenwheat:thunderseeds", "min": 1, "max": 3}, "weight": 3}
],
"each": false,
"level": 1,
"quantity": 2
},
{
"type": "SUPPLIES",
"loot": [
{"data": {"name": "endercrop:ender_seeds", "min": 1, "max": 3}, "weight": 2},
{"data": {"name": "ashenwheat:scintillaseeds", "min": 1, "max": 1}, "weight": 2},
{"data": {"name": "ashenwheat:ashseeds", "min": 1, "max": 3}, "weight": 2},
{"data": {"name": "ashenwheat:ossidseeds", "min": 1, "max": 3}, "weight": 2},
{"data": {"name": "ashenwheat:thunderseeds", "min": 1, "max": 3}, "weight": 2}
],
"each": false,
"level": 2,
"quantity": 2
},
{
"type": "SUPPLIES",
"loot": [
{"data": {"name": "endercrop:ender_seeds", "min": 1, "max": 3}, "weight": 3},
{"data": {"name": "ashenwheat:scintillaseeds", "min": 1, "max": 3}, "weight": 3},
{"data": {"name": "ashenwheat:ashseeds", "min": 1, "max": 3}, "weight": 1},
{"data": {"name": "ashenwheat:ossidseeds", "min": 1, "max": 3}, "weight": 1},
{"data": {"name": "ashenwheat:thunderseeds", "min": 1, "max": 3}, "weight": 1}
],
"each": false,
"level": 3,
"quantity": 2
},
{
"type": "SUPPLIES",
"loot": [
{"data": {"name": "endercrop:ender_seeds", "min": 1, "max": 3}, "weight": 5},
{"data": {"name": "ashenwheat:scintillaseeds", "min": 1, "max": 3}, "weight": 5}
],
"each": false,
"level": 4,
"quantity": 3
},
{
"type": "ORE",
"comment": "Level 4 will usually contain an obsidian room with 4 treasure chests (types WEAPONS, ARMOUR or ORE). Give this a high chance of containing something good.",
"loot": [
{"data": {"name": "endercrop:ender_seeds", "min": 1, "max": 3}, "weight": 5},
{"data": {"name": "ashenwheat:scintillaseeds", "min": 1, "max": 3}, "weight": 5}
],
"each": false,
"level": 4,
"quantity": 2
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment