2013-04-03 00:40:24 +02:00
|
|
|
package net.machinemuse.powersuits.powermodule.misc;
|
|
|
|
|
|
|
|
import net.machinemuse.api.IModularItem;
|
|
|
|
import net.machinemuse.powersuits.powermodule.PowerModuleBase;
|
2013-04-23 23:36:50 +02:00
|
|
|
import net.machinemuse.utils.MuseCommonStrings;
|
2014-09-09 15:29:37 +02:00
|
|
|
import net.minecraft.init.Blocks;
|
2013-04-03 00:40:24 +02:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
|
2013-04-23 23:36:50 +02:00
|
|
|
import java.util.List;
|
|
|
|
|
2013-04-03 00:40:24 +02:00
|
|
|
public class AirtightSealModule extends PowerModuleBase {
|
2013-06-27 07:33:41 +02:00
|
|
|
public static final String AIRTIGHT_SEAL_MODULE = "Airtight Seal";
|
2013-04-23 23:36:50 +02:00
|
|
|
|
|
|
|
public AirtightSealModule(List<IModularItem> validItems) {
|
|
|
|
super(validItems);
|
2014-09-09 15:29:37 +02:00
|
|
|
addInstallCost(new ItemStack(Blocks.glass));
|
2013-04-23 23:36:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getCategory() {
|
|
|
|
return MuseCommonStrings.CATEGORY_ENVIRONMENTAL;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2013-06-29 07:09:32 +02:00
|
|
|
public String getDataName() {
|
2013-04-23 23:36:50 +02:00
|
|
|
return AIRTIGHT_SEAL_MODULE;
|
|
|
|
}
|
|
|
|
|
2013-06-27 07:33:41 +02:00
|
|
|
@Override
|
2015-08-29 15:58:17 +02:00
|
|
|
public String getUnlocalizedName() {
|
|
|
|
return "airtightSeal";
|
2013-06-27 07:33:41 +02:00
|
|
|
}
|
|
|
|
|
2013-04-23 23:36:50 +02:00
|
|
|
@Override
|
|
|
|
public String getDescription() {
|
|
|
|
return "Seal the suit against hostile atmospheres for venturing to other planets.";
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getTextureFile() {
|
|
|
|
return "glasspane";
|
|
|
|
}
|
2013-04-03 00:40:24 +02:00
|
|
|
|
|
|
|
}
|