Compare commits
4 Commits
ec008d7243
...
126b8e8010
Author | SHA1 | Date | |
---|---|---|---|
126b8e8010 | |||
7fbb68d9d0 | |||
a39bfd5a47 | |||
0306ec6455 |
@ -22,6 +22,7 @@ fun addEntityLoot(loot: LootTables) {
|
|||||||
}
|
}
|
||||||
lootPool {
|
lootPool {
|
||||||
item(MItems.ROGUE_AI_CORE) {
|
item(MItems.ROGUE_AI_CORE) {
|
||||||
|
chanceCondition(0.5)
|
||||||
setCount(1, 1)
|
setCount(1, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -30,6 +31,7 @@ fun addEntityLoot(loot: LootTables) {
|
|||||||
loot.builder(LootContextParamSets.ENTITY, modLootTable("entities/android_melee")) {
|
loot.builder(LootContextParamSets.ENTITY, modLootTable("entities/android_melee")) {
|
||||||
lootPool {
|
lootPool {
|
||||||
item(MItems.ROGUE_AI_CORE) {
|
item(MItems.ROGUE_AI_CORE) {
|
||||||
|
chanceCondition(0.3)
|
||||||
setCount(1, 1)
|
setCount(1, 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,6 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
item(MItems.MECHANICAL_PARTS) { setCount(minimal = 2, maximal = 3) }
|
item(MItems.MECHANICAL_PARTS) { setCount(minimal = 2, maximal = 3) }
|
||||||
item(MItems.IRON_PLATE) { setCount(minimal = 2, maximal = 3) }
|
item(MItems.IRON_PLATE) { setCount(minimal = 2, maximal = 3) }
|
||||||
item(MItems.ELECTRIC_PARTS) { setCount(minimal = 2, maximal = 3) }
|
item(MItems.ELECTRIC_PARTS) { setCount(minimal = 2, maximal = 3) }
|
||||||
item(MItems.MECHANICAL_PARTS) { setCount(minimal = 2, maximal = 3) }
|
|
||||||
item(MItems.CIRCUIT_PLATING) { setCount(minimal = 1, maximal = 3) }
|
item(MItems.CIRCUIT_PLATING) { setCount(minimal = 1, maximal = 3) }
|
||||||
|
|
||||||
item(MItems.METAL_JUNK) { setCount(minimal = 3, maximal = 5) }
|
item(MItems.METAL_JUNK) { setCount(minimal = 3, maximal = 5) }
|
||||||
@ -49,6 +48,58 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loot.builder(LootContextParamSets.BLOCK, modLootTable("wooden_crate")) {
|
||||||
|
lootPool {
|
||||||
|
item(Items.STICK) { setCount(minimal = 2, maximal = 4)}
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
|
item(Items.OAK_PLANKS) { setCount(minimal = 1, maximal = 2)}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
loot.builder(LootContextParamSets.BLOCK, modLootTable("wooden_crate_materials")) {
|
||||||
|
lootPool {
|
||||||
|
item(Items.IRON_INGOT) {
|
||||||
|
setCount(minimal = 1, maximal = 3)
|
||||||
|
}
|
||||||
|
item(MItems.TRITANIUM_INGOT) {
|
||||||
|
setCount(minimal = 1, maximal = 3)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
|
item(Items.GOLD_INGOT) {
|
||||||
|
chanceCondition(0.3)
|
||||||
|
setCount(minimal = 1, maximal = 3)
|
||||||
|
}
|
||||||
|
item(Items.DIAMOND) {
|
||||||
|
chanceCondition(0.1)
|
||||||
|
setCount(minimal = 1, maximal = 2)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
|
item(MItems.MECHANICAL_PARTS) { setCount(minimal = 2, maximal = 3) }
|
||||||
|
item(Items.COPPER_INGOT) { setCount(minimal = 1, maximal = 3) }
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
|
add(NestedLootTable.lootTableReference(
|
||||||
|
modLootTable("wooden_crate")
|
||||||
|
))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
loot.builder(LootContextParamSets.BLOCK, modLootTable("wooden_crate_modules")) {
|
||||||
|
lootPool {
|
||||||
|
item(MItems.ExopackUpgrades.INVENTORY_UPGRADE_PROCEDURAL) {
|
||||||
|
apply(ProceduralExopackSlotUpgradeItem.Randomizer(UniformInt.of(12, 24), UniformInt.of(0, 3)))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
|
add(NestedLootTable.lootTableReference(
|
||||||
|
modLootTable("wooden_crate")
|
||||||
|
))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
loot.builder(LootContextParamSets.CHEST, modLootTable("frigate_cargo")) {
|
loot.builder(LootContextParamSets.CHEST, modLootTable("frigate_cargo")) {
|
||||||
lootPool {
|
lootPool {
|
||||||
item(Items.IRON_INGOT) { setCount(minimal = 1, maximal = 3)}
|
item(Items.IRON_INGOT) { setCount(minimal = 1, maximal = 3)}
|
||||||
@ -129,10 +180,6 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
setCount(minimal = 1, maximal = 3)
|
setCount(minimal = 1, maximal = 3)
|
||||||
setWeight(1)
|
setWeight(1)
|
||||||
}
|
}
|
||||||
item(MItems.ROFLITE_ALLOY_INGOT) {
|
|
||||||
setCount(minimal = 2, maximal = 4)
|
|
||||||
setWeight(2)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
//food
|
//food
|
||||||
lootPool {
|
lootPool {
|
||||||
@ -148,13 +195,17 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
setCount(minimal = 2, maximal = 4)
|
setCount(minimal = 2, maximal = 4)
|
||||||
setWeight(3)
|
setWeight(3)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
lootPool {
|
||||||
item(Items.OMINOUS_BOTTLE) {
|
item(Items.OMINOUS_BOTTLE) {
|
||||||
|
chanceCondition(0.3)
|
||||||
setWeight(1)
|
setWeight(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//otm
|
//otm
|
||||||
lootPool {
|
lootPool {
|
||||||
item(MItems.MATTER_DUST) { chanceCondition(0.1)
|
item(MItems.MATTER_DUST) {
|
||||||
|
chanceCondition(0.1)
|
||||||
setWeight(4)
|
setWeight(4)
|
||||||
apply(MatterDustItem.Randomizer(UniformDecimal(Decimal(100), Decimal(2_500))))
|
apply(MatterDustItem.Randomizer(UniformDecimal(Decimal(100), Decimal(2_500))))
|
||||||
}
|
}
|
||||||
@ -216,11 +267,11 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
setWeight(2)
|
setWeight(2)
|
||||||
}
|
}
|
||||||
item(Items.IRON_BLOCK) {
|
item(Items.IRON_BLOCK) {
|
||||||
setCount(minimal = 1, maximal = 3)
|
setCount(minimal = 2, maximal = 3)
|
||||||
setWeight(1)
|
setWeight(1)
|
||||||
}
|
}
|
||||||
item(Items.REDSTONE_BLOCK) {
|
item(Items.REDSTONE_BLOCK) {
|
||||||
setCount(minimal = 1, maximal = 2)
|
setCount(minimal = 1, maximal = 3)
|
||||||
setWeight(1)
|
setWeight(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -231,7 +282,7 @@ fun addChestLootTables(loot: LootTables) {
|
|||||||
setWeight(1)
|
setWeight(1)
|
||||||
}
|
}
|
||||||
item(MItems.PILL_OBLIVION) {
|
item(MItems.PILL_OBLIVION) {
|
||||||
chanceCondition(0.5)
|
chanceCondition(0.3)
|
||||||
setWeight(2)
|
setWeight(2)
|
||||||
setCount(2, 5)
|
setCount(2, 5)
|
||||||
}
|
}
|
||||||
|
@ -412,6 +412,15 @@ fun addDecorativesRecipes(provider: MatteryRecipeProvider, consumer: RecipeOutpu
|
|||||||
.unlockedBy(MItems.METAL_MESH)
|
.unlockedBy(MItems.METAL_MESH)
|
||||||
.build(consumer, modLocation("decorative/metal_railing"))
|
.build(consumer, modLocation("decorative/metal_railing"))
|
||||||
|
|
||||||
|
MatteryRecipe(MItems.INDUSTRIAL_LADDER, count = 6, category = RecipeCategory.BUILDING_BLOCKS)
|
||||||
|
.rowAC(MItems.METAL_MESH, MItems.METAL_MESH)
|
||||||
|
.row(MItems.METAL_MESH, MItems.METAL_MESH, MItems.METAL_MESH)
|
||||||
|
.rowAC(MItems.METAL_MESH, MItems.METAL_MESH)
|
||||||
|
.unlockedBy(Items.IRON_BARS)
|
||||||
|
.unlockedBy(Tags.Items.NUGGETS_IRON)
|
||||||
|
.unlockedBy(MItems.METAL_MESH)
|
||||||
|
.build(consumer, modLocation("decorative/industrial_ladder"))
|
||||||
|
|
||||||
// Голо табличка
|
// Голо табличка
|
||||||
MatteryRecipe(MItems.HOLO_SIGN, category = RecipeCategory.DECORATIONS)
|
MatteryRecipe(MItems.HOLO_SIGN, category = RecipeCategory.DECORATIONS)
|
||||||
.row(MItemTags.BASIC_CIRCUIT, MItemTags.TRITANIUM_PLATES, MItemTags.HARDENED_GLASS_PANES_COLORLESS)
|
.row(MItemTags.BASIC_CIRCUIT, MItemTags.TRITANIUM_PLATES, MItemTags.HARDENED_GLASS_PANES_COLORLESS)
|
||||||
|
Loading…
Reference in New Issue
Block a user