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
Created page with " <noinclude> <templatedata> { "params": { "description": { "description": "The description in game", "type": "string", "required": true }, "sell-price": { "description": "Price item is sold to NPC's for", "type": "number" }, "tool": { "description": "Tool required to obtain resource", "type": "string" }, "tool-level": {..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
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",
"obtained-by",
"drop-rate-min",
"drop-rate-max"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<includeonly>
[[Category:Resources]]
</includeonly>


{{{description}}}
{{{description}}}


This resource is obtained by using a level {{{tool-level}}} {{{tool}}}.
{| class="wikitable"
 
|+ Resource Attributes
Can be sold for {{{sell-price}}}.
|-
! Locations
! Respawn Time
! Sell Price
! Drop Rate
! Obtained By
! Required Tool
|-
| {{#if:{{{locations|}}}|
  {{{locations}}}
  |N/A}}
| {{#if:{{{respawn-time|}}}|{{{respawn-time}}}|N/A}}
| {{#if:{{{sell-price|}}}|{{{sell-price}}}|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:{{{tool|}}}|
  {{ucfirst: {{{tool}}} }}{{#if:{{{tool-level|}}}>1| Lv. {{{tool-level}}}
  }}|N/A}}
|}

Latest revision as of 10:13, 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
obtained-byobtained-by

Where the resource can be harvested or bought from

Suggested values
wild shop
Stringoptional
drop-rate-mindrop-rate-min

Estimated minimum number of dropped items

Numberoptional
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