07th-mod / 07th-mod/higurashi-assembly

Load tips title text and other strings from JSON file instead of being hardcoded

Abierto Apto para principiantes
#79 2 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
C#
Estrellas
12
Forks
12
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Currently, the tips menu text is hardcoded:

![2022-07-31_00_32_16-Higurashi_When_They_Cry_-_Ch 8_Matsuribayashi](https://user-images.githubusercontent.com/1249449/183054616-dc222148-db38-4720-9133-f74d92d98c48.png)

See this line of code: https://github.com/07th-mod/higurashi-assembly/blob/matsuri-mod/Assets.Scripts.UI.Tips/TipsManager.cs#L69

It would be better to load it from the tips.json file (if the field exists, to keep compatibility with older tips.json files)

I need to make some other changes to the DLL - this fix can be bundled with it.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

The issue points to TipsManager.cs line 69 where the tips menu text is hardcoded. Look at the tips.json file structure to understand where to add the new field. Modify TipsManager.cs to load the title text from tips.json if the field exists, maintaining backward compatibility. Test by running the game and checking the tips menu displays correctly.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
localization
Tipo de issue
Refactorización
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.