Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 20: Line 20:
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{unlocks|}}}|,|x|[[Item script unlock::x]] |,<nowiki> </nowiki>}}
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{unlocks|}}}|,|x|[[Item script unlock::x]] |,<nowiki> </nowiki>}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{custom|}}} |
{{#if: {{{customization|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Customizable
! align="left" valign="top" scope="row" role="rowheader" {{!}} Customizable
{{!}} align="right" valign="top" {{!}} ✓
{{!}} align="right" valign="top" {{!}} ✓
Line 36: Line 36:
{{!}} align="right" valign="top" {{!}} [[Item script attunement::{{{attunement|}}}]] - [[Item script attunement type::{{{attunetype}}}]]
{{!}} align="right" valign="top" {{!}} [[Item script attunement::{{{attunement|}}}]] - [[Item script attunement type::{{{attunetype}}}]]
{{!}}- |}}
{{!}}- |}}
{{#if: {{{safety|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Safety Feature
{{!}} align="right" valign="top" {{!}} [[Has safety feature::{{{safety|}}}]]
{{!}}- |}}
{{#ifeq: {{lc:{{{restrictions|}}}}} | yes
|
! align="left" valign="top" scope="row" role="rowheader" {{!}} Item Restrictions
{{!}} align="right" valign="top" {{!}} ✓ [[Has restrictions::true| ]]
{{!}}- }}
|}
{{#if: {{{verb|}}} |
{{#if: {{{verb|}}} |
{{{!}} style="max-width: 12%; min-width: 16em; width: 20em; margin: 10px 1px 10px 10px; background:#FFF; float:right; clear: right; border-style: solid; border-width: 1px; font-size: 95%; padding: 1px"
{{!}}
! style="background:#005682; color: white; font-size: larger; text-align: center;" {{!}} Verbs Used
{{!}}-
{{!}}-
! colspan=2 style="background:#005682; color: white; font-size: larger; text-align: center;" | Verbs Used
{{!}} scope="row" align="center" valign="top" {{!}} {{#arraymap:{{{verb|}}}|,|x|[[Verb:x|x]] |<nowiki> </nowiki>}}
{{!}} scope="row" align="center" valign="top" {{!}} {{#arraymap:{{{verb|}}}|,|x|[[Verb:x|x]] |<nowiki> </nowiki>}}
{{!}}- |}}
{{!}}} |}}
The '''{{#ifeq: {{{propername|}}} | yes | [[Is proper name::true| ]]{{PAGENAME}} | [[Is proper name::false| ]]{{lcfirst:{{PAGENAME}}}}}}''' is a {{lowercase|{{#arraydefine:myitems|{{{category|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{type|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{itemscript|}}}|,}}{{#arrayprint:myitems| |x|[[Item script::x]]|print=pretty}}}}{{#if: {{{class|}}} | &nbsp;that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at [[{{{releasevenue}}}]]{{#if: {{{releasedate|}}} | &nbsp;{{{releasedate}}} |}}{{#if: {{{origmerch|}}} | &nbsp;by [[{{{origmerch}}}]] |}}{{#if: {{{quest|}}} | &nbsp;as part of the [[{{{quest}}}]] quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by [[{{{origmerch}}}]]{{#if: {{{releasedate|}}} | &nbsp;in {{{releasedate}}} |}}{{#if: {{{quest|}}} | &nbsp;as part of the [[{{{quest}}}]] quest |}}.|}} |}} {{#switch: {{{type|}}} | Feature altering = It can temporarily alter a character's {{lowercase|{{#arraydefine:myitems|{{{features|}}}|,}}{{#arrayprint:myitems| |x|[[Item script feature alter::x]]|print=pretty}}}}. |}} {{#if: {{{customization|}}} | The following facets are able to be customized by a merchant: {{lowercase|{{#arraydefine:myitems|{{{customization|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}}. |}} {{#if: {{{safety|}}} | Items with this script can be [[Verb:DROP|{{boldmono|PUT}}]] on the ground for a limited duration, during which other players and the janitor cannot pick them up{{#switch: {{{safety|}}} | All Mine = , as long as the player remains in the room. | Stay Put = . {{#arraymap: {{{category|}}}|,|x|{{#switch:x | Private property = Private property owners may [[Verb:PLACE|{{boldmono|PLACE}}]] it semi-permanently within their respective properties. | #default = }} |}} |}} |}} {{#if: {{{addinfo|}}} | {{#ifexpr: {{#len: {{{addinfo|}}} }} > 200 | '''{{red|Error: Free text exceeds 200 character limit.}}''' | {{{addinfo|}}} }} }}
|}
The '''{{PAGENAME}}''' is a {{lowercase|{{#arraydefine:myitems|{{{category|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{type|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{itemscript|}}}|,}}{{#arrayprint:myitems| |x|[[Item script::x]]|print=pretty}}}}{{#if: {{{class|}}} | &nbsp;that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at [[{{{releasevenue}}}]]{{#if: {{{releasedate|}}} | &nbsp;{{{releasedate}}} |}}{{#if: {{{origmerch|}}} | &nbsp;by [[{{{origmerch}}}]] |}}{{#if: {{{quest|}}} | &nbsp;as part of the [[{{{quest}}}]] quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by [[{{{origmerch}}}]]{{#if: {{{releasedate|}}} | &nbsp;in {{{releasedate}}} |}}{{#if: {{{quest|}}} | &nbsp;as part of the [[{{{quest}}}]] quest |}}.|}} |}} {{#switch: {{{type|}}} | Feature altering = It can temporarily alter a character's {{lowercase|{{#arraydefine:myitems|{{{features|}}}|,}}{{#arrayprint:myitems| |x|[[Item script feature alter::x]]|print=pretty}}}}. |}} {{#if: {{{customization|}}} | The following facets are able to be customized by a merchant: {{lowercase|{{#arraydefine:myitems|{{{customization|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}}. |}}

<div style="vertical-align: top">{{#if: {{{restrictions|}}} |
; Restrictions
{{{restrictions}}} |}}</div>


<includeonly>[[Category:Item scripts]]</includeonly> {{#arraymap:{{{category|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{class|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{type|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#switch: {{{addorswap|}}} |
<includeonly>[[Category:Item scripts]]</includeonly> {{#arraymap:{{{category|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{class|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{type|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#switch: {{{addorswap|}}} |
Add = [[Category:Addable item scripts]] | add = [[Category:Addable item scripts]] | Swap = [[Category:Swappable item scripts]] | swap = Swappable item scripts]] |}} {{#if: {{{attunement|}}} | [[Category:Attuning item scripts]] |}} {{#switch: {{{itemscript|}}} | flourish = [[Category:Item flourishes]] |}} {{#arraymap:{{{releasevenue|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#if: {{{quest|}}} | [[Category:Quest item scripts]] |}}</onlyinclude>
Add = [[Category:Addable item scripts]] | add = [[Category:Addable item scripts]] | Swap = [[Category:Swappable item scripts]] | swap = Swappable item scripts]] |}} {{#if: {{{attunement|}}} | [[Category:Attuning item scripts]] |}} {{#arraymap: {{{itemscript|}}}|,|x|{{#switch:x| flourish = [[Category:Item flourishes]] | Flourish = [[Category:Item flourishes]] | #default = }}}} {{#arraymap:{{{releasevenue|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#if: {{{quest|}}} | [[Category:Quest item scripts]] |}}</onlyinclude>


{{red|'''DO NOT USE! TESTING PURPOSES ONLY FOR NOW!'''}}
{{red|'''DO NOT USE! TESTING PURPOSES ONLY FOR NOW!'''}}
==CP Code==
==CP Code==
<pre{{log2}}><nowiki>{{ItemScriptInfo
<pre{{log2}}><nowiki>{{ItemScriptInfo
|propername=
|category=
|category=
|class=
|class=
Line 71: Line 77:
|attunement=
|attunement=
|attunetype=
|attunetype=
|verb=
|safety=
|addinfo=
}}</nowiki></pre>
}}</nowiki></pre>

Latest revision as of 19:41, 18 August 2026

ItemScriptInfo Information
Category

The itemScriptInfo is a .


DO NOT USE! TESTING PURPOSES ONLY FOR NOW!

CP Code

{{ItemScriptInfo
|propername=
|category=
|class=
|type=
|tiers=
|unlocks=
|itemscript=
|releasevenue=
|releasedate=
|origmerch=
|quest=
|features=
|customization=
|addorswap=
|relatedscript=
|attunement=
|attunetype=
|verb=
|safety=
|addinfo=
}}