From 9c7a50835c46bf214e82d079f861a4a4f405f685 Mon Sep 17 00:00:00 2001 From: "kts of kettek (nyaa)" Date: Fri, 28 May 2021 22:10:20 -0700 Subject: [PATCH] Add tables template --- views/tables.dot | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 views/tables.dot diff --git a/views/tables.dot b/views/tables.dot new file mode 100644 index 0000000..5358d7c --- /dev/null +++ b/views/tables.dot @@ -0,0 +1,49 @@ +{{? !it.type }} + +

Gear

+{{ for(var cat in it.db) { }} +

{{=cat}}

+ +
+{{ } }} + +{{?? true }} +

{{=it.type}}

+ +{{? it.type === "weapons"}} + + + + + + + + + + + + + + + +{{~it.db[it.type] :item:index}} + + + + + + + + + + + +{{~}} + +
NameAttackDamageTypeRangeRadiusCapacityDurationProperties
{{=item.name}}{{=item.attack}}{{=item.damage}}{{=item.damagetype}}{{=item.range}}{{=item.radius}}{{=item.capacity}}{{=item.duration}}{{=item.properties}}
+{{?? it.type === "consumables"}} +argh +{{?? true }} +Bad type +{{?}} +{{?}}