Template:Infobox metaobj: Difference between revisions
Jump to navigation
Jump to search
(tmp categories: tmp1 => tmp_repwith, +tmp_unbaked.) |
(+variable materials parameter support.) |
||
Line 111: | Line 111: | ||
{{#ifeq: {{lc:{{{lift|}}}}} |yes | {{#ifeq: {{lc:{{{lift|}}}}} |yes | ||
| {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Liftable Structures]]}} | | {{#ifeq:{{NAMESPACE}}|{{ns:10}}||[[Category:Liftable Structures]]}} | ||
}} | |||
|- | |||
{{#ifeq: {{lc:{{{varmaterials|}}}}} |yes | |||
| {{#ifeq:{{NAMESPACE}}|{{ns:10}} | |||
| {{nop}} | |||
| {{!}} nowrap {{!}} '''[[:Category:Variable Materials|Variable Materials]]''' | |||
{{!}} Yes [[Category:Variable Materials]]}} | |||
}} | }} | ||
|- | |- |
Revision as of 19:30, 22 October 2021
Template documentation (for the template shown above, sometimes hidden or invisible)
... Infobox metaobj/Doc ...
General rules:
- discovery
- no linking to skills/items already on the template, only extras (as in not used in the process, just needed to discover)
- no requires:: linking, as that would mess up what is realy needed for what, just plain page link
Auto added categories: (Category: Properties ...)
- Objects: (default added).
- foraged: perexp.
- foods: hunger OR energy.
- ... Edibles attributes: Defaults to zero if not specified. (uses hunger AND energy trigger btw)
- Containers:
- Containers: Xinv - must be used with yinv in order to populate Vinv
- Containers Liquid: lsize. (note: template parameter name is "liquid_size")
- structures: repwith, lift, sthp, soak.
- Liftable Structures: lift ... "| lift = Yes" (Case insensitive)
- Immobile Structures: lift ... "| lift = No" (Case insensitive)
- Lockable: ... "| Lockable = (nothing/blank)" (Marker type)
- Variable Materials: ... "| varmaterials = (nothing/blank)" (Marker type)
- medicine: ... "| medicine = (nothing/blank)" (Marker type)
- equipment: slot, ?.
- curiosity: lpgain.
- curiosity_foraged: lpgain, perexp.
- curiosity_crafted: lpgain, ccrafted ... "| ccrafted = (yes, true, or <empty>)" (Case Sensitive).
- curiosity_miscellaneous: lpgain, ... Any curiosity that failed the perexp and ccrafted check.
- Gilding
Other Info
Names of the satiations are as per this chart, allowing for expansion on it : http://ringofbrodgar.com/wiki/Food_Satiations
Storage/container field:
| xinv = 5 | yinv = 5
Curiosity Example:
Some Curiosity | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vital statistics | |||||||||||||||||||||||||||||||||||||||||||
Size | 1 x 1 | ||||||||||||||||||||||||||||||||||||||||||
Terrain | Beach | ||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||
Go to Objects |
{{infobox_metaobj | name = Some Curiosity | image = File:Wiki-gears.png | ptext1 = {{{ptext1}}} | xsize = 1 | ysize = 1 | terrain = [[Beach]] | lpgain = 2000 | studytime = 3.3333 | mentalweight = 6 | expdrain = 2 }}
Food Example:
Infobox metaobj | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vital statistics | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Size | 1 x 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Skill(s) Required | Animal Husbandry | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Object(s) Required | Jorbonzola | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Produced By | Cheese Tray, Cheese Rack; Cellar | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Go to Objects |
{{infobox metaobj | xsize = 1 | ysize = 1 | image = File:Wiki-gears.png | skillreq = [[Animal Husbandry]] | objectsreq = [[requires::Jorbonzola]] | producedby = [[requires::Cheese Tray]], [[requires::Cheese Rack]]; Cellar | energy = 100 | hunger = 4 | str = 100 || str2 = 50 | agi = 0 || agi2 = 0 | int = 0 || int2 = 0 | con = 0 || con2 = 0 | per = 0 || per2 = 0 | cha = 0 || cha2 = 0 | dex = 0 || dex2 = 0 | wil = 0 || wil2 = 0 | psy = 0 || psy2 = 0 | sat1 = Game | sat2 = Bread | sat3 = | sat4 = }}
Gild Example:
Some Gild | |||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vital statistics | |||||||||||||||||||||||||||||||
Size | 1 x 1 | ||||||||||||||||||||||||||||||
Skill(s) Required | Unknown | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
Go to Objects |
{{infobox metaobj | name = Some Gild | image = File:Wiki-gears.png | xsize = 1 | ysize = 1 | skillreq = Unknown | gildpct = [[gildpct::20%-80%]] | gildatt = [[gildatt::Psyche]], [[Gildatt::Stealth]] | gild1 = [[gild1::+5 Intelligence]] | gild2 = [[gild2::+3 Psyche]] | gild3 = [[gild3::+1 Stealth]] | gild4 = [[gild4::+1 Will]] }}
Armor Example:
Some Armor | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vital statistics | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Size | 1 x 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Skill(s) Required | Sewing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Object(s) Required | Bat Hide x4, Bat Wings x2, String x2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Slot(s) Occupied | 8L | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Go to Objects |
{{infobox metaobj | name = Some Armor | image = File:Wiki-gears.png | xsize = 1 | ysize = 1 | egildpct = 10% | egildatt = Survival | skillreq = [[requires::Sewing]] | objectsreq = [[requires::Bat Hide]] x4, [[requires::Bat Wings]] x2, [[requires::String]] x2 | slot = 8L | ahp = 40 | absorbX = 3 | absorbY = 3 | statSTR = 3 | statAGI = 1 | statCON = 3 | statPER = 1 | statCHA = 3 | statWIL = 3 | statDEX = 1 | statPSY = 3 | statCMC = 3 | statCUA = 1 | statCMM = 3 | statSTL = 3 | statSEW = 1 | statMAS = 3 | statEXP = 1 | statCRP = 3 | statCOK = 1 | statFRM = 3 | statLRE = 3 | statSRV = 1 | statSMT = 3 }}
Symbel Example:
Some Symbel | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Vital statistics | |||||||||||||||||||||||||
Size | 1 x 1 | ||||||||||||||||||||||||
Skill(s) Required | Dexterity | ||||||||||||||||||||||||
Object(s) Required | Gray Clay x5 | ||||||||||||||||||||||||
| |||||||||||||||||||||||||
Go to Objects |
{{infobox metaobj | name = Some Symbel | image = File:Wiki-gears.png | xsize = 1 | ysize = 1 | skillreq = [[requires::Dexterity]] | objectsreq = [[requires::Gray Clay]] x5 | symbelfep = 1 | symbelhun = 2 | symbelwear = 10 }}
Visit Template:Infobox metaobj/doc to edit this text! (How does this work?)