Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Resource: Difference between revisions

Template page
No edit summary
No edit summary
Line 4: Line 4:
{
{
"params": {
"params": {
        "description": {
"description": {
            "description": "The description in game",
"description": "The description in game",
            "type": "string",
"type": "string",
            "required": true
"required": true
        },
},
        "sell-price": {
"sell-price": {
            "description": "Price item is sold to NPC's for",
"description": "Price item is sold to NPC's for",
            "type": "number"
"type": "number"
        },
},
        "tool": {
"tool": {
            "description": "Tool required to obtain resource",
"description": "Tool required to obtain resource",
            "type": "string"
"type": "string",
        },
"suggestedvalues": [
        "tool-level": {
"hammer",
            "description": "Tool level required to obtain resource",
"pruner",
            "type": "number"
"trowel"
        }
]
    },
},
"description": "Resource, found in game, typically harvested or bought."
"tool-level": {
"description": "Tool level required to obtain resource",
"type": "number"
},
"locations": {
"description": "Location in game that resource nodes spawn",
"type": "content",
"suggestedvalues": [
"Hanging Gardens",
"Loftia City",
"Salvaging District"
]
},
"respawn-time": {
"description": "Respawn time for resource nodes in minutes",
"type": "number"
},
"obtained-by": {
"description": "Where the resource can be harvested or bought from",
"type": "string",
"suggestedvalues": [
"wild",
"shop"
]
},
"drop-rate-min": {
"description": "Estimated minimum number of dropped items",
"type": "number"
},
"drop-rate-max": {
"description": "Estimated maximum number of dropped items",
"type": "number"
}
},
"description": "Resource, found in game, typically harvested or bought.",
"paramOrder": [
"description",
"sell-price",
"tool",
"tool-level",
"locations",
"respawn-time",
"drop-rate-min",
"obtained-by",
"drop-rate-max"
]
}
}
</templatedata>
</templatedata>
Line 39: Line 84:
! Required Tool
! Required Tool
|-
|-
| {{#if:{{{locations|}}}|{{{locations}}}|N/A}}
| {{#if:{{{locations|}}}|
  {{{locations}}}
  |N/A}}
| {{#if:{{{respawn-time|}}}|{{{respawn-time}}}|N/A}}
| {{#if:{{{respawn-time|}}}|{{{respawn-time}}}|N/A}}
| {{#if:{{{sell-price|}}}|{{{sell-price}}}|N/A}}
| {{#if:{{{sell-price|}}}|{{{sell-price}}}|N/A}}
| {{#if:{{{drop-rate|}}}|{{{drop-rate}}}|N/A}}
| {{#if:{{{drop-rate-min|}}}|
  {{{drop-rate-min}}}{{#if:{{{drop-rate-max|}}}>1|-{{{drop-rate-max}}}
  }}|N/A}}
| {{#if:{{{obtained-by|}}}|{{{obtained-by}}}|N/A}}
| {{#if:{{{obtained-by|}}}|{{{obtained-by}}}|N/A}}
| {{#if:{{{tool|}}}|
| {{#if:{{{tool|}}}|
{{{tool}}}{{#if:{{{tool-level|}}}>1| Lv. {{{tool-level}}}
  {{ucfirst: {{{tool}}} }}{{#if:{{{tool-level|}}}>1| Lv. {{{tool-level}}}
}}|N/A}}
  }}|N/A}}
|}
|}

Revision as of 10:08, 15 April 2025


Resource, found in game, typically harvested or bought.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
descriptiondescription

The description in game

Stringrequired
sell-pricesell-price

Price item is sold to NPC's for

Numberoptional
tooltool

Tool required to obtain resource

Suggested values
hammer pruner trowel
Stringoptional
tool-leveltool-level

Tool level required to obtain resource

Numberoptional
locationslocations

Location in game that resource nodes spawn

Suggested values
Hanging Gardens Loftia City Salvaging District
Contentoptional
respawn-timerespawn-time

Respawn time for resource nodes in minutes

Numberoptional
drop-rate-mindrop-rate-min

Estimated minimum number of dropped items

Numberoptional
obtained-byobtained-by

Where the resource can be harvested or bought from

Suggested values
wild shop
Stringoptional
drop-rate-maxdrop-rate-max

Estimated maximum number of dropped items

Numberoptional


{{{description}}}

Resource Attributes
Locations Respawn Time Sell Price Drop Rate Obtained By Required Tool
N/A N/A N/A N/A N/A N/A