~hokiegeek/tw5-thousand-year-old-vampire-rpg

2dbb0616c5026bc76d94748042f6cbfc8d53e906 — HokieGeek 4 months ago 0172525 0.4.1
Fixes issues with diary resource being easily inaccessible
4 files changed, 11 insertions(+), 8 deletions(-)

M plugin.info
M resources/template-resource.tid
M resources/view-resource.tid
M view-vampire.tid
M plugin.info => plugin.info +1 -1
@@ 2,7 2,7 @@
    "title": "$:/plugins/hokiegeek/thousand-year-old-vampire-rpg",
    "description": "Some templates and stuff for recording plays of the Thousand Year Old Vampire RPG",
    "author": "hokiegeek",
    "version": "0.4.0",
    "version": "0.4.1",
    "core-version": ">=5.2.1",
    "source": "https://git.sr.ht/~hokiegeek/tw5-thousand-year-old-vampire-rpg",
    "plugin-type": "plugin",

M resources/template-resource.tid => resources/template-resource.tid +5 -5
@@ 33,16 33,16 @@ type: text/vnd.tiddlywiki
<$button tooltip="Edit" aria-label="Edit" message="tm-edit-tiddler" param=<<currentTiddler>> class=<<tv-config-toolbar-class>> style="margin-right: 5px">
    {{$:/core/images/edit-button}}
</$button>
<$set name="diary" filter="[is[current]tag[diary]]">
<$reveal type="nomatch" default=<<diary>> text="">
<span class="indicator" title="diary">{{$:/core/images/file}}</span>
</$reveal>
</$set>
<$reveal type="match" default={{!!stationary}} text="yes">
<span class="indicator" title="Stationary">{{$:/core/images/close-others-button}}</span>
</$reveal>
</$reveal>
</$set>
<$set name="diary" filter="[is[current]tag[diary]]">
<$reveal type="nomatch" default=<<diary>> text="">
<$link><span class="indicator" title="diary">{{$:/core/images/file}}</span></$link>
</$reveal>
</$set>
<$reveal type="match" default={{!!text}} text="">
mysterious resource #<$view field="resource-num" />
</$reveal>

M resources/view-resource.tid => resources/view-resource.tid +2 -2
@@ 1,11 1,11 @@
modified: 20220208231420000
modified: 20220209022010000
created: 20220208231420000
creator: hokiegeek
title: $:/plugins/hokiegeek/thousand-year-old-vampire/views/resources/resource
tags: $:/tags/ViewTemplate ThousandYearOldVampire
type: text/vnd.tiddlywiki

<$list filter="[all[current]is[tiddler]!is[system]tag[ThousandYearOldVampire]tag[resource]]">
<$list filter="[all[current]is[tiddler]!is[system]tag[ThousandYearOldVampire]tag[resource]!tag[diary]]">
<$transclude tiddler="$:/plugins/hokiegeek/thousand-year-old-vampire/template/resources/resource" mode="block" />
</$list>


M view-vampire.tid => view-vampire.tid +3 -0
@@ 108,6 108,9 @@ used:
</$let>

<<traitHeader "Characters" "character">>
<!--
&#8734;
-->
<<list-links filter:"[tag[ThousandYearOldVampire]tag[character]tag{!!title}]" emptyMessage:"none yet">>

<<traitHeader "Marks" "mark">>