Add CreateAdminNPC no-op comparison fixture
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"action": "CreateAdminNPC",
|
||||||
|
"environment": {
|
||||||
|
"year": 193,
|
||||||
|
"month": 12,
|
||||||
|
"startyear": 190
|
||||||
|
},
|
||||||
|
"observe": {}
|
||||||
|
}
|
||||||
@@ -184,6 +184,7 @@ function comparisonMonthlyEventTraceMain(): void
|
|||||||
'UpdateNationLevel',
|
'UpdateNationLevel',
|
||||||
'ProcessSemiAnnual',
|
'ProcessSemiAnnual',
|
||||||
'ProcessWarIncome',
|
'ProcessWarIncome',
|
||||||
|
'CreateAdminNPC',
|
||||||
];
|
];
|
||||||
if (!in_array($actionName, $supportedActions, true)) {
|
if (!in_array($actionName, $supportedActions, true)) {
|
||||||
throw new \InvalidArgumentException('unsupported monthly action');
|
throw new \InvalidArgumentException('unsupported monthly action');
|
||||||
|
|||||||
Reference in New Issue
Block a user