This commit is contained in:
Jacob Vinding
2025-12-27 00:06:47 +01:00
commit 1c991e905d
1095 changed files with 172738 additions and 0 deletions

View File

@@ -0,0 +1,240 @@
{
"format": "mob_spawns",
"templates": [
{
"name": "invasion_stage_1_opt_1",
"conditions": [
{
"condition": "random",
"weight": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"count_max": 15,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
}
]
},
{
"name": "invasion_stage_1_opt_2",
"conditions": [
{
"condition": "random",
"weight": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather_no_weapon"
}
]
}
]
},
{
"name": "invasion_wave_override_1",
"conditions": [
{
"condition": "random",
"weight": 99999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs",
"mode_boolean": "invert"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 150,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
}
]
},
{
"name": "invasion_wave_override_2",
"conditions": [
{
"condition": "difficulty",
"min": 0,
"max": 999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "random",
"weight": 99999
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_infernal",
"randomly_choose_count": "10",
"difficulty_multiplier": 1.0,
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
}
]
}

View File

@@ -0,0 +1,529 @@
{
"format": "mob_spawns2",
"templates": [
{
"name": "invasion_stage_1",
"conditions": [
{
"condition": "difficulty",
"min": 0,
"max": 0.33
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
}
]
},
{
"name": "invasion_stage_2_1",
"conditions": [
{
"condition": "difficulty",
"min": 0.33,
"max": 0.66
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 4,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_chainmail"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 6,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_chainmail"
}
]
}
]
},
{
"name": "invasion_stage_2_2",
"conditions": [
{
"condition": "difficulty",
"min": 0.33,
"max": 0.66
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_chainmail"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_chainmail"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_chainmail"
}
]
}
]
},
{
"name": "invasion_stage_3_1",
"conditions": [
{
"condition": "difficulty",
"min": 0.66,
"max": 1.0
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
}
]
},
{
"name": "invasion_stage_3_2",
"conditions": [
{
"condition": "difficulty",
"min": 0.66,
"max": 1.0
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 5,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 10,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
}
]
},
{
"name": "invasion_stage_4_1",
"conditions": [
{
"condition": "difficulty",
"min": 1.0,
"max": 999
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 10,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_diamond"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 15,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_diamond"
}
]
}
]
},
{
"name": "invasion_stage_4_2",
"conditions": [
{
"condition": "difficulty",
"min": 1.0,
"max": 999
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 10,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_diamond"
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 15,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_diamond"
}
]
}
]
},
{
"name": "invasion_stage_4_3",
"conditions": [
{
"condition": "difficulty",
"min": 1.0,
"max": 999
},
{
"condition": "random",
"weight": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_diamond"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_infernal",
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
},
{
"name": "invasion_stage_5_test",
"conditions": [
{
"condition": "difficulty",
"min": 10,
"max": 9999
},
{
"condition": "invasion_number",
"min": 1,
"max": 5
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_diamond"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
}
]
}
]
},
{
"name": "invasion_stage_5_test2",
"conditions": [
{
"condition": "difficulty",
"min": 10,
"max": 999
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_diamond"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_infernal",
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
}
]
}

View File

@@ -0,0 +1,87 @@
{
"format": "mob_spawns_dynamic",
"templates": [
{
"name": "invasion_example",
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 10,
"count_difficulty_multiplier": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_iron"
},
{
"cmod": "attribute_health",
"base_value": 40,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 50,
"difficulty_multiplier": 1.5,
"comment": "//set the base xp given of a mob, multiplication formula works the same as attribute_health"
}
]
},
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 20,
"count_difficulty_multiplier": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_iron"
},
{
"cmod": "attribute_health",
"base_value": 20,
"difficulty_multiplier": 1.5
}
]
},
{
"entities": [
"minecraft:skeleton"
],
"count": 2,
"count_max": 20,
"count_difficulty_multiplier": 3,
"cmods": [
{
"cmod": "template",
"template": "invader_soldier"
},
{
"cmod": "template",
"template": "inventory_iron"
},
{
"cmod": "attribute_health",
"base_value": 20,
"difficulty_multiplier": 1.5
}
]
}
]
}
]
}

View File

