feat: 💬 pass calculation method down to template

This commit is contained in:
Sebin Nyshkim 2025-07-04 17:23:24 +02:00
parent 5bccb9f60e
commit a28d070a30
2 changed files with 4 additions and 2 deletions

View file

@ -25,7 +25,7 @@ Sebin is the offspring of a human and a dragon. Like a human, he is a bipedal pl
Sebin's finger and toe tips are equipped with sharp black claws. He equally uses them as tools and weapons.
A ridge of brown thorns runs from his head over his back to the tip of his tail. However, they are too blunt to cause injury. His tail is about 1.04 meters (3'5") in length.
A ridge of brown thorns runs from his head over his back to the tip of his tail. However, they are too blunt to cause injury. His tail is about 1.04 meters (<span @text="$data.toImperial(104)" webc:nokeep></span>) in length.
Sebin has a muscular build that he keeps in shape with regular exercise.

View file

@ -6,6 +6,7 @@ import {
getWeight,
getWingspan,
toInch,
toImperial,
toFahrenheit
} from '../includes/util.js';
@ -168,5 +169,6 @@ export default {
kinks,
description,
getTraits,
toFahrenheit
toFahrenheit,
toImperial
};