more stuff
This commit is contained in:
parent
2d1d9d28f3
commit
22798cff1e
src
data/kotlin/ru/dbotthepony/mc/otm/datagen/loot
main/resources/data/overdrive_that_matters
structure/laboratory
crossroads
halls/center
intersections
reward
rooms
spawner
worldgen/template_pool/laboratory
@ -133,13 +133,6 @@ fun addChestLootTables(loot: LootTables) {
|
||||
setCount(minimal = 2, maximal = 4)
|
||||
setWeight(2)
|
||||
}
|
||||
setRolls(3)
|
||||
}
|
||||
//gear
|
||||
lootPool{
|
||||
item(Items.IRON_SWORD) {
|
||||
|
||||
}
|
||||
}
|
||||
//food
|
||||
lootPool {
|
||||
@ -159,43 +152,45 @@ fun addChestLootTables(loot: LootTables) {
|
||||
setWeight(1)
|
||||
}
|
||||
}
|
||||
//pills
|
||||
lootPool {
|
||||
item(MItems.PILL_ANDROID) { chanceCondition(0.1)
|
||||
setWeight(1)
|
||||
}
|
||||
item(MItems.PILL_HEAL) { chanceCondition(0.5)
|
||||
setWeight(2)
|
||||
setCount(2, 5)
|
||||
}
|
||||
}
|
||||
//otm
|
||||
lootPool {
|
||||
item(MItems.MATTER_DUST) { chanceCondition(0.1)
|
||||
setWeight(4)
|
||||
apply(MatterDustItem.Randomizer(UniformDecimal(Decimal(100), Decimal(2_500))))
|
||||
}
|
||||
}
|
||||
lootPool { item(MItems.PROCEDURAL_BATTERY) { chanceCondition(0.05)
|
||||
setWeight(1)
|
||||
item(MItems.PROCEDURAL_BATTERY) {
|
||||
chanceCondition(0.05)
|
||||
setWeight(1)
|
||||
|
||||
apply(
|
||||
ProceduralBatteryItem.Randomizer(
|
||||
maxBatteryLevel = UniformDecimal(Decimal(10_000_000), Decimal(50_000_000)),
|
||||
batteryLevel = UniformDecimal(Decimal(0), Decimal(25_000_000)),
|
||||
maxInput = UniformDecimal(Decimal(1_000), Decimal(5_000)),
|
||||
))
|
||||
} }
|
||||
lootPool { item(MItems.ExopackUpgrades.INVENTORY_UPGRADE_PROCEDURAL) { chanceCondition(0.2)
|
||||
setWeight(2)
|
||||
apply(ProceduralExopackSlotUpgradeItem.Randomizer(UniformInt.of(1, 9), UniformInt.of(0, 3)))
|
||||
} }
|
||||
apply(
|
||||
ProceduralBatteryItem.Randomizer(
|
||||
maxBatteryLevel = UniformDecimal(Decimal(10_000_000), Decimal(50_000_000)),
|
||||
batteryLevel = UniformDecimal(Decimal(0), Decimal(25_000_000)),
|
||||
maxInput = UniformDecimal(Decimal(1_000), Decimal(5_000)),
|
||||
)
|
||||
)
|
||||
}
|
||||
item(MItems.ExopackUpgrades.INVENTORY_UPGRADE_PROCEDURAL) {
|
||||
chanceCondition(0.2)
|
||||
setWeight(2)
|
||||
apply(ProceduralExopackSlotUpgradeItem.Randomizer(UniformInt.of(1, 9), UniformInt.of(0, 3)))
|
||||
}
|
||||
lootPool {
|
||||
item(MItems.PILL_ANDROID) { chanceCondition(0.1)
|
||||
setWeight(1)
|
||||
}
|
||||
item(MItems.PILL_HEAL) { chanceCondition(0.5)
|
||||
setWeight(2)
|
||||
setCount(2, 5)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
loot.builder(LootContextParamSets.CHEST, modLootTable("laboratory/reward_ominous")) {
|
||||
//unique
|
||||
lootPool { item(MItems.FALLING_SUN) {
|
||||
chanceCondition(0.1)
|
||||
chanceCondition(0.075)
|
||||
setWeight(1)
|
||||
} }
|
||||
|
||||
@ -207,11 +202,11 @@ fun addChestLootTables(loot: LootTables) {
|
||||
}
|
||||
item(Items.EMERALD) {
|
||||
setCount(minimal = 3, maximal = 6)
|
||||
setWeight(3)
|
||||
setWeight(7)
|
||||
}
|
||||
item(MItems.WITHERED_STEEL) {
|
||||
setCount(minimal = 2, maximal = 4)
|
||||
setWeight(2)
|
||||
setWeight(8)
|
||||
}
|
||||
}
|
||||
//materials
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -45,6 +45,15 @@
|
||||
"projection": "rigid"
|
||||
},
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"element": {
|
||||
"element_type": "minecraft:single_pool_element",
|
||||
"location": "overdrive_that_matters:laboratory/fluff/bench",
|
||||
"processors": "minecraft:empty",
|
||||
"projection": "rigid"
|
||||
},
|
||||
"weight": 1
|
||||
}
|
||||
],
|
||||
"fallback": "minecraft:empty"
|
||||
|
@ -26,7 +26,7 @@
|
||||
"processors": "overdrive_that_matters:laboratory_weathering",
|
||||
"projection": "rigid"
|
||||
},
|
||||
"weight": 1
|
||||
"weight": 2
|
||||
},
|
||||
{
|
||||
"element": {
|
||||
@ -36,6 +36,15 @@
|
||||
"projection": "rigid"
|
||||
},
|
||||
"weight": 1
|
||||
},
|
||||
{
|
||||
"element": {
|
||||
"element_type": "minecraft:single_pool_element",
|
||||
"location": "overdrive_that_matters:laboratory/intersections/car_portal",
|
||||
"processors": "overdrive_that_matters:laboratory_weathering",
|
||||
"projection": "rigid"
|
||||
},
|
||||
"weight": 1
|
||||
}
|
||||
],
|
||||
"fallback": "overdrive_that_matters:laboratory/fallback_pool"
|
||||
|
Loading…
Reference in New Issue
Block a user