If you want to see more resources like this, become a Patreon supporter!
Returns the value of a key-value pair in a table
local result = RPG._GetConstant(table, key)
table: A tablekey: A string keystring
Adds stat experience to a soul
RPG.AddStatXP(rpgEvent, soulId, statName, totalXp, oldProgress, newProgress)
rpgEvent: UnknownsoulId: A string representing the UUID of a soulstatName: A string abbreviated name of a stat or derived stattotalXp: A number amount of experience to addoldProgress: UnknownnewProgress: Unknownnil
No description entered
RPG.CaptionObjectUsed(objectEntityId, isDiscovered)
objectEntityId: A string representing the UUID of an entityisDiscovered: A boolean determining whether the object is discoverednil
No description entered
local faction = RPG.GetFactionById(factionId)
factionId: An expression to be evaluated
userdata
No description entered
local table = RPG.GetFactions()
table
No description entered
local hobbies = RPG.GetHobbies()
table
No description entered
local location = RPG.GetLocationById(locationId)
locationId: A string representing the UUID of a location
userdata
No description entered
local location = RPG.GetLocationByName(locationName)
locationName: A string representing the name of a location
userdata
No description entered
local locations = RPG.GetLocations()
table
Displays a UI message indicating whether experience was gained
RPG.NotifyLevelXpGain(skillName)
skillName: An abbreviated name of a stat or derived stat
nil
Unlocks a recipe for an entity
RPG.UnlockRecipe(userId, recipeId, stepId)
userId: A string representing the UUID of an entityrecipeId: A number indicating the recipe_id of a recipestepId: A number indicating the recipe_step_id of a recipe stepnil