From f6f14fadb218067ed278d857557752ea5eded3f5 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Mon, 27 Dec 2021 15:53:24 -0500 Subject: [PATCH] Aldonu desegnojn por papero de rolulo --- desegnoj/.gitignore | 2 + desegnoj/archetypes/default.md | 6 ++ desegnoj/assets/main.scss | 47 ++++++++++ desegnoj/config.toml | 9 ++ desegnoj/content/_index.md | 0 desegnoj/content/priat.html | 102 +++++++++++++++++++++ desegnoj/layouts/_default/baseof.html | 9 ++ desegnoj/layouts/_default/single.html | 3 + desegnoj/layouts/index.html | 7 ++ desegnoj/layouts/partials/head.html | 6 ++ desegnoj/layouts/partials/main_menu.html | 7 ++ desegnoj/layouts/shortcodes/character.html | 0 desegnoj/layouts/shortcodes/skill.html | 4 + desegnoj/layouts/shortcodes/stat.html | 7 ++ shell.nix | 1 + 15 files changed, 210 insertions(+) create mode 100644 desegnoj/.gitignore create mode 100644 desegnoj/archetypes/default.md create mode 100644 desegnoj/assets/main.scss create mode 100644 desegnoj/config.toml create mode 100644 desegnoj/content/_index.md create mode 100644 desegnoj/content/priat.html create mode 100644 desegnoj/layouts/_default/baseof.html create mode 100644 desegnoj/layouts/_default/single.html create mode 100644 desegnoj/layouts/index.html create mode 100644 desegnoj/layouts/partials/head.html create mode 100644 desegnoj/layouts/partials/main_menu.html create mode 100644 desegnoj/layouts/shortcodes/character.html create mode 100644 desegnoj/layouts/shortcodes/skill.html create mode 100644 desegnoj/layouts/shortcodes/stat.html diff --git a/desegnoj/.gitignore b/desegnoj/.gitignore new file mode 100644 index 0000000..3eec6c0 --- /dev/null +++ b/desegnoj/.gitignore @@ -0,0 +1,2 @@ +resources +public diff --git a/desegnoj/archetypes/default.md b/desegnoj/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/desegnoj/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/desegnoj/assets/main.scss b/desegnoj/assets/main.scss new file mode 100644 index 0000000..7a928fe --- /dev/null +++ b/desegnoj/assets/main.scss @@ -0,0 +1,47 @@ +body { + background-color: rgb(200, 190, 180); +} + +.columns { + display: flex; + // border: 1px solid red; + margin: auto; + padding: 1em; + + > * { + margin: 0 1em 0 1em; + } + + & :first-child { + margin: 0 1em 0 0; + } + & :last-child { + margin: 0 0 0 1em; + } +} + +.c-2 { + > div { + width: 50%; + } +} + +.statpool { + width: 50%; + flex-grow: 0; + flex-shrink: 1; + + .pool { + border: 1px solid black; + border-radius: 5px; + padding: 0.5em; + margin: 0.25em; + } + + .edge { + border: 1px solid black; + border-radius: 5px; + padding: 0.5em; + margin: 0.25em; + } +} diff --git a/desegnoj/config.toml b/desegnoj/config.toml new file mode 100644 index 0000000..29fef37 --- /dev/null +++ b/desegnoj/config.toml @@ -0,0 +1,9 @@ +baseURL = "http://example.org/" +languageCode = "en-us" +title = "My New Hugo Site" + +[markup] + defaultMarkdownHandler = "goldmark" + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true diff --git a/desegnoj/content/_index.md b/desegnoj/content/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/desegnoj/content/priat.html b/desegnoj/content/priat.html new file mode 100644 index 0000000..da51342 --- /dev/null +++ b/desegnoj/content/priat.html @@ -0,0 +1,102 @@ +--- +title: Priat +--- + +
+
+

Priat (Tier 1)

+

A Intuitive Jack who Explores Yesterday

+
    +
  • Effort: 1
  • +
  • Cypher Limit: 2
  • +
+
+
+ {{< stat name="Might" value="12" edge="0" >}} + {{< stat name="Speed" value="14" edge="0" >}} + {{< stat name="Intellect" value="12" edge="1" >}} +
+
+ +
+
+

Special Abilities

+
    +
  • Know what to do: You can act immediately, even if it's not your turn. On your next regular turn, any action you take is hindered. You can do this once, per recovery roll.
  • +
  • Flex skill: At the beginning of each day, chose one skill other than attacks or defense. You are trained in that skill for the rest of the day.
  • +
  • Fleet of Foot (1+ speed): You can move a short distance as part of another action. You can move a long distance as your entire action for a turn. Applying a level of Effort, you can move a long distance and make an attack os your entire action, but the attack is hindered.
  • +
  • Vanish (2 intellect): You become invisible for a short amount of time. While invisible, you have an asset on stealth and Speed defense tasks. Invisibility ends at the end of your next turn, or if you do something ot reveal your presence or position.
  • +
+
+ +
+

Skills

+ + {{< skill name="Perception" level="Trained" >}} + {{< skill name="Climbing" level="Trained" >}} + {{< skill name="Salvaging Numenera" level="Trained" >}} + {{< skill name="Identifying" level="Trained" >}} + {{< skill name="Crafting Numenera" level="Trained" >}} +
+
+
+ +

Attack and Defense

+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
WeaponDamageRangeAmmo
Battleaxe4Melee
Dagger2Melee
+

You can use light or medium weapons. Your attacks are hindered with a heavy weapon.

+
+ +
+ + + + + + + + + + + + + + + +
ArmorDefenseSpeed cost
Brigandine22
+
+
+ +

Equipment

+ + diff --git a/desegnoj/layouts/_default/baseof.html b/desegnoj/layouts/_default/baseof.html new file mode 100644 index 0000000..2c92c91 --- /dev/null +++ b/desegnoj/layouts/_default/baseof.html @@ -0,0 +1,9 @@ + + + {{ partial "head.html" . }} + {{ .Page.Title }} + + {{ block "main" . }} + {{ end }} + + diff --git a/desegnoj/layouts/_default/single.html b/desegnoj/layouts/_default/single.html new file mode 100644 index 0000000..9983b08 --- /dev/null +++ b/desegnoj/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "main" }} +{{ .Content }} +{{ end }} diff --git a/desegnoj/layouts/index.html b/desegnoj/layouts/index.html new file mode 100644 index 0000000..599dfea --- /dev/null +++ b/desegnoj/layouts/index.html @@ -0,0 +1,7 @@ + + + {{ partial "head.html" . }} + + {{ partial "main_menu.html" . }} + + diff --git a/desegnoj/layouts/partials/head.html b/desegnoj/layouts/partials/head.html new file mode 100644 index 0000000..0a83dab --- /dev/null +++ b/desegnoj/layouts/partials/head.html @@ -0,0 +1,6 @@ + + + {{ $style := resources.Get "main.scss" | resources.ToCSS }} + + + diff --git a/desegnoj/layouts/partials/main_menu.html b/desegnoj/layouts/partials/main_menu.html new file mode 100644 index 0000000..9ac9f3b --- /dev/null +++ b/desegnoj/layouts/partials/main_menu.html @@ -0,0 +1,7 @@ + + diff --git a/desegnoj/layouts/shortcodes/character.html b/desegnoj/layouts/shortcodes/character.html new file mode 100644 index 0000000..e69de29 diff --git a/desegnoj/layouts/shortcodes/skill.html b/desegnoj/layouts/shortcodes/skill.html new file mode 100644 index 0000000..94d3624 --- /dev/null +++ b/desegnoj/layouts/shortcodes/skill.html @@ -0,0 +1,4 @@ + + {{ .Get "name" }} + {{ .Get "level" }} + diff --git a/desegnoj/layouts/shortcodes/stat.html b/desegnoj/layouts/shortcodes/stat.html new file mode 100644 index 0000000..53b0228 --- /dev/null +++ b/desegnoj/layouts/shortcodes/stat.html @@ -0,0 +1,7 @@ +
+

{{ .Get "name" }}

+
+
{{ .Get "value" }} / {{ .Get "value" }}
+
{{ .Get "edge" }}
+
+
diff --git a/shell.nix b/shell.nix index d87bf67..0c179c3 100644 --- a/shell.nix +++ b/shell.nix @@ -13,6 +13,7 @@ in pkgs.mkShell { rust unstable.rust-analyzer pkgs.nodejs + pkgs.hugo ]; shellHook = ''