Template:ID to Character: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:CargoQuery | <includeonly>{{#invoke:CargoQuery | ||
|main | |main | ||
|tables=Characters=C, GeneralData=GD, PhysicalProperties=P | |tables=Characters=C, GeneralData=GD, PhysicalProperties=P, FurnitureData=F | ||
|join on=C.JoinKey=GD.JoinKey,C.JoinKey=P.JoinKey | |join on=C.JoinKey=GD.JoinKey,C.JoinKey=P.JoinKey,C.JoinKey=F.JoinKey | ||
|where=GD. | |where=GD.ObjectID="{{{1}}}" | ||
|fields = C.Level=lv, C.HP=hp, C.AV=av, C.DV=dv, C.MA=ma, C.MARange=marange, C.Strength=strength, C.StrengthMult=strengthmult, C.Agility=agility, C.AgilityMult=agilitymult, C.Intelligence=intelligence, C.IntelligenceMult=intelligencemult, C.Willpower=willpower, C.WillpowerMult=willpowermult, C.Ego=ego, C.EgoMult=egomult, C.XPValue=xpvalue, C.XPTier=xptier, GD.Description=desc, C.Corpse=corpse, C.CorpseChance=corpsechance, C.MoveSpeed=movespeed, C.Demeanor=demeanor, C.Skills=skills, C.Quickness=quickness, C.HarvestedInto=harvestedinto, C.Role=role, GD.DisplayName=title, GD.Image=image, GD.DisplayChar=renderstr, GD.Weight=weight, GD.Tier=tier, GD.Categories=categories, GD.ParentObject=inheritingfrom, P.AcidResist=acid, P.ElectricResist=electric, P.ColdResist=coldresist, P.HeatResist=heat, P.LightRadius=light, P.Seeping=seeping, P.Inhaled=inhaled, P.Volume=maxvol, P.LiquidGenType=liquidgentype, P.LiquidGenRate=liquidgenrate | |fields = C.Level=lv, C.HP=hp, C.AV=av, C.DV=dv, C.MA=ma, C.MARange=marange, C.Strength=strength, C.StrengthMult=strengthmult, C.Agility=agility, C.AgilityMult=agilitymult, C.Intelligence=intelligence, C.IntelligenceMult=intelligencemult, C.Willpower=willpower, C.WillpowerMult=willpowermult, C.Ego=ego, C.EgoMult=egomult, C.XPValue=xpvalue, C.XPTier=xptier, GD.Description=desc, C.Corpse=corpse, C.CorpseChance=corpsechance, C.MoveSpeed=movespeed, C.Demeanor=demeanor, C.Skills=skills, C.Quickness=quickness, C.HarvestedInto=harvestedinto, C.Role=role, GD.DisplayName=title, GD.Image=image, GD.DisplayChar=renderstr, GD.Weight=weight, GD.Tier=tier, GD.Categories=categories, GD.ParentObject=inheritingfrom, P.AcidResist=acid, P.ElectricResist=electric, P.ColdResist=coldresist, P.HeatResist=heat, P.LightRadius=light, P.Seeping=seeping, P.Inhaled=inhaled, P.Volume=maxvol, P.LiquidGenType=liquidgentype, P.LiquidGenRate=liquidgenrate, F.ChairLevel=chairlevel | ||
|template=Character nostore | |template=Character nostore | ||
|order by= GD.PlainName ASC | |order by= GD.PlainName ASC | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Takes | Takes an object ID and returns most of a character infobox/namebox for that ID, using [[Template:Character nostore]]. Notably missing character mutations, faction relationships, inventory contents, and extra info, which have their own templates for storage and thus can't be directly fed into Character. Usage: <pre>{{ID to Character|Troll King 1}}</pre> | ||
Output: | Output: | ||
{{ID to Character| | {{ID to Character|Troll King 1}} |
Latest revision as of 06:25, 25 August 2022
Takes an object ID and returns most of a character infobox/namebox for that ID, using Template:Character nostore. Notably missing character mutations, faction relationships, inventory contents, and extra info, which have their own templates for storage and thus can't be directly fed into Character. Usage:
{{ID to Character|Troll King 1}}
Output:
Jotun, Who Parts Limbs
Level: 17 | |
Attribute Range Mean Formula Attacker Level 1-19 1700 XP Attacker Level 20-24 850 XP Attacker Level 25-29 170 XP Attacker Level 30+ 0 XP | |
Acid Res: 0 Elec Res: 25 Cold Res: 0 Heat Res: 0 | |
Character
|
T |
---|---|
Demeanor
|
neutral |
Skills
|
|
| |
Skills
| |
Corpse Dropped
|
troll corpse (90%) |
Experience?
|
1700 XP |
XP Tier
|
3 |
Role
|
Hero |
Jotun, Who Parts Limbs
A hoary humanoid slumps beneath the weight of his broad and cragged back. Soaking fibers of inky, unkempt hair enswathe the great pale shoulder-rocks, and crossed over his wide chest are two carbide axes rotting with rust. Rumpled lids lay half-shut over the discs of his sluggish eyes, glazed in the respite of a convalessence bath.