User Tools

Site Tools


give_currency

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
give_currency [2024/04/04 21:38] justingive_currency [2024/04/05 09:33] (current) justin
Line 1: Line 1:
-======Function======+======Give Currency======
 ---- ----
 Gives the specified amount of a currency to a [[character]]. Gives the specified amount of a currency to a [[character]].
Line 15: Line 15:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-give_currency();+give_currency(100, "currency", player);
 </code> </code>
-//Results://+//Results:// Increases the player's base currency by 100 (i.e. their "currency" stat).
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Give Currency** function to...+Use the **Give Currency** function to reward the player with gold coins upon finishing an important task or completing a quest for an NPC.
 </WRAP> </WRAP>
  
give_currency.1712291920.txt.gz · Last modified: 2024/04/04 21:38 by justin