Knot tags causing empty line before anything which isn't story content
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Riproduci il problema con il nodo Approach fornito in Ink e confronta l’output attuale con l’ordine previsto mostrato nel report. Inizia tracciando come vengono rappresentati i tag del nodo, le righe non appartenenti alla storia e il contenuto della storia prima della generazione dell’anteprima/output; il lavoro è completato quando la riga vuota iniziale è assente senza modificare la spaziatura rimanente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When using Knot tags, an empty line is added at the start of the knot when the first line is intended to be anything which isn't story content (eg. conditionals, brackets, variables).
This is using godot-ink, but based on how the structure changes in the preview when adding text before the non story content I'm not sure it's a bug with godot-ink.
Using the following code:
=== Approach ===
# blacksmith
# neutral
# 40
~ temp randomGreeting = RANDOM(1,2)
{randomGreeting == 1 and not greeted: Hail. Let us keep this brief. }
{randomGreeting == 2 and not greeted: What work does thou require? }
~ greeted = true
+ [What do you do?]
-> Tutorial
+ [I have work for you]
-> Work
-> END
Results in:
# blacksmith, neutral, 40
What work does thou require?
[What do you do?]
[I have work for you]
Instead of what I guessing should be:
What work does thou require?
# blacksmith, neutral, 40
[What do you do?]
[I have work for you]
I suspect this isn't intentional since when adding text between the tags and the variable, this changes to:
Added text line
# blacksmith, neutral, 40
What work does thou require?
[What do you do?]
[I have work for you]
- Lingua principale
- C#
- Stelle
- 5k
- Fork
- 550
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di inkle/ink
-
inklecate stack overflow - Knot and variable with same nameForse già presa @voidsipp l’ha presa 18 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
TunnelsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Fallback choices become visible after reloading the story stateForse già presa @tvararu l’ha presa 382 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Issue simili
-
type:task ux
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
elsa-workflows/elsa-foundation#5253 ·
I maintainer di solito rispondono entro 1 giorno