mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
New feature (by rftr): Mini events are a feature where the player can receive short text blurbs, and pick one of two outcomes.
Based on game implementations like Gloomhaven (road/city events) or Battletech (travel events). For more info, see https://thepit.ja-galaxy-forum.com/index.php?t=msg&th=24865&goto=363481&#msg_363481 Requires GameDir >= r2599 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9137 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1600,6 +1600,10 @@ void ProcessTransactionString(STR16 pString, FinanceUnitPtr pFinance)
|
||||
swprintf( pString, pTransactionText[PROMOTE_MILITIA], str );
|
||||
}
|
||||
break;
|
||||
|
||||
case MINI_EVENT:
|
||||
swprintf(pString, L"%s", pTransactionText[MINI_EVENT]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ enum
|
||||
SAM_REPAIR, // Flugente: repair SAM site
|
||||
WORKERS_TRAINED, // Flugente: train workers
|
||||
PROMOTE_MILITIA, // Flugente: drill militia
|
||||
MINI_EVENT, // rftr: mini events
|
||||
TEXT_NUM_FINCANCES
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user