Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:
{{!}} align="right" valign="top" {{!}} [[Has safety feature::{{{safety|}}}]]
{{!}} 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|}}} |
Line 48: Line 53:
{{!}}} |}}
{{!}}} |}}
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|}}} |  that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at [[{{{releasevenue}}}]]{{#if: {{{releasedate|}}} |  {{{releasedate}}} |}}{{#if: {{{origmerch|}}} |  by [[{{{origmerch}}}]] |}}{{#if: {{{quest|}}} |  as part of the [[{{{quest}}}]] quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by [[{{{origmerch}}}]]{{#if: {{{releasedate|}}} |  in {{{releasedate}}} |}}{{#if: {{{quest|}}} |  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 '''{{#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|}}} |  that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at [[{{{releasevenue}}}]]{{#if: {{{releasedate|}}} |  {{{releasedate}}} |}}{{#if: {{{origmerch|}}} |  by [[{{{origmerch}}}]] |}}{{#if: {{{quest|}}} |  as part of the [[{{{quest}}}]] quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by [[{{{origmerch}}}]]{{#if: {{{releasedate|}}} |  in {{{releasedate}}} |}}{{#if: {{{quest|}}} |  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|}}} }} }}

<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|}}} |

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=
}}