浏览代码

add informative symbol to `<<fame>>`

Stephan Fuchs 11 月之前
父节点
当前提交
406151fe22
共有 2 个文件被更改,包括 17 次插入0 次删除
  1. 6 0
      sugarcube/src/playerCharacter/fame/fame.css
  2. 11 0
      sugarcube/src/playerCharacter/fame/fame.tw

+ 6 - 0
sugarcube/src/playerCharacter/fame/fame.css

@@ -38,4 +38,10 @@
 .fame .description {
 	grid-area: description;
 	font-style: italic;
+}
+
+.fame .symbols {
+	position: absolute;
+	right: 0;
+	top: 0;
 }

+ 11 - 0
sugarcube/src/playerCharacter/fame/fame.tw

@@ -35,6 +35,17 @@
 			_fameTypeOutput in _fameLocationOutput
 		</span>
 		<span class="description">_fameDesc</span>
+		<span class="symbols">
+					<<textWithTooltip "✨">>
+						<h3>Fame</h3>
+						This is a fame-effect.
+						<p>The most straight-forward way to acquire fame is to perform corresponding actions while getting noticed by others.</p>
+						<p>Some types of fame can be acquired by making claims. For example, you will get fame as a slut by claiming to be one.</p>
+						<p>The impact of actions decreases with an increasing amount of accumulated fame. Small actions won't have any effect if you are already well-known.</p>
+						<p>You can lower your fame by performing opposing actions. For example, you can decrease your fame as a slut by praying at the church.</p>
+						<p>Also, your fame will decrease over time.</p>
+					<</textWithTooltip>>
+		</span>
 	</div>
 <</widget>>