User:Teamtoto/Sandbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Sandbox/User:Teamtoto/LuaModule|test}}
<!--{{Teamtoto/EncounterTable|roll=each
<!--{{Teamtoto/EncounterTable|roll=each
|{{EncounterTable/Row|weight=95|table=Artifact 0C}}
|{{EncounterTable/Row|weight=95|table=Artifact 0C}}
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
}}
}}
{{#invoke:CargoQuery| main
{{#invoke:CargoQuery| main
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
Line 18: Line 18:
| columns = 2
| columns = 2
}}
}}
{{#invoke:cargo_query|main
| table=Factions=F
| fields = FLOOR(5)= mintier, FLOOR(7)= maxtier, F._pageName=faction
| template = possible cultists
| delimiter = </br>
|where = F.Old="1" AND IsVisible="1"
}}-->
<table class="wikitable">
<tr>
<th>Blueprint</th>
<th>Body Parts</th>
</tr>
{{#invoke:CargoQuery|main
{{#invoke:CargoQuery|main
|table=Anatomies=A
| tables=GeneralData=GD, _pageData=PD
|fields=Name=blueprint
| join= GD._pageName=PD._pageName
|one_to_many=(CONCAT("<li> [[List of Body Parts#",
| fields={{favilink format args}}
  BaseType, "{{!}}",
| where=PD._categories HOLDS "Liquid_Containers" AND GD._pageNamespace = "0"
  COALESCE(CONCAT(Laterality, " "), ""),
| template=favilink format
  Type, "]]",
| format = ul
  (CASE
| columns = 2
    WHEN childType <> ""
    THEN CONCAT("<ul><li>",
                  childType, " (",
                  childBaseType, ")</ul>")
    ELSE ""
    END)))=bodyparts
|one_to_many_group=blueprint
|one_to_many_sep=&nbsp;
| template=Anatomy Table Row
| delimiter = </br>
| limit = 1000
}}
}}
</table>
{{#invoke:CargoQuery|main
<!--{{#invoke:CargoQuery|main
| tables=GeneralData=GD, PhysicalProperties=PP
|table=Anatomies=A
| join =GD.ObjectID= PP.JoinKey
|fields=Name
| fields={{favilink format args}}
|one_to_many=(CONCAT("<li> [[List of Body Parts&#35;", BaseType, "!", COALESCE(CONCAT(Laterality, " "), ""), Type, "]]"))=A
| where=PP.Volume > 0 AND GD._pageNamespace = "0"
|one_to_many_group=Name
| template=favilink format
|one_to_many_sep=&nbsp;
| format = ul
| format = table
| columns = 2
| limit = 1000
}}-->
}}-->
TODO: concat laterality and include child stuff, format it prettier?

Latest revision as of 23:01, 30 July 2023

Headerlogo.png

DijTItle

:by Dij:

Attributes

Strength: 16
Agility:13
Toughness:10
Intelligence:10
Willpower:10
Ego:10
Subtype scholar.png
Scholar
Mutated Human
Mutations
Unstable Genome x2
Beak (Rostrum)
Starting skills: Gadget Inspector, Heal, Harvestry, Hurdle, Tactful
Build dots.png
Click to reveal full codeH4sIAAAAAAAACs1VW2vbMBR+L/Q/CLNH16RZNtZCHtJs7NaOLE67weiDbB9sUVky0lFHGvLfJ9lp4kuztIOFBIKj853Ll3O+Iy+OjwjxUprDPSjNpPDOidcPekG/NwjO3nl+iUeG8aTmcGodeissl4nhoK35lzsTsqgea2g2L8AF/ZxeBuOMKhojqAuXUQffTeK+H0FItG5XZYBPRlpDHvH5yTi0AYVPbqraww0zn4wNR6NgKMCgotwnExNxFn+F+UzegRgKw3nFsSSTUKSWxpqdNb3Cl1J7b5N06G2K2JyP/i7tlUGKkJBPJqei4dXp5SO2rH4s/X/uZWiiA21lg9nuTq7cXdIwziSnal8tLOdmc+sDbGKL2+425oXN+KZu0cAhLnNslrb6LOoHshLwqsnXQiONOBCn8BzqNUrfsTQCrWO/DdxQxWgJ9drQfQV9s9ePK+HV4aX/XGYXQO+20jndTqfDtEVnKjUqkzdZbQ63e1LjCFGxyCAcohzb5HbrcSKZQD0xKs6ohqRZ0609KhApZhZ42xiQN0oZZzi3wOsmMJMmzQRo3dGY91kgcM5SEDF00R+M80L+BtWFPqTSGTe2uh49WoQFlCI6OWvap5BTJphIHc3G2kX2747cMg4Ge1LO2GiUOXuANX6ACtpGcreSRLWnjkbdXAA+YbUKSMo5d9yVFPauCJ+M+p/DyaTUECJVaNVyKePyPjvEAf2F6DPe4q04V+yLLAr6spe5e9weHy3/ADv8xUOwCgAA