feat: ricardo portrait + La Muerte dialogue appearances at act finales

- Portraits/ricardo.png (256x256 flat crown style) wired into
  SpeakerDatabase.asset and SpeakerDatabaseSetup entries; no speaker
  is missing art now
- La Muerte speaks in campaign for the first time: one chained node in
  g8/g16/g24 outros (act finales) plus g30 intro/outro bookends, closing
  the game giving the player agency to leave the empty throne
- PortraitRegistry null-fill fix from previous commit makes her portrait
  render automatically in these nodes

Verified in Unity 6000.3.13f1 batch mode: clean import, 200/200 EditMode tests
This commit is contained in:
2026-08-24 20:24:18 -03:00
parent 088d70db6f
commit 0f0b3ddd82
9 changed files with 248 additions and 53 deletions
+2 -3
View File
@@ -13,8 +13,7 @@ namespace AjedrezPurgatorio.EditorTools
/// Unity -batchmode -projectPath . -executeMethod
/// AjedrezPurgatorio.EditorTools.SpeakerDatabaseSetup.PopulateAndAssign
///
/// Nota: 'ricardo' no tiene PNG de retrato todavía; se registra con
/// portrait nulo para evitar warnings y facilitar añadir arte después.
/// Todos los speakers registrados tienen retrato en Resources/Portraits.
/// </summary>
public static class SpeakerDatabaseSetup
{
@@ -25,7 +24,7 @@ namespace AjedrezPurgatorio.EditorTools
{
("narrator", "narrator"),
("muerte", "muerte"),
("ricardo", null),
("ricardo", "ricardo"),
("alfil", "alfil"),
("caballo", "caballo"),
("peon", "peon"),
@@ -1,13 +1,21 @@
{
"id": "g16_outro",
"nodes": [
{
"id": "g16_outro_01",
"text": "(Un sonido de cerradura rompiéndose.) Recuperas la Llave de Oro manchada.",
"speaker": "narrator",
"conditions": null,
"next": null,
"portrait": null
}
]
}
"id": "g16_outro",
"nodes": [
{
"id": "g16_outro_01",
"speaker": "narrator",
"portrait": null,
"text": "(Un sonido de cerradura rompiéndose.) Recuperas la Llave de Oro manchada.",
"next": "g16_outro_02",
"conditions": null
},
{
"id": "g16_outro_02",
"speaker": "muerte",
"portrait": null,
"text": "Guarda bien esa llave. No abre ninguna puerta: abre la herida que llevas cerrada con ira desde aquel invierno.",
"next": null,
"conditions": null
}
]
}
@@ -1,13 +1,21 @@
{
"id": "g24_outro",
"nodes": [
{
"id": "g24_outro_01",
"text": "(Un reloj se rompe.) Recuperas el Reloj de Bolsillo roto.",
"speaker": "narrator",
"conditions": null,
"next": null,
"portrait": null
}
]
}
"id": "g24_outro",
"nodes": [
{
"id": "g24_outro_01",
"speaker": "narrator",
"portrait": null,
"text": "(Un reloj se rompe.) Recuperas el Reloj de Bolsillo roto.",
"next": "g24_outro_02",
"conditions": null
},
{
"id": "g24_outro_02",
"speaker": "muerte",
"portrait": null,
"text": "¿Lo sientes? Un reloj roto sigue marcando tu hora. Aquí el tiempo no corre: te espera sentado.",
"next": null,
"conditions": null
}
]
}
@@ -1,13 +1,21 @@
{
"id": "g30_intro",
"nodes": [
{
"id": "g30_intro_01",
"text": "(Se quita la capucha y muestra tu rostro.) Yo no te traje aquí. Tú me construiste con cada decisión fría que tomaste. Yo soy tú... y tú eres el tablero.",
"speaker": "coleccionista",
"conditions": null,
"next": null,
"portrait": null
}
]
}
"id": "g30_intro",
"nodes": [
{
"id": "g30_intro_01",
"speaker": "coleccionista",
"portrait": null,
"text": "(Se quita la capucha y muestra tu rostro.) Yo no te traje aquí. Tú me construiste con cada decisión fría que tomaste. Yo soy tú... y tú eres el tablero.",
"next": "g30_intro_02",
"conditions": null
},
{
"id": "g30_intro_02",
"speaker": "muerte",
"portrait": null,
"text": "Dos rostros para un mismo duelo. Las reglas siguen siendo mías: quien venza al espejo decidirá quién descansa.",
"next": null,
"conditions": null
}
]
}
@@ -1,13 +1,21 @@
{
"id": "g30_outro",
"nodes": [
{
"id": "g30_outro_01",
"text": "Has matado a tu culpa, pero ahora el trono está vacío. Siéntate. El próximo jugador llegará pronto... y tú serás su Coleccionista.",
"speaker": "coleccionista",
"conditions": null,
"next": null,
"portrait": null
}
]
}
"id": "g30_outro",
"nodes": [
{
"id": "g30_outro_01",
"speaker": "coleccionista",
"portrait": null,
"text": "Has matado a tu culpa, pero ahora el trono está vacío. Siéntate. El próximo jugador llegará pronto... y tú serás su Coleccionista.",
"next": "g30_outro_02",
"conditions": null
},
{
"id": "g30_outro_02",
"speaker": "muerte",
"portrait": null,
"text": "...O levántate y cruza. Un trono vacío también es una puerta, y esta vez nadie te obliga a quedarte.",
"next": null,
"conditions": null
}
]
}
@@ -14,7 +14,7 @@
"speaker": "voz_nino",
"portrait": null,
"text": "Yo no lo hice, papá, fue él...",
"next": "g8_outro_03",
"next": "g8_outro_04",
"conditions": null
},
{
@@ -24,6 +24,14 @@
"text": "Recuperas la Fotografía Quemada. En el reverso, una fecha: el invierno del colapso.",
"next": null,
"conditions": null
},
{
"id": "g8_outro_04",
"speaker": "muerte",
"portrait": null,
"text": "Niega. Todos niegan al principio. La madera mojada aún recuerda el incendio... y yo recuerdo cada vez que apartaste la mirada.",
"next": "g8_outro_03",
"conditions": null
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

@@ -0,0 +1,156 @@
fileFormatVersion: 2
guid: e5a9c7d2b3f84a6190cd1e2f4b6a8c30
TextureImporter:
internalIDToNameTable:
- first:
213: 8597421368024753106
second: ricardo_0
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: ricardo_0
rect:
serializedVersion: 2
x: 0
y: 0
width: 256
height: 256
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
customData:
outline: []
physicsShape: []
tessellationDetail: -1
bones: []
spriteID: a7e3d1f95c2b4806901de3a5b7c9f214
internalID: 8597421368024753106
vertices: []
indices:
edges: []
weights: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable:
ricardo_0: 8597421368024753106
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -18,7 +18,7 @@ MonoBehaviour:
- speakerName: muerte
portrait: {fileID: 7419852336102758402, guid: c1e6e27e3c8e40129f502081e37ff22d, type: 3}
- speakerName: ricardo
portrait: {fileID: 0}
portrait: {fileID: 8597421368024753106, guid: e5a9c7d2b3f84a6190cd1e2f4b6a8c30, type: 3}
- speakerName: alfil
portrait: {fileID: 1676898138316344188, guid: 4c1965114e4cdad458cc690285ff2074, type: 3}
- speakerName: caballo