mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.3.28
This commit is contained in:
parent
35aaaf1c88
commit
5d0c51f6be
2 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ function editProvinces() {
|
||||||
states[0].diplomacy.push([`Independance declaration`, `${name} declared its independance from ${states[oldState].name}`]);
|
states[0].diplomacy.push([`Independance declaration`, `${name} declared its independance from ${states[oldState].name}`]);
|
||||||
|
|
||||||
// create new state
|
// create new state
|
||||||
states.push({i:newState, name, diplomacy, provinces:[], color, expansionism:.5, capital:burg, type:"Generic", center, culture});
|
states.push({i:newState, name, diplomacy, provinces:[], color, expansionism:.5, capital:burg, type:"Generic", center, culture, military:[]});
|
||||||
BurgsAndStates.collectStatistics();
|
BurgsAndStates.collectStatistics();
|
||||||
BurgsAndStates.defineStateForms([newState]);
|
BurgsAndStates.defineStateForms([newState]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -874,7 +874,7 @@ function editStates() {
|
||||||
cells.state[c] = newState;
|
cells.state[c] = newState;
|
||||||
cells.province[c] = 0;
|
cells.province[c] = 0;
|
||||||
});
|
});
|
||||||
states.push({i:newState, name, diplomacy, provinces:[], color, expansionism:.5, capital:burg, type:"Generic", center, culture});
|
states.push({i:newState, name, diplomacy, provinces:[], color, expansionism:.5, capital:burg, type:"Generic", center, culture, military:[]});
|
||||||
BurgsAndStates.collectStatistics();
|
BurgsAndStates.collectStatistics();
|
||||||
BurgsAndStates.defineStateForms([newState]);
|
BurgsAndStates.defineStateForms([newState]);
|
||||||
adjustProvinces([...new Set(affectedProvinces)]);
|
adjustProvinces([...new Set(affectedProvinces)]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue