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. | ||
− | |||
*'''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 | + | "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." | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
"hidden": { | "hidden": { | ||
Line 99: | Line 93: | ||
"message", | "message", | ||
"now", | "now", | ||
− | |||
"cap", | "cap", | ||
"hidden", | "hidden", |