mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 12:09:45 +00:00
Tiered Logistical Transporters
This commit is contained in:
1 parent
1a46bb5201
commit
a5db67e2b7
26 files changed
+128
-35
No files matched your search
@@ -247,4 +247,33 @@ public final class Tier
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The tiers used by Logistical Transporters and their corresponding values.
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
public static enum TransporterTier
|
||||
{
|
||||
BASIC(1, 5, TransmitterType.LOGISTICAL_TRANSPORTER_BASIC),
|
||||
ADVANCED(16, 10, TransmitterType.LOGISTICAL_TRANSPORTER_ADVANCED),
|
||||
ELITE(32, 20, TransmitterType.LOGISTICAL_TRANSPORTER_ELITE),
|
||||
ULTIMATE(64, 50, TransmitterType.LOGISTICAL_TRANSPORTER_ULTIMATE);
|
||||
|
||||
public BaseTier getBaseTier()
|
||||
{
|
||||
return BaseTier.values()[ordinal()];
|
||||
}
|
||||
|
||||
public int pullAmount;
|
||||
public int speed;
|
||||
public TransmitterType type;
|
||||
|
||||
private TransporterTier(int pull, int s, TransmitterType transmitterType)
|
||||
{
|
||||
pullAmount = pull;
|
||||
speed = s;
|
||||
type = transmitterType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user