diff --git a/data/schema/species.xsd b/data/schema/species.xsd
index a8ad8f5..18afdfc 100644
--- a/data/schema/species.xsd
+++ b/data/schema/species.xsd
@@ -3,19 +3,8 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
@@ -33,9 +22,10 @@
-
+
+
diff --git a/data/species/diona.xml b/data/species/diona.xml
index c592985..fb86329 100644
--- a/data/species/diona.xml
+++ b/data/species/diona.xml
@@ -1,5 +1,5 @@
-
+A mysterious plant-like species hailing from the depths of space. Dionae are comprised of cat-sized caterpillar-like creatures called nymphs, which form gestalt consciousnesses when two or more combine. Almost every aspect of the species is a mystery: their origins, behaviour, and functions. They are capable of great intellectual and biological feats, surviving primarily off the electromagnetic spectrum and biological matter.
diff --git a/data/species/human.xml b/data/species/human.xml
index 482cc3b..ef18590 100644
--- a/data/species/human.xml
+++ b/data/species/human.xml
@@ -1,8 +1,5 @@
-
-
-
-
+Humans originated on Earth.
diff --git a/data/species/ipc.xml b/data/species/ipc.xml
index 77afd8b..e5f254d 100644
--- a/data/species/ipc.xml
+++ b/data/species/ipc.xml
@@ -1,8 +1,5 @@
-
-
-
-
+IPCs are synthetic chassis housing a positronic processing core. From skeletal baselines to humanlike shells, they serve in a variety of roles across the Orion Spur. Their legal status varies wildly between nations, ranging from full citizenship to being classified as property.
diff --git a/data/species/skrell.xml b/data/species/skrell.xml
index bf63dbf..8726104 100644
--- a/data/species/skrell.xml
+++ b/data/species/skrell.xml
@@ -1,5 +1,5 @@
-
+Skrell are a species of amphibious bipeds, originating from the planet of Qerrbalak. With longer lifespans than most sophonts, combined with their earlier development of organized societies, skrell are the oldest spacefaring species in the Orion Spur.
diff --git a/data/species/tajara.xml b/data/species/tajara.xml
index 304109b..39905fa 100644
--- a/data/species/tajara.xml
+++ b/data/species/tajara.xml
@@ -1,8 +1,5 @@
-
-
-
-
+The Tajara are a race of humanoids that possess markedly felinoid traits. Tajaran history and society is deeply entrenched in the conflict between its caste system and ruling governments.
diff --git a/data/species/unathi.xml b/data/species/unathi.xml
index 3f52554..cdf998c 100644
--- a/data/species/unathi.xml
+++ b/data/species/unathi.xml
@@ -1,5 +1,5 @@
-
+A heavily reptilian species, Unathi hail from the Uuosa-Eso system. A relatively recent addition to the galactic stage, they suffered immense turmoil after the cultural and economic disruption following first contact with humanity. With their homeworld of Moghes suffering catastrophic climate change from a nuclear war in the recent past, the Izweski Hegemony that rules the majority of the species struggles to find its place in the galaxy. They hold ideals of honesty, virtue, martial combat, and spirituality above all else.
diff --git a/data/species/vaurca.xml b/data/species/vaurca.xml
index da2776f..8b526b8 100644
--- a/data/species/vaurca.xml
+++ b/data/species/vaurca.xml
@@ -1,8 +1,5 @@
-
-
-
-
+The Vaurca are an insectoid species with a complex caste-based society organised into Hives, each led by a Queen. They communicate primarily through a localised expression of their hivemind. Having arrived in the Orion Spur from deep space, they are one of the newest species to join the galactic stage, and their integration into existing societies remains an ongoing process.
diff --git a/src/lib/components/RecordCard.svelte b/src/lib/components/RecordCard.svelte
index 767287b..9c52302 100644
--- a/src/lib/components/RecordCard.svelte
+++ b/src/lib/components/RecordCard.svelte
@@ -5,11 +5,10 @@
import DynamicField from './fields/DynamicField.svelte';
import { slugify } from '$lib/utils/slugify';
- let { record, data, onFieldChange, onSave }: {
+ let { record, data, onFieldChange }: {
record: RecordDef;
data: Record;
onFieldChange: (key: string, value: any) => void;
- onSave: () => void;
} = $props();
let expanded = $state(false);
@@ -77,7 +76,6 @@
{field}
value={data[key]}
{data}
- {onSave}
onChange={(v) => onFieldChange(key, v)}
/>
{#if hasError}
diff --git a/src/lib/components/SchemaForm.svelte b/src/lib/components/SchemaForm.svelte
index 30f06c0..9654bd9 100644
--- a/src/lib/components/SchemaForm.svelte
+++ b/src/lib/components/SchemaForm.svelte
@@ -13,6 +13,7 @@
let dismissed = $state(null);
let showTemplateSwitcher = $state(false);
let showMigrationModal = $state(false);
+
let speciesKeys = $derived(new Set(
character.template.records.flatMap((r) => r.fields)
.filter((f) => f.type === 'species')
@@ -159,7 +160,6 @@
}
roster.scheduleSave(character);
}}
- onSave={() => roster.scheduleSave(character)}
/>
{/each}
diff --git a/src/lib/components/fields/DynamicField.svelte b/src/lib/components/fields/DynamicField.svelte
index 9a29074..3893c85 100644
--- a/src/lib/components/fields/DynamicField.svelte
+++ b/src/lib/components/fields/DynamicField.svelte
@@ -1,9 +1,5 @@
-
- {#if override !== null}
-
- {/if}
-
- {#if field.type === 'name'}
-
- {:else if field.type === 'text'}
-
- {:else if field.type === 'textarea'}
-
- {:else if field.type === 'list'}
-
- {:else if field.type === 'number'}
-
- {:else if field.type === 'select'}
-
- {:else if field.type === 'multi-select'}
-
- {:else if field.type === 'checkbox'}
-
- {:else if field.type === 'date'}
-
- {:else if field.type === 'height'}
-
- {:else if field.type === 'weight'}
-
- {:else if field.type === 'species'}
-
- {:else if field.type === 'subspecies'}
-
- {:else if field.type === 'citizenship'}
-
- {:else if field.type === 'languages'}
-
- {:else if field.type === 'separator'}
-
- {/if}
-
+{#if field.type === 'name'}
+
+{:else if field.type === 'text'}
+
+{:else if field.type === 'textarea'}
+
+{:else if field.type === 'list'}
+
+{:else if field.type === 'number'}
+
+{:else if field.type === 'select'}
+
+{:else if field.type === 'multi-select'}
+
+{:else if field.type === 'checkbox'}
+
+{:else if field.type === 'date'}
+
+{:else if field.type === 'height'}
+
+{:else if field.type === 'weight'}
+
+{:else if field.type === 'species'}
+
+{:else if field.type === 'subspecies'}
+
+{:else if field.type === 'citizenship'}
+
+{:else if field.type === 'languages'}
+
+{:else if field.type === 'separator'}
+
+{/if}
diff --git a/src/lib/components/fields/SubspeciesField.svelte b/src/lib/components/fields/SubspeciesField.svelte
index 6a432ec..d0a36d0 100644
--- a/src/lib/components/fields/SubspeciesField.svelte
+++ b/src/lib/components/fields/SubspeciesField.svelte
@@ -12,6 +12,7 @@
let currentSpecies = $derived(species.find((s) => s.id === data[slugify('Species')]));
let subs = $derived(currentSpecies?.subspecies ?? []);
+ let label = $derived(currentSpecies?.subspeciesLabel ?? field.label);
let selected = $derived(subs.find((s) => s.id === value));
let custom = $state(false);
@@ -32,7 +33,7 @@
{#if subs.length > 0 || isCustom}