[TaCZ] Timeless and Classics Zero

[TaCZ] Timeless and Classics Zero

3M Downloads

Mixin tweaks to make mod addon guns possible

Ratatatang opened this issue ยท 0 comments

commented

I'm trying to develop an addon for tacz that adds a version of the ModernKineticGunItem that stores all the data usually in the gun index directly on it, and is highly modifiable for the purpose of mechanically complex guns.

Unfortunately, the mixins check the index a bit. This could be solved by either

  1. adding methods to iGun that check the gun index for these values, and using those methods instead of checking the gun index directly. This way, modders can override these methods to not need the gun index at all.

  2. adding the aforementioned check methods as blanks, and adding a value in iGun to bypass index checks and use itself to get these values instead. Once again, modders could override these methods.