Skip to content

Instantly share code, notes, and snippets.

@KinoAR
Created November 18, 2016 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KinoAR/ce771f18c6c2f97878f06ea0cf6e89d0 to your computer and use it in GitHub Desktop.
Save KinoAR/ce771f18c6c2f97878f06ea0cf6e89d0 to your computer and use it in GitHub Desktop.
SocialSystem Help
//=============================================================================
// Introduction
//=============================================================================
*
* This plugin allows you to create a social system in-game.
* It stores the information on contacts on a map, and generates
* a list of contacts / people.
*
//=============================================================================
// Notetags
//=============================================================================
* <contact> or <contact: description>
* Designates an event as a contact, and a description for that contact.
* We use the event's name as a contact in game.
*
* Comments tags are included for long descriptions.
* Place this on the first page of your event within a comment.
*
* Long descriptions are used in the new Detail Screen.
* Example:
* <contact>
* Sam has been sailing for quite some time.
* He also has sailed to every sea in Flemming.
* His only wish is to go home...
* </contact>
*
* This will be displayed on the new detail scene.
*
//=============================================================================
// Script Calls
//=============================================================================
*
* Note: contactId is the same as the eventId on that map.
*
* KR.Helpers.setContactDescription(contactName, description)
* - Update/change the contact description you entered.
*
* KR.Helpers.getContactDescription(contactName)
* - Returns the contact description (can store in a game variable).
*
* KR.Helpers.setContactSocialRate(contactName, rate)
* - Adjusts the socialMeter 0 - 100
*
* KR.Helpers.updateContactSocialRate(contactName, value)
* - Add/Subtract the social rate by some value (converted to decimal).
* - You can enter negative or positive numbers.
*
* KR.Helpers.getContactSocialRate(contactName)
* - Returns the contact social rate (can store this in a game variable).
* Note: It will be between 0 - 100; it won't be in decimal format.
*
* KR.Helpers.startSocialSystemScene()
* - Starts the social System scene.
*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment