feat: pass down util function to template

This commit is contained in:
Sebin Nyshkim 2025-06-27 00:18:36 +02:00
parent c9597353a1
commit 504d0cdc1e
2 changed files with 5 additions and 3 deletions

View file

@ -64,7 +64,7 @@ Sebin's wings have a span of about 4.17 meters (13'8"). They function very much
<traits :@traits="$data.getTraits('head')"></traits>
</quick-info>
Despite what one might expect with reptilians, Sebin's pupils are rounded instead of slit-shaped. Yellow spikes running above his eyelids serve as eyebrows. These spikes are also found along his jaw bone. Two pointed, slightly curved, black horns protrude from his head. He usually wears his medium-length, blue hair loose. His long, pointed ears are very flexible, allowing him to hear sounds around him without having to turn his head. They are also used for non-verbal communication, to express emotions through body language. His hearing perceives a wider range of frequencies, making it superior to that of a human. His jaws are equipped with razor-sharp teeth that effortlessly sink into anything he manages to bite, be it nourishment or adversaries. Embedded between them lies his tongue, which is typically pointed for reptilians. Glands in his throat produce a mixture which he uses to spit fire, which can reach up to around 100 °C (212 °F).
Despite what one might expect with reptilians, Sebin's pupils are rounded instead of slit-shaped. Yellow spikes running above his eyelids serve as eyebrows. These spikes are also found along his jaw bone. Two pointed, slightly curved, black horns protrude from his head. He usually wears his medium-length, blue hair loose. His long, pointed ears are very flexible, allowing him to hear sounds around him without having to turn his head. They are also used for non-verbal communication, to express emotions through body language. His hearing perceives a wider range of frequencies, making it superior to that of a human. His jaws are equipped with razor-sharp teeth that effortlessly sink into anything he manages to bite, be it nourishment or adversaries. Embedded between them lies his tongue, which is typically pointed for reptilians. Glands in his throat produce a mixture which he uses to spit fire, which can reach up to around 100 °C (<span @text="$data.toFahrenheit(100)" webc:nokeep></span> °F).
## Upper body

View file

@ -5,7 +5,8 @@ import {
getTailLength,
getWeight,
getWingspan,
toInch
toInch,
toFahrenheit
} from '../includes/util.js';
const firstName = 'Sebin',
@ -166,5 +167,6 @@ export default {
colors,
kinks,
description,
getTraits
getTraits,
toFahrenheit
};