Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
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|}}} |
Line 43: Line 52:
{{!}} 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}}}}. |}}
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|}}} }} }}

<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|}}} |
Line 55: Line 60:
==CP Code==
==CP Code==
<pre{{log2}}><nowiki>{{ItemScriptInfo
<pre{{log2}}><nowiki>{{ItemScriptInfo
|propername=
|category=
|category=
|class=
|class=
Line 72: Line 78:
|attunetype=
|attunetype=
|verb=
|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=
}}