Skip to content

Releases: Icecanno/Partner-API

1.0.2h

28 May 10:02
fe91700

Choose a tag to compare

What's Changed

  • Add a developer function Partner_API.inject(...) to help API users better control and develop Partners. It also supports three modes: merge, set, and del.
  • The speech bubble-related functions have been optimized, significantly reducing their redundancy and improving readability, thereby minimizing security risks. This can be used as a speech template for reference.
  • The localization files for zh_CN and en-us have added a general ending quip for API developers to refer to. (other localization authors can update in a timely manner and submit via PR)

Bug Fixes

  • New speech bubble cannot be generated while old speech bubble exist, and will forcibly interrupt the old speech voice.
  • The cumbersome hard-coded word selection logic prevents API users from developing speech quips reasonably and creates numerous risks.
  • The potentially problematic static timer has been replaced with robust closure protection.

1.0.2g

12 Oct 05:25
152f265

Choose a tag to compare

What's Changed

  • Added Thai localization.
  • Added Spanish localization, including both European and Latin American branches.

Bug Fixes

  • Napkin partners can now be unlocked after meeting the unlocking conditions.

New Contributors

@ItsIteeCH Thai language files are provided for localization.
@Marffe Spanish language files are provided for localization.

1.0.2f

25 Sep 11:42
09ce7b3

Choose a tag to compare

What's Changed

  • Optimized the speech bubble function to make it more robust and easier to call.
  • Optimized the cumbersome process of SL popping up the selection interface again after selecting or skipping a partner at the beginning of the game.
  • Improved API compatibility.

Bug Fixes

  • Some custom partner ability parameters are read abnormally.

1.0.2e

04 Jul 02:38
e519025

Choose a tag to compare

What's Changed

  • The Partner Pop-up no longer appears if no partners have been unlocked.
  • Provides a new petting context (context.partner_pet) for modders, which can be triggered by moving the mouse back and forth on the partner.
  • More vivid speech are provided for the petting context. You can petting your partner once for each ante to listen to their thoughts. As the game progresses, your relationship with your partner will become closer and closer.
  • Further optimized the speech bubble related functions to make them more robust and complete, and easier for modders to call.

Bug Fixes

  • Partners with an abnormal display size no longer bug out the locked-sprite image.
  • Fixed a rare crash that happened when unlocking a partner.
  • Partners now included in count of discovered items.
  • Moved fantasy partner in the sprite sheet to fix clipping of its sprite in Pale.

New Contributors

@jumbocarrot0 Provides the vast majority of support for bug fixes.
@bepisfever Provided inspiration and original code base for petting context.

1.0.2d

21 Jun 02:35
e9d9243

Choose a tag to compare

What's Changed

  • Optimized the syntax of manifest.
  • Adjusted the abilities of some partners to maintain balance.
  • Fixed known bugs in English localization.

1.0.2c

12 Jun 10:04
62b9e4c

Choose a tag to compare

What's Changed

  • Cancel the original config's extra parameter related_card and replace it by adding a link_config parameter for center. Add the key value of the linked card and priority as elements in link_config to allow your partner to trigger the different levels buffed.
  • The exact name of the Link Card is no longer displayed and is replaced by the buff effect level of the current partner.
  • Fixed an issue that caused errors when modders manually deleted the registration information of too many partners.
  • Added get_link_level function to help modders quickly check the level of a buff a partner is receiving (The level here refers to priority. When your partner has multiple link cards at the same time, the buff with the highest level will be triggered first).
  • The introduction page of the Partner API has been optimized and renovated. Now you can go to the Partner's wiki directly from the introduction page.
  • Fixed an issue were clicking on a partner in the collection page would cause the partner memory to change.
  • Added calculate_begin function parameter, you can now add global effects to custom partners through this function.
  • Fixed an issue when calling a partner too early would cause an error.
  • The partner context call has been completely rewritten. Now you can use any generic context to edit the partner's calculate function, etc. At the same time, all the old contexts prefixed with "partner_" are no longer usable except for the left-click and right-click contexts.
  • Partners now support multiple sets of main texts. You can now design multiple sets of localized texts for partners based on the different levels of buffed.
  • Adjusted the names and abilities of some old basic partners.
  • An additional 8 new basic partners have been added for play experience.
  • Significantly optimize and adjust the Chinese and English localization of partners to make them more in line with language habits.

1.0.2b

26 May 00:50
ac11bf9

Choose a tag to compare

What's Changed

  • A new context is provided: partner_R_click. This context is triggered when you right-click.
  • The UI display of partners with multiple corresponding cards has been optimized. Now you can clearly see which cards provide buffs to the partners.
  • Fixed an issue where an error would occur when deleting too many basic partner registrations, although you still need to have at least one partner.
  • Fixed an issue that caused the memory selection to change when clicking on a partner in the collection page.

1.0.2a

20 May 10:41
b06f803

Choose a tag to compare

What's Changed

  • Fixed an issue where the text in the partner description area of ​​the new selection interface could not be automatically scaled.
  • Fixed the abnormal display issue of unlock related text.

1.0.2

20 May 04:11
6dcf964

Choose a tag to compare

What's Changed

  • The partner selection interface has been overhauled, greatly improving the efficiency of selecting partners when there are too many partners.
  • Added option to randomly select a partner.
  • Now supports multi-linking of partners, one partner can have multiple corresponding cards.
  • Added partner_selling_card context, you can now edit calculate function using this context.
  • The initial partner position has been optimized to make it easier for you to browse the conversation bubbles.

1.0.1h

17 May 15:01
8b3ae7a

Choose a tag to compare

What's Changed

  • Added a configuration option to enable or disable speech bubbles.
  • Fixed compatibility issues with Plate partner.
  • Added a setting for speech bubbles to automatically disappear after a certain period of time. You can now also make the bubbles disappear by clicking on your partner without triggering their abilities. @snowylight