@@ -0,0 +1,184 @@
{
"format": "mob_spawns_testing",
"templates": [
{
"name": "invasion_stage_1_opt_1",
"conditions": [
{
"condition": "random",
"weight": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
}
]
},
{
"name": "invasion_stage_1_opt_2",
"conditions": [
{
"condition": "random",
"weight": 1
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 2,
"count_max": 5,
"count_difficulty_multiplier": 2,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "template",
"template": "inventory_leather"
}
]
}
]
},
{
"name": "invasion_wave_override_1",
"conditions": [
{
"condition": "random",
"weight": 99999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs",
"mode_boolean": "invert"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 150,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "template",
"template": "inventory_iron"
}
]
}
]
},
{
"name": "invasion_wave_override_2",
"conditions": [
{
"condition": "difficulty",
"min": 0,
"max": 999
},
{
"condition": "invasion_rate",
"rate": 5
},
{
"condition": "random",
"weight": 99999
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs"
}
],
"spawns": [
{
"entities": [
"minecraft:zombie"
],
"count": 1,
"cmods": [
{
"cmod": "template",
"template": "invader_miner"
},
{
"cmod": "attribute_health",
"base_value": 30,
"difficulty_multiplier": 1.5
},
{
"cmod": "xp",
"base_value": 100,
"difficulty_multiplier": 1.5
},
{
"cmod": "mob_drops",
"loot_table": "testlootboss"
},
{
"cmod": "ai_counterattack"
},
{
"cmod": "ai_lunge"
},
{
"cmod": "ai_infernal",
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
]
}
]
}
]
}
]
}

View File

@@ -0,0 +1,91 @@
{
"format": "cmods",
"templates": [
{
"name": "all_cmods",
"cmods": [
{
"cmod": "template",
"template": "boringvanilla",
"comment": "//since this is a template within a template, maybe dont allow it for now"
},
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots",
"comment": "//give inventory to a mob, up to you to make sure the mob you are giving it to supports it, should crash if they dont"
},
{
"cmod": "mob_drops",
"loot_table": "testloot",
"comment": "//give a mob extra loot table drops, supports vanilla eg minecraft:zombie or custom ones you put in the config/loot_tables folder, currently does not override existing drops of a mob"
},
{
"cmod": "attribute_health",
"base_value": 40,
"difficulty_multiplier": 1.5,
"comment": "//set the base health of a mob, difficulty_multiplier is used to multiply their health based on the rated difficulty of the area, so if difficulty in area was 2.0, the math would be: base health 40 * local difficulty 2.0 * multiplier 1.5 = 120 health"
},
{
"cmod": "attribute_speed",
"base_value": 0.23,
"difficulty_multiplier": 1.1,
"comment": "//set the base speed of the mob, multiplication formula works the same as attribute_health, be carefull with this one so you dont get hyper speed mobs, vanilla zombie speed is 0.23 for reference"
},
{
"cmod": "xp",
"base_value": 0,
"difficulty_multiplier": 1.5,
"comment": "//set the base xp given of a mob, multiplication formula works the same as attribute_health"
},
{
"cmod": "ai_antiair",
"comment": "//gives a mob the ability to perform mean things to flying players depending on ConfigHWMonsters.antiAirType setting, they either leap very far and grab the player by mounting them in their head, or magically pull them down when they see them, pretty mean, antiAirType mode 0 is a bit experimental still"
},
{
"cmod": "ai_mining",
"comment": "//gives a mob the ability to dig towards their target, only use for mobs the size of a zombie"
},
{
"cmod": "ai_counterattack",
"comment": "//gives a mob the ability to counter attack with a leap towards the target after theyre hit"
},
{
"cmod": "ai_lunge",
"comment": "//gives a mob the ability to move faster towards the target when they are close"
},
{
"cmod": "ai_infernal",
"randomly_choose_count": "10",
"difficulty_multiplier": 1.0,
"modifiers": [
"1UP", "Alchemist", "Berserk", "Blastoff", "Bulwark", "Choke", "Cloaking", "Darkness", "Ender",
"Exhaust", "Fiery", "Ghastly", "Gravity", "LifeSteal", "Ninja", "Poisonous", "Quicksand", "Regen",
"Rust", "Sapper", "Sprint", "Sticky", "Storm", "Vengeance", "Weakness", "Webber", "Wither"
],
"comment": "//if atomicstrykers infernal mobs mod is installed, this gives a mob a random amount of the abilities you list above, the above list is all the options available from the mod",
"comment2": "//you can specify the modifiers and a number of them to randomly choose from, in the above example config, at a local difficulty of 0.1, it will choose 1 modifier from the list, at 0.5, it will choose 5, etc",
"comment3": "//this functionality depends on my code knowing how to interact with their mods code, if they change theirs, this cmod may break"
}
]
}
]
}

