User:Teamtoto/Sandbox: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
{{#invoke:Sandbox/User:Teamtoto/LuaModule|test}}
{{#invoke:CargoQuery| main
<!--{{Teamtoto/EncounterTable|roll=each
| tables=ItemsTable=IT,GeneralData=GD
|{{EncounterTable/Row|weight=95|table=Artifact 0C}}
| join on = IT.ObjectID = GD.ObjectID
|{{EncounterTable/Row|weight=5|table=Artifact 0R}}
| fields={{favilink format args}}
}}
| where= HarvestedInto= "vinewafer"
|template=favilink format
| delimiter = </br>
|default=None}}
</pre>
{{#invoke:CargoQuery| main
{{#invoke:CargoQuery| main
| tables=ItemsTable=IT,GeneralData=GD
| tables = GeneralData=GD, Characters = C, CreatureFactions = CF
| join on = IT.ObjectID = GD.ObjectID
| join = C.ObjectID = GD.ObjectID, C.ObjectID = CF.ObjectID
| fields={{favilink format args}}
| where = C.Demeanor = "aggressive" AND (C._pageNamespace= '0' OR C._pageNamespace = '10002')
| where= HarvestedInto= "vinewafer"
|group by = GD.ObjectID
|template=favilink format
| fields = {{favilink format args}}
| delimiter = </br>
| default = {{Template Error|Creature level and faction}}
|default=None}}
| one_to_many= CONCAT(' ([[', CF.Faction, ']])')=outro, C.ObjectID
 
| one_to_many_group=C.ObjectID
<Pre>{{#invoke:CargoQuery| compound
| one_to_many_sep=,
| 1=table=ItemsTable
; fields=ObjectID=Page
; where= HarvestedInto= "vinewafer"
|template=favilink id
| delimiter = </br>
|default=None}}</pre>
{{#invoke:CargoQuery| compound
| 1=table=ItemsTable
; fields=ObjectID=Page
; where= HarvestedInto= "vinewafer"
| 2 = table=Characters
;fields=ObjectID=Page
; where= HarvestedInto= "vinewafer"
|template=favilink id
| delimiter = </br>
|default=None}}
 
this one is broken:
<pre>
{{#invoke:CargoQuery| compound
| 1=tables=ItemsTable=IT, GeneralData=GD
; join on = IT.ObjectID = GD.ObjectID
; fields= {{favilink format args}}
; where= HarvestedInto= "vinewafer"
| template = favilink format
| delimiter = </br>
|default=None}}
</pre>
{{#invoke:CargoQuery| compound
| 1=tables=ItemsTable=IT, GeneralData=GD
; join = IT.ObjectID = GD.ObjectID
; fields= {{favilink format args}}
; where= HarvestedInto= "vinewafer"
| template = favilink format
| template = favilink format
| delimiter = </br>
| format = ul
|default=None}}
| 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"
}}
}}
{{#invoke:CargoQuery|main
{{#invoke:CargoQuery|main
|table=Anatomies=A
| tables=GeneralData=GD, _pageData=PD
|fields=Name
| join= GD._pageName=PD._pageName
|one_to_many=Type
| fields={{favilink format args}}
|one_to_many_group=Name
| where=PD._categories HOLDS "Liquid_Containers" AND GD._pageNamespace = "0"
|one_to_many_sep=,&nbsp;
| template=favilink format
|format = table
| format = ul
| limit = 1000
| columns = 2
}}
}}
TODO: concat laterality and include child stuff, format it prettier?-->
{{#invoke:CargoQuery|main
| tables=GeneralData=GD, PhysicalProperties=PP
| join =GD.ObjectID= PP.JoinKey
| fields={{favilink format args}}
| where=PP.Volume > 0 AND GD._pageNamespace = "0"
| template=favilink format
| format = ul
| columns = 2
}}-->

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