More matter values and balancing
This commit is contained in:
parent
979ac2b447
commit
9a92205178
@ -6,6 +6,8 @@ import net.minecraft.world.item.Items
|
|||||||
import net.minecraftforge.common.Tags
|
import net.minecraftforge.common.Tags
|
||||||
import ru.dbotthepony.mc.otm.core.ImpreciseFraction
|
import ru.dbotthepony.mc.otm.core.ImpreciseFraction
|
||||||
import ru.dbotthepony.mc.otm.matter.MatterDataProvider
|
import ru.dbotthepony.mc.otm.matter.MatterDataProvider
|
||||||
|
import ru.dbotthepony.mc.otm.registry.MItemTags
|
||||||
|
import ru.dbotthepony.mc.otm.registry.MItems
|
||||||
|
|
||||||
// general rule - anything plant or organic is much more complex than mineral
|
// general rule - anything plant or organic is much more complex than mineral
|
||||||
// and anything mineral has much bigger matter value than complexity (just throw a lot of same molecules)
|
// and anything mineral has much bigger matter value than complexity (just throw a lot of same molecules)
|
||||||
@ -63,7 +65,7 @@ fun addMatterData(provider: MatterDataProvider) {
|
|||||||
provider.inherit(Items.RED_CONCRETE, Items.RED_CONCRETE_POWDER)
|
provider.inherit(Items.RED_CONCRETE, Items.RED_CONCRETE_POWDER)
|
||||||
provider.inherit(Items.BLACK_CONCRETE, Items.BLACK_CONCRETE_POWDER)
|
provider.inherit(Items.BLACK_CONCRETE, Items.BLACK_CONCRETE_POWDER)
|
||||||
|
|
||||||
provider.scope(Items.DIRT, ImpreciseFraction(1), 40.0) {
|
provider.scope(Items.DIRT, ImpreciseFraction(1), 20.0) {
|
||||||
equal(
|
equal(
|
||||||
Items.GRASS_BLOCK,
|
Items.GRASS_BLOCK,
|
||||||
Items.PODZOL,
|
Items.PODZOL,
|
||||||
@ -72,7 +74,14 @@ fun addMatterData(provider: MatterDataProvider) {
|
|||||||
Items.MUD
|
Items.MUD
|
||||||
)
|
)
|
||||||
|
|
||||||
relative(Items.NETHER_STAR, 4500, 8000)
|
relative(Items.NETHER_STAR, 2000, 1200)
|
||||||
|
|
||||||
|
relative(MItems.ZPM_BATTERY, 60000, 7200)
|
||||||
|
|
||||||
|
relative(MItems.PILL_HEAL, 14, 8)
|
||||||
|
relative(MItems.PILL_ANDROID, 20, 20)
|
||||||
|
relative(MItems.PILL_HUMANE, 8, 8)
|
||||||
|
relative(MItems.PILL_OBLIVION, 40, 40)
|
||||||
|
|
||||||
relative(Items.PACKED_ICE, 1.5, 1)
|
relative(Items.PACKED_ICE, 1.5, 1)
|
||||||
|
|
||||||
@ -115,8 +124,10 @@ fun addMatterData(provider: MatterDataProvider) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// valuable minerals
|
// valuable minerals
|
||||||
scope(Items.COAL, 8, 2.5) {
|
scope(Items.COAL, 8, 1.5) {
|
||||||
scope(Tags.Items.INGOTS_IRON, 3.5, 1.25) {
|
scope(Tags.Items.INGOTS_IRON, 4, 1.25) {
|
||||||
|
relative(MItemTags.TRITANIUM_INGOTS, 2.2, 1.15)
|
||||||
|
|
||||||
relative(Tags.Items.INGOTS_COPPER, 0.8, 0.9)
|
relative(Tags.Items.INGOTS_COPPER, 0.8, 0.9)
|
||||||
|
|
||||||
relative(Tags.Items.GEMS_QUARTZ, 1, 1.1)
|
relative(Tags.Items.GEMS_QUARTZ, 1, 1.1)
|
||||||
|
Loading…
Reference in New Issue
Block a user