Posted 12 April 2013 - 12:09 PM
Working on a mod with muti-tiered turtle updrades
Upgrade B has all the methods of upgrade A
It doesn't make sense for a given turtle to have both Upgrade A and B
I suggest the addition of an interface to the api. something like:
when computer craft check/generates the upgrade recipes conflicting recipes can be ignored. Since its a new optional interface nothing using the existing would need to be updated
Upgrade B has all the methods of upgrade A
It doesn't make sense for a given turtle to have both Upgrade A and B
I suggest the addition of an interface to the api. something like:
public interface ITurtleUpgradeConflict{
boolean conflictsWithUpgrade(int upgradeId);
}
when computer craft check/generates the upgrade recipes conflicting recipes can be ignored. Since its a new optional interface nothing using the existing would need to be updated