View File

@@ -0,0 +1,133 @@
{
"format": "cmods",
"templates": [
{
"name": "invader_miner",
"cmods": [
{
"cmod": "ai_mining"
},
{
"cmod": "ai_omniscience"
}
]
},
{
"name": "invader_soldier",
"cmods": [
{
"cmod": "ai_omniscience"
}
]
},
{
"name": "infernal_skeleton_1",
"cmods": [
{
"cmod": "ai_infernal",
"modifiers": [
"Regen", "Cloaking", "Storm"
]
}
]
},
{
"name": "inventory_leather",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
}
]
},
{
"name": "inventory_leather_no_weapon",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:leather_helmet",
"inv_chest": "minecraft:leather_chestplate",
"inv_legs": "minecraft:leather_leggings",
"inv_feet": "minecraft:leather_boots"
}
]
},
{
"name": "inventory_chainmail",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:stone_sword",
"inv_head": "minecraft:chainmail_helmet",
"inv_chest": "minecraft:chainmail_chestplate",
"inv_legs": "minecraft:chainmail_leggings",
"inv_feet": "minecraft:chainmail_boots"
}
]
},
{
"name": "inventory_iron",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:iron_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:iron_helmet",
"inv_chest": "minecraft:iron_chestplate",
"inv_legs": "minecraft:iron_leggings",
"inv_feet": "minecraft:iron_boots"
}
]
},
{
"name": "inventory_diamond",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_sword",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
},
{
"name": "infernal_skeleton_1_bad",
"cmods": [
{
"cmod": "ai_infernal",
"modifiers": [
"Regen", "Claking", "Storm"
]
}
]
},
{
"name": "inventory_chainmail_bad",
"cmods": [
{
"cmod": "inventory",
"inv_hand_main": "minecraft:diamond_swod",
"inv_hand_off": "minecraft:shield",
"inv_head": "minecraft:diamond_helmet",
"inv_chest": "minecraft:diamond_chestplate",
"inv_legs": "minecraft:diamond_leggings",
"inv_feet": "minecraft:diamond_boots"
}
]
}
]
}

View File

@@ -0,0 +1,63 @@
{
"format": "conditions",
"templates": [
{
"name": "all_conditions",
"conditions": [
{
"condition": "context",
"type": "invasion/regular/all",
"comment": "//placeholder for future stuff, dont use for now, dev note: is 'all' even needed? its the same as not using this condition, maybe if recursive templates were a thing, top level one could override lower one"
},
{
"condition": "difficulty",
"min": 0,
"max": 0.1,
"comment": "//only use when local difficulty as at or between these numbers, difficulty determined by many things, see CoroUtils DynamicDifficulty.cfg for configuring that"
},
{
"condition": "invasion_number",
"min": 1,
"max": 5,
"comment": "//only use when the active invasion number/count is at or between these numbers, the counter is global and not per player"
},
{
"condition": "invasion_rate",
"rate": 5,
"comment": "//only use every x invasions, in this example, its considered every 5th invasion"
},
{
"condition": "random",
"weight": 5,
"comment": "//weighed against what? what weight is 'dont do anything' ?"
},
{
"condition": "filter_mobs",
"mode": "whitelist/blacklist or allow/deny?",
"entities": [
"minecraft:zombie"
],
"comment": "//currently unused"
},
{
"condition": "template",
"template": "condition_set_1",
"comment": "//since this is a template within a template, maybe dont allow it for now"
},
{
"condition": "mod_loaded",
"mod_id": "infernalmobs",
"mode_boolean": "invert",
"comment": "//filter waves to only be used when a certain mod is or isnt installed, depending on if mode_boolean is set to invert or not"
}
]
}
]
}

View File

@@ -0,0 +1,47 @@
{
"format": "conditions",
"templates": [
{
"name": "invasion_stage_1",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0,
"max": 0.1
}
]
},
{
"name": "invasion_stage_2",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0.1,
"max": 0.2
}
]
},
{
"name": "invasion_stage_3",
"conditions": [
{
"condition": "context",
"type": "invasion"
},
{
"condition": "difficulty",
"min": 0.2,
"max": 5.0
}
]
}
]
}