• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.
31 posts in this topic

great to hear. thanks for the updates!


0

Share this post


Link to post

Updated the framework to version 1.1.3b. This includes the updated Test packages where you can play around with the framework.

0

Share this post


Link to post

Updated the framework to version 1.1.5b. Here is a more detailed summary:

Added function GetBaseAPI() to APPS_FW_Core

Allows a mod to access the base API without creating a property for it or by extending APPS_FW_Registrar.

Added function WouldGiveRP() to APPS_FW_Relationship

This function returns how much RP would be given, when a mod wants to add a certain amount of Relationship Points. Useful for breakpoints which are between two Relationship Ranks, ie:

 

If(CurrentRP < 150)    If(RS.WouldGiveRP(Foreman, PlayerFirewoodCount * JsonUtil.GetFloatValue("FavorReturnOverhaul", "RPPerFirewood") + RS.GetRelationshipPoints(Foreman)) >= 150)        RS.SetRelationshipPoints(Foreman, 150)    Else        RS.ModRelationshipPoints(Foreman, PlayerFirewoodCount * JsonUtil.GetFloatValue("FavorReturnOverhaul", "RPPerFirewood"))    EndIfEndIf
Added private function _CalculateRP() to APPS_FW_Relationship

Unless you know what you are doing, you shouldn't use this function. Only noted down for changelog documentation.

Added interface support for common know languages

Although all languages except German are still in English.

0

Share this post


Link to post

Updated the framework to version 1.1.7b

Added new functionality to the framework which allows mods to group actors together and update their Relationship Points by a common value. Also mods now can link global variables to those groups and get them updated by the framework whenever one of the actor in the group was updated.

New functions added:


      • CreatePrivateGroup() : Create a group which is only accessable by your mod
      • CreatePublicGroup() : Create a group which can be shared through every mod
      • DeletePrivateGroup() : Deletes a private group
      • DeletePublicGroup() : Deletes a public group. Should be used with care because other mods could rely on the group
      • IsPublicGroupCreated() : Checks if a public group exists
      • AddToPrivateGroup() : Adds an actor to the specified private group
      • AddToPublicGroup() : Adds an actor to the specified public group
      • RemoveFromPrivateGroup() : Removes an actor from a private group
      • RemoveFromPublicGroup() : Removes an actor from a public group
      • ModPrivateGroupRS() : Applies the specified RP to all actors in the private group
      • ModPublicGroupRS() : Applies the specified RP to all actors in the public group
      • LinkPrivateGroupWithGV() : Link a global variable with a private group and get this global updated everytime the RP of any actor changes
      • LinkPublicGroupWithGV() : Link a global variable with a public group and get this global updated everytime the RP of any actor changes

Global variable links can be of one of the three types:

  1. Highest: The global variable will be updated with the highest RP of any actor has in the group
  2. Lowest: The global variable will be updated with the lowest RP of any actor in the group
  3. Average: The global variable will be updated with the average RP of all actors in the group

2

Share this post


Link to post

High hopes for this much needed framework


0

Share this post


Link to post