PULSAR-Modders/pulsar-mod-loader

Improve Content API and etc.

Opened this issue · 1 comments

Some features are not implemented correctly:

  • CaptainChar: implemented as ComponentModBase, so you can't change the appearance of the chair. (Suggestion: implement how TurretMod is implemented)
  • For some components, not all method overloads work due to missing patches.

Suggestions for new content features:

  • QuestAPI or MissionsAPI.
  • ShopAPI (for exampel: IShopItem interface; implements a method similar to "OnNewShopCreated(Shop shop, Sector sector)" that allows you to manually add items to the shop. Or add a spawn chance property and store type to the interface.)
  • DialogAPI for ships
  • DialogAPI for pawns
  • CreaturesAPI (maybe, if possible)
  • Pawn Appearance API
  • Translation API

Other Suggestions:

  • Fix-patch for one bool method in SteamVR api (Creates boolean (false) many times if you don't have VR. For 1 hour of play, it creates them for 1 gigabyte +_+) (Solution: prefix override patch with "return false")
  • Move the start PML method to Awake and add an attribute to it that will tell Unity that this Awake should be called first.

We can also add base classes for new items:
Melee Item click

And add fix patch for prefabcache click. We can create photonview objects on the client by adding it to the PrefabCache, but sometimes the client gets an error +_+. This patch fixes the bug.