From 98dc9c47493c2c088eb1dfde0412e6e96c386935 Mon Sep 17 00:00:00 2001 From: bloodynine Date: Mon, 8 Jul 2024 13:19:08 -0500 Subject: [PATCH] Added Sundered Isles Settlement Entity (#387) Co-authored-by: Kerk Wilson --- src/entity/specs.ts | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/src/entity/specs.ts b/src/entity/specs.ts index 3d8957f8..ca30ffcf 100644 --- a/src/entity/specs.ts +++ b/src/entity/specs.ts @@ -399,4 +399,61 @@ export const ENTITIES: Record> = { }, }, }, + siSettlement: { + label: "Settlement", + collectionId: "oracle_collection:sundered_isles/settlement", + nameGen: (ent) => `${ent.name[0].simpleResult}`, + spec: { + region: { + id: "oracle_rollable:sundered_isles_supp/core/region", + firstLook: true, + definesAttribute: { + order: 1, + mechanism: AttributeMechanism.Snakecase, + }, + }, + location: { + id: "oracle_rollable:sundered_isles/settlement/location", + firstLook: true, + definesAttribute: { + order: 2, + mechanism: AttributeMechanism.Snakecase, + }, + }, + size: { + name: "Size", + id: "oracle_rollable:sundered_isles/settlement/size/{{region}}", + firstLook: true, + }, + name: { + firstLook: true, + id: "oracle_rollable:sundered_isles/settlement/name", + }, + aesthetics: { + id: "oracle_rollable:sundered_isles/settlement/aesthetics", + firstLook: true, + }, + first_look: { + id: "oracle_rollable:sundered_isles/settlement/first_look", + firstLook: true, + }, + controlling_faction: { + name: "Controlling faction", + id: "oracle_rollable:sundered_isles/settlement/identity/controlling_faction/{{region}}", + }, + disposition: { + id: "oracle_rollable:sundered_isles/settlement/identity/disposition", + }, + authority: { + id: "oracle_rollable:sundered_isles/settlement/identity/authority", + }, + focus: { + name: "Focus", + id: "oracle_rollable:sundered_isles/settlement/identity/focus/{{location}}", + }, + details: { + id: "oracle_rollable:sundered_isles/settlement/details", + }, + }, + }, };