Editing Template:Gain/doc

From Fallen London Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 18: Line 18:
 
*'''now''', this parameter is used to when the action sets a quality/item to a specific level, but doesn't use either <code>|occurrence</code> or <code>to</code>. Note that <code><nowiki>{{{2}}}</nowiki></code> and <code><nowiki>{{{message}}}</nowiki></code> do work with this one, and for pyramidal qualities <code><nowiki>{{{message}}}</nowiki></code> is required.
 
*'''now''', this parameter is used to when the action sets a quality/item to a specific level, but doesn't use either <code>|occurrence</code> or <code>to</code>. Note that <code><nowiki>{{{2}}}</nowiki></code> and <code><nowiki>{{{message}}}</nowiki></code> do work with this one, and for pyramidal qualities <code><nowiki>{{{message}}}</nowiki></code> is required.
 
**This parameter is '''not''' used for "You now have <number> x <item>" messages used when a player previously had none of the item gained, which should be represented by the basic <code><nowiki>{{Gain|A|B}}</nowiki></code> format.
 
**This parameter is '''not''' used for "You now have <number> x <item>" messages used when a player previously had none of the item gained, which should be represented by the basic <code><nowiki>{{Gain|A|B}}</nowiki></code> format.
*'''twist''', this parameter is used when the quality change looks like A twist in your tale! You are now x. Its value is either no (default) or yes.
 
 
*'''hidden''', this parameter is used to define whether the change is hidden or not. If the change is hidden set this to yes, otherwise don't include it.
 
*'''hidden''', this parameter is used to define whether the change is hidden or not. If the change is hidden set this to yes, otherwise don't include it.
 
*'''Cap''', if a action can only raise a quality/item to a specified amount set this parameter to that value.
 
*'''Cap''', if a action can only raise a quality/item to a specified amount set this parameter to that value.
Line 34: Line 33:
 
"2": {
 
"2": {
 
"label": "Quantity",
 
"label": "Quantity",
"description": "The amount gained by this action, which should either be count of levels for items and Discrete qualities, or number of Change Points for Pyramidal. Pyramidal qualities require the ' CP' or ' x' postfix.",
+
"description": "The amount gained by this action, which should either be count of levels for Discrete qualities, or number of Change Points for Pyramidal.",
 
"example": "5 x, or +2 CP",
 
"example": "5 x, or +2 CP",
 
"type": "line",
 
"type": "line",
Line 63: Line 62:
 
"label": "Now",
 
"label": "Now",
 
"description": "If the result of the action sets this quality to a specific level, instead of increasing it, then set this parameter to the new level. Unlike Set to and Occurrence this one will work with 2 and Message, and it is required when using Now for a pyramidal quality. Note that this parameter is not used for the \"You now have <number> x <item>\" message from gaining items for the first time."
 
"description": "If the result of the action sets this quality to a specific level, instead of increasing it, then set this parameter to the new level. Unlike Set to and Occurrence this one will work with 2 and Message, and it is required when using Now for a pyramidal quality. Note that this parameter is not used for the \"You now have <number> x <item>\" message from gaining items for the first time."
},
 
"twist": {
 
"label": "Twist",
 
"description": "If the game text for the action result begins with \"A twist in your tale\", then set this parameter to the name of the quality/item being gained. Disables all other parameters",
 
"type": "string"
 
 
},
 
},
 
"hidden": {
 
"hidden": {
Line 99: Line 93:
 
"message",
 
"message",
 
"now",
 
"now",
"twist",
 
 
"cap",
 
"cap",
 
"hidden",
 
"hidden",

Please note that all contributions to Fallen London Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Fallen London Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Preview page with this template

Templates used on this page: