Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Maleclypse committed Dec 8, 2021
2 parents d547cd3 + db37efe commit 1fbadeb
Show file tree
Hide file tree
Showing 111 changed files with 52,578 additions and 33,780 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,32 @@ on:
# https://apt.llvm.org/

jobs:
skip-duplicates:
skip-duplicates-code:
continue-on-error: true
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
should_skip_code: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
cancel_others: 'true'
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "object_creator/**", "tools/**", "utilities/**", "data/**", "lang/**"]'
skip-duplicates-mods:
skip-duplicates-data:
continue-on-error: true
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip_mods: ${{ steps.skip_check.outputs.should_skip }}
should_skip_data: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
cancel_others: 'true'
paths_ignore: '["android/**", "build-data/osx/**", "doc/**", "doxygen_doc/**", "lgtm/**", "msvc-**", "object_creator/**", "tools/**", "utilities/**"]'
varied_builds:
needs: skip-duplicates
needs: [ skip-duplicates-code, skip-duplicates-data ]
strategy:
max-parallel: 1
matrix:
Expand All @@ -71,6 +71,7 @@ jobs:
lto: 1
native: linux64
archive-success: basic-build
dont_skip_data_only_changes: 1
title: Basic Build and Test (GCC 9, Curses, LTO)

- compiler: clang++-12
Expand All @@ -83,6 +84,7 @@ jobs:
native: linux64
sanitize: address
mods: --mods=magiclysm
dont_skip_data_only_changes: 1
title: Clang 12, Ubuntu, Tiles, ASan

- compiler: g++-11
Expand Down Expand Up @@ -163,7 +165,7 @@ jobs:
LTO: ${{ matrix.lto }}
RELEASE: ${{ matrix.release }}
ARCHIVE_SUCCESS: ${{ matrix.archive-success }}
SKIP: ${{ needs.skip-duplicates.outputs.should_skip == 'true' || ( matrix.mods != 0 && needs.skip-duplicates-mods.outputs.should_skip_mods == 'true' ) }}
SKIP: ${{ ( matrix.dont_skip_data_only_changes == 0 && needs.skip-duplicates.outputs.should_skip_code == 'true' ) || ( matrix.dont_skip_data_only_changes != 0 && needs.skip-duplicates-mods.outputs.should_skip_data == 'true' ) }}
steps:
- name: checkout repository
if: ${{ env.SKIP == 'false' }}
Expand Down
5 changes: 4 additions & 1 deletion android/app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<string name="showHelp">Zeige Hilfe</string>
<string name="crashAlert">Das Spiel wurde beim letzten Mal nicht richtig beendet</string>
<string name="crashMessage">Der Crash Report der sich in ./config/crash.log befindet könnten den Entwicklern helfen Programmfehler zu beheben.</string>
</resources>
<string name="yes">Ja</string>
<string name="no">Nein</string>
<string name="cancel">Abbrechen</string>
</resources>
5 changes: 4 additions & 1 deletion android/app/src/main/res/values-es-rAR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<string name="showHelp">Mostrar ayuda</string>
<string name="crashAlert">El juego no fue cerrado correctamente la última vez</string>
<string name="crashMessage">El registro del error localizado en ./config/crash.log puede ayudar a los desarrolladores a solucionar errores.</string>
</resources>
<string name="yes">Sí</string>
<string name="no">No</string>
<string name="cancel">Cancelar</string>
</resources>
5 changes: 4 additions & 1 deletion android/app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<string name="showHelp">Mostrar ayuda</string>
<string name="crashAlert">El juego no finalizó correctamente la última vez</string>
<string name="crashMessage">El informe de fallos que se encuentra en ./config/crash.log puede ayudar a los desarrolladores a solucionar los errores del programa. </string>
</resources>
<string name="yes">Sí</string>
<string name="no">No</string>
<string name="cancel">Cancelar</string>
</resources>
11 changes: 11 additions & 0 deletions android/app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Installation des données de jeu ...</string>
<string name="softwareRendering">Rendu logiciel</string>
<string name="forceFullscreen">Forcer plein écran</string>
<string name="settings">Réglages</string>
<string name="startGame">Démarrer le jeu</string>
<string name="yes">Oui</string>
<string name="no">Non</string>
<string name="cancel">Annuler</string>
</resources>
14 changes: 14 additions & 0 deletions android/app/src/main/res/values-in/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">memasang data game</string>
<string name="upgradeTitle">mengupgrade data game</string>
<string name="helpTitle">Bantuan &amp; Kontrol</string>
<string name="helpMessage">\"Geser\" untuk pergerakan arah (tahan untuk joystik virtual). \"Tekan\" untuk konfirmasi pilihan di menu atau Jeda satu giliran dalam game (tahan untuk Jeda beberapa giliran dalam game). \"Dua Kali Tap\" untuk batal atau ke menu (seperti tombol Escape). \"Cubit\" untuk perbesar/perkecil tampilan (dalam game). Tombol \"Kembali\" di hp untuk menampilkan keyboard virtual (tahan untuk menampilkan jalan pintas keyboard\").</string>
<string name="softwareRendering">Render Perangkat Lunak</string>
<string name="forceFullscreen">Paksa Layar Penuh</string>
<string name="settings">Pengaturan</string>
<string name="startGame">Mulai game</string>
<string name="showHelp">Tampilkan Bantuan</string>
<string name="crashAlert">Game tidak keluar dengan benar</string>
<string name="crashMessage">Laporan Crash berada di ./config/crash.log mungkin dapat membantu pengembang memecahkan masalah pada program.</string>
</resources>
5 changes: 4 additions & 1 deletion android/app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<string name="showHelp">Mostra aiuto</string>
<string name="crashAlert">Il gioco non è stato chiuso correttamente l\'ultima volta</string>
<string name="crashMessage">Il crash report localizzato in ./config/crash.log può aiutare gli sviluppatori a comprendere gli errori di programmazione.</string>
</resources>
<string name="yes">Sì</string>
<string name="no">No</string>
<string name="cancel">Annulla</string>
</resources>
7 changes: 5 additions & 2 deletions android/app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<resources>
<string name="installTitle">ゲームデータをインストール中...</string>
<string name="upgradeTitle">ゲームデータをアップグレード中...</string>
<string name="helpTitle">ヘルプ &amp; 操作</string>
<string name="helpTitle">ヘルプ&amp;操作</string>
<string name="helpMessage">特定方向にスワイプ(仮想ジョイスティックの場合は長押し)で移動。タップで選択項目の決定と1ターンその場で静止(長押しで数ターン静止)。ダブルタップでキャンセルとメニューに戻る(Escキー機能)。ピンチでズームイン/アウト(ゲーム内画面)。戻るボタンで仮想キーボード切替(長押しでキーボードショートカット切替)。</string>
<string name="softwareRendering">ソフトウェアレンダリング</string>
<string name="forceFullscreen">強制フルスクリーン</string>
Expand All @@ -12,4 +12,7 @@
<string name="showHelp">ヘルプ表示</string>
<string name="crashAlert">前回のプレイ時にゲームが正常に終了しませんでした</string>
<string name="crashMessage">configフォルダ内のcrash.logに記録されるクラッシュレポートは、開発者がプログラムエラーを解決する役に立つ場合があります。</string>
</resources>
<string name="yes">Yes</string>
<string name="no">No</string>
<string name="cancel">取消</string>
</resources>
11 changes: 9 additions & 2 deletions android/app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
<string name="installTitle">Instalowanie danych gry...</string>
<string name="upgradeTitle">Aktualizowanie danych gry...</string>
<string name="helpTitle">Pomoc &amp; sterowanie</string>
<string name="helpMessage">"Przesuń" by sterować w boku (przytrzymaj do wirtualnego joysticka). "Stuknij" by potwierdzić wybór w menu albo spauzować jedną turę w grze (trzymaj by spauzować kilka tur w grze). "Stuknij dwa razy" by anulować albo wrócić do menu (działa jak przycisk Escape). "Szczypnij" by zbliżyć/oddalić (w grze). Użyj fizycznego przycisku "wstecz" by włączyć wirtualną klawiaturę (przytrzymaj by przełączyć skróty klawiszowe).</string>
<string name="helpMessage">Przesuń, by sterować w boku (przytrzymaj do wirtualnego joysticka). Stuknij, by potwierdzić wybór w menu albo spauzować jedną turę w grze (trzymaj, by spauzować kilka tur w grze). Stuknij dwa razy, by anulować albo wrócić do menu (działa jak klawisz Escape). Szczypnij, by zbliżyć/oddalić (w grze). Użyj fizycznego przycisku wstecz, by włączyć wirtualną klawiaturę (przytrzymaj, by przełączyć skróty klawiszowe).</string>
<string name="softwareRendering">Renderowanie programowe</string>
<string name="forceFullscreen">Wymuś pełny ekran</string>
<string name="trapBackButton">Zablokuj przycisk wstecz</string>
<string name="nativeAndroidUI">Natywne menu interfejsu Androida</string>
<string name="settings">Ustawienia</string>
<string name="startGame">Zacznij grę</string>
<string name="showHelp">Pokaż pomoc</string>
<string name="crashAlert">Gra nie zamknęła się poprawnie ostatnim razem</string>
<string name="crashMessage">Raport crashu zlokalizowany w ./config/crash.log może pomóc twórcom naprawić błędy programu.</string>
<string name="crashMessage">Raport awarii zlokalizowany w ./config/crash.log może pomóc twórcom naprawić błędy programu.</string>
<string name="yes">Tak</string>
<string name="no">Nie</string>
<string name="ok">OK</string>
<string name="cancel">Anuluj</string>
<string name="unavailable">Niedostępne</string>
<string name="unavailableOption">Wybrana opcja nie jest dostępna.</string>
</resources>
5 changes: 4 additions & 1 deletion android/app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
<string name="showHelp">Mostrar ajuda</string>
<string name="crashAlert">O jogo não foi encerrado corretamente na última vez</string>
<string name="crashMessage">O relatório de erro localizado em ./config/crash.log pode ajudar desenvolvedores a solucionarem erros no programa.</string>
</resources>
<string name="yes">Sim</string>
<string name="no">Não</string>
<string name="cancel">Cancelar</string>
</resources>
7 changes: 7 additions & 0 deletions android/app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@
<string name="softwareRendering">Программный рендеринг</string>
<string name="forceFullscreen">Полный экран</string>
<string name="trapBackButton">Перехват функций кнопки «Назад»</string>
<string name="nativeAndroidUI">Встроенные меню интерфейса Android</string>
<string name="settings">Настройки</string>
<string name="startGame">Начать игру</string>
<string name="showHelp">Показать подсказки</string>
<string name="crashAlert">В прошлый раз игра завершилась некорректно</string>
<string name="crashMessage">Отчёт об остановке приложения находится в папке ./config/crash.log. Он может помочь разработчикам устранить ошибки в игре.</string>
<string name="yes">Да</string>
<string name="no">Нет</string>
<string name="ok">ОК</string>
<string name="cancel">Отмена</string>
<string name="unavailable">Недоступно</string>
<string name="unavailableOption">Выбранный вами вариант недоступен.</string>
</resources>
2 changes: 1 addition & 1 deletion android/app/src/main/res/values-tr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
<string name="showHelp">Yardımı göster</string>
<string name="crashAlert">Oyun geçen sefer düzgün şekilde kapatılmadı</string>
<string name="crashMessage">\"./config/crash.log\" \'taki çökme raporu geliştiricilerin program hatalarını gidermelerine yardımcı olabilir.</string>
</resources>
</resources>
15 changes: 15 additions & 0 deletions android/app/src/main/res/values-uk-rUA/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="installTitle">Дані гри встановлюються...</string>
<string name="upgradeTitle">Дані гри оновлюються...</string>
<string name="helpTitle">Справка та Управління</string>
<string name="helpMessage">\"Проведіть пальцем\" для руху в обраному напрямку (затисніть щоб з\'явився джойстик). \"Доторкніться\" для того щоб підтвердити обраний варіант в меню або пропустити один хід в грі (затисніть щоб пропустити декілька ходів). \"Доторкніться двічі\" щоб скасувати або повернутися назад в меню (працює як клавіша Escape). \"Щипніть\" щоб збільшити/зменшити масштаб (в грі). Натисніть кнопку \"Назад\" на пристрої щоб увімкнути віртуальну клавіатуру (затисніть щоб увімкнути гарячі клавіші).</string>
<string name="softwareRendering">Візуалізація за допомогою програмного забезпечення</string>
<string name="forceFullscreen">Примусовий повноекранний режим</string>
<string name="trapBackButton">Обробляти натискання кнопки назад</string>
<string name="settings">Налаштування</string>
<string name="startGame">Почати гру</string>
<string name="showHelp">Показати підказки</string>
<string name="crashAlert">Останнього разу гра закінчила свою роботу некоректно</string>
<string name="crashMessage">Звіт про помилку розташований за шляхом ./config/crash.log може допомогти розробникам виправити помилки в програмі</string>
</resources>
11 changes: 10 additions & 1 deletion android/app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@
(隐藏通知栏与虚拟键)</string>
<string name="trapBackButton">限制返回
(返回按键不会退出游戏)</string>
<string name="nativeAndroidUI">启用原生安卓界面菜单
(替换游戏部分选项为此类型弹窗效果)</string>
<string name="settings">预设
(首次启动建议进入 设置-图形 调整终端宽高比)</string>
(首次游戏建议进入 设置-图形 调整终端宽高比)
(该设置仅在[首次启动]与[覆盖更新]时可调整!)</string>
<string name="startGame">开始游戏</string>
<string name="showHelp">查看帮助</string>
<string name="crashAlert">检测到上次游戏未正常退出</string>
<string name="crashMessage">崩溃日志已保存至安装目录 ./config/debug.log,上传至官方论坛协助开发者解决游戏异常提供帮助。</string>
<string name="yes">是</string>
<string name="no">否</string>
<string name="ok">确定</string>
<string name="cancel">取消</string>
<string name="unavailable">不可选</string>
<string name="unavailableOption">该选项已被禁用。</string>
</resources>
15 changes: 8 additions & 7 deletions android/app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
<resources>
<string name="installTitle">正在安裝遊戲資料...</string>
<string name="upgradeTitle">正在更新遊戲資料...</string>
<string name="helpTitle">幫助與控制</string>
<string name="helpMessage">滑動屏幕移動遊戲角色或菜單選項。點擊屏幕確認選擇或在遊戲中休息一回合。雙擊屏幕取消菜單或回退。雙指縮放畫面遠近。點擊系統回退鍵打開虛擬鍵盤。</string>
<string name="softwareRendering">軟件渲染</string>
<string name="forceFullscreen">強制全屏</string>
<string name="trapBackButton">捕捉返回鍵</string>
<string name="softwareRendering">軟體算圖</string>
<string name="forceFullscreen">強制全螢幕</string>
<string name="trapBackButton">取消返回鍵</string>
<string name="settings">設定</string>
<string name="startGame">開始遊戲</string>
<string name="showHelp">顯示幫助</string>
</resources>
<string name="showHelp">顯示說明</string>
<string name="yes">是</string>
<string name="no">否</string>
<string name="cancel">取消</string>
</resources>
3 changes: 2 additions & 1 deletion data/json/hobbies.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@
"id": "redcross",
"description": "You've got training and some experience in dealing with urgent injuries. In the absence of any medical professionals, that'll have to do.",
"points": 1,
"skills": [ { "level": 2, "name": "firstaid" } ]
"skills": [ { "level": 2, "name": "firstaid" } ],
"proficiencies": [ "prof_wound_care" ]
},
{
"type": "profession",
Expand Down
8 changes: 8 additions & 0 deletions data/json/items/book/firstaid.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"required_level": 5,
"max_level": 8,
"intelligence": 10,
"proficiencies": [ { "proficiency": "prof_wound_care_expert", "time_factor": 0.75, "fail_factor": 0.5 } ],
"time": "55 m",
"fun": -1
},
Expand All @@ -35,6 +36,7 @@
"skill": "firstaid",
"max_level": 1,
"intelligence": 6,
"proficiencies": [ { "proficiency": "prof_wound_care", "time_factor": 0.75, "fail_factor": 0.5 } ],
"time": "8 m",
"fun": 1
},
Expand All @@ -54,6 +56,10 @@
"skill": "firstaid",
"max_level": 3,
"intelligence": 8,
"proficiencies": [
{ "proficiency": "prof_wound_care", "time_factor": 0.75, "fail_factor": 0.5 },
{ "proficiency": "prof_wound_care_expert", "time_factor": 0.75, "fail_factor": 0.5 }
],
"time": "20 m"
},
{
Expand All @@ -71,6 +77,7 @@
"skill": "firstaid",
"max_level": 2,
"intelligence": 6,
"proficiencies": [ { "proficiency": "prof_wound_care", "time_factor": 0.75, "fail_factor": 0.5 } ],
"time": "20 m"
},
{
Expand All @@ -91,6 +98,7 @@
"required_level": 3,
"max_level": 6,
"intelligence": 8,
"proficiencies": [ { "proficiency": "prof_wound_care_expert", "time_factor": 0.75, "fail_factor": 0.5 } ],
"time": "30 m"
},
{
Expand Down
Loading

0 comments on commit 1fbadeb

Please sign in to comment.