Jump to content




[Java][API] Incompatible Upgrades


  • You cannot reply to this topic
No replies to this topic

#1 Myrddraall

  • Members
  • 8 posts

Posted 12 April 2013 - 11:09 AM

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:

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users