diff options
author | Orwellian-225 <orwellian225@gmail.com> | 2023-03-09 13:21:47 +0100 |
---|---|---|
committer | Orwellian-225 <orwellian225@gmail.com> | 2023-03-09 18:24:38 +0100 |
commit | 003fb13901294d61def0a92bf6f94307f448843e (patch) | |
tree | 24a90a16d87b8814ca249ab2a39696b3b9666e6a /docs | |
parent | ec0584d9fafd96753aed73e7c388da8e2f5b3833 (diff) |
add: Data modelling Documentation - JC and Vanilla
add: ideology documentation
add: goods documentation
add: sim doc format
Diffstat (limited to 'docs')
-rw-r--r-- | docs/simulation/goods.md | 146 | ||||
-rw-r--r-- | docs/simulation/ideologies.md | 60 | ||||
-rw-r--r-- | docs/simulation/sim_doc_format.md | 21 |
3 files changed, 227 insertions, 0 deletions
diff --git a/docs/simulation/goods.md b/docs/simulation/goods.md new file mode 100644 index 0000000..dea3204 --- /dev/null +++ b/docs/simulation/goods.md @@ -0,0 +1,146 @@ +# OpenVic2 Goods + +## Victoria 2 Structure + +## OpenVic2 Structure + +```mermaid +classDiagram + class GoodCategory { + <<enumeration>> + Military + Raw + Consumer + Industrial + } + + class Good { + String id + GoodCategory category + Fixed32/Float32 cost + Colour colour + Boolean isAvailableAtStart + Boolean isTradeable + Boolean isMoney + Boolean hasOverseasPenalty + } + + Good o-- GoodCategory +``` + +## Data + +### Vanilla + +|Identifier|Category|Cost|Colour|Available At Start|Is Tradeable|Is Money|Has Overseas Penalty| +|--|--|--|--|--|--|--|--| +|ammunition|Military|17.50|208 202 127|False|True|False|False| +|small_arms|Military|37.00|189 118 22|False|True|False|False| +|artillary|Military|60.00|145 130 86|False|True|False|False| +|canned_food|Military|16.00|255 39 12|True|True|False|False| +|tanks|Military|98.00|55 41 9|False|True|False|False| +|aeroplanes|Military|110.00|221 213 182|False|True|False|False| +|coal|Raw|2.30|11 29 77|True|True|False|False| +|cotton|Raw|2.00|255 255 255|True|True|False|False| +|dye|Raw|12.00|69 0 182|True|True|False|False| +|iron|Raw|3.50|111 111 111|True|True|False|False| +|oil|Raw|12.00|0 0 0|True|True|False|False| +|precious_metal|Raw|8.00|253 199 110|True|False|True|False| +|rubber|Raw|7.00|123 110 86|True|True|False|False| +|silk|Raw|10.00|125 158 43|True|True|False|False| +|sulpher|Raw|6.00|181 228 102|True|True|False|False| +|timber|Raw|0.90|146 72 17|True|True|False|False| +|tropical_wood|Raw|5.40|213 177 118|True|True|False|False| +|wool|Raw|0.70|234 195 158|True|True|False|False| +|steel|Industry|4.70|95 128 147|False|True|False|False| +|cement|Industry|16.00|185 187 164|True|True|False|False| +|machine_parts|Industry|36.50|177 198 196|False|True|False|False| +|glass|Industry|2.90|201 200 199|True|True|False|False| +|fuel|Industry|25.00|145 110 89|False|True|False|False| +|fertilizer|Industry|10.00|133 101 35|True|True|False|False| +|explosives|Industry|20.00|192 68 20|False|True|False|False| +|clipper_convoy|Industry|42.00|21 65 30|False|True|False|True| +|steamer_convoy|Industry|65.00|76 18 0|False|True|False|True| +|electric_gear|Industry|16.00|255 255 0|False|True|False|False| +|fabric|Industry|1.80|186 50 40|True|True|False|False| +|lumber|Industry|1.00|180 94 26|True|True|False|False| +|paper|Consumer|3.40|216 185 77|True|True|False|False| +|cattle|Consumer|2.00|84 227 40|True|True|False|False| +|fish|Consumer|1.50|128 98 73|True|True|False|False| +|fruit|Consumer|1.80|255 0 0|True|True|False|False| +|grain|Consumer|2.20|219 157 36|True|True|False|False| +|tobacco|Consumer|1.10|100 69 30|True|True|False|False| +|tea|Consumer|2.60|201 135 15|True|True|False|False| +|coffee|Consumer|2.10|27 19 7|True|True|False|False| +|opium|Consumer|3.20|114 162 47|True|True|False|False| +|automobiles|Consumer|70.00|61 67 64|False|True|False|False| +|telephones|Consumer|16.00|123 112 54|False|True|False|False| +|wine|Consumer|9.70|123 0 54|True|True|False|False| +|liquor|Consumer|6.40|76 5 0|True|True|False|False| +|regular_clothes|Consumer|5.80|217 17 19|True|True|False|False| +|luxury_clothes|Consumer|65.00|234 227 40|True|True|False|False| +|furniture|Consumer|4.90|173 129 40|True|True|False|False| +|luxury_furniture|Consumer|59.00|225 140 184|True|True|False|False| +|radio|Consumer|16.00|129 63 6|False|True|False|False| + +### John Cena + +|Identifier|Category|Cost|Colour|Available At Start|Is Tradeable|Is Money|Has Overseas Penalty| +|--|--|--|--|--|--|--|--| +|ammunition|Military|17.50|208 202 127|False|True|False|False| +|small_arms|Military|37.00|189 118 22|False|True|False|False| +|artillary|Military|60.00|145 130 86|False|True|False|False| +|canned_food|Military|16.00|255 39 12|True|True|False|False| +|tanks|Military|98.00|55 41 9|False|True|False|False| +|aeroplanes|Military|110.00|221 213 182|False|True|False|False| +|coal|Raw|2.30|11 29 77|True|True|False|False| +|cotton|Raw|2.00|255 255 255|True|True|False|False| +|dye|Raw|12.00|69 0 182|True|True|False|False| +|iron|Raw|3.50|111 111 111|True|True|False|False| +|oil|Raw|12.00|0 0 0|True|True|False|False| +|precious_metal|Raw|8.00|253 199 110|True|False|True|False| +|precious_goods|Raw|7.00|247 241 61|True|False|True|False| +|rubber|Raw|7.00|123 110 86|True|True|False|False| +|silk|Raw|10.00|125 158 43|True|True|False|False| +|sulpher|Raw|6.00|181 228 102|True|True|False|False| +|timber|Raw|0.90|146 72 17|True|True|False|False| +|tropical_wood|Raw|5.40|213 177 118|True|True|False|False| +|wool|Raw|0.70|234 195 158|True|True|False|False| +|steel|Industry|4.70|95 128 147|False|True|False|False| +|cement|Industry|16.00|185 187 164|True|True|False|False| +|machine_parts|Industry|36.50|177 198 196|False|True|False|False| +|glass|Industry|2.90|201 200 199|True|True|False|False| +|fuel|Industry|25.00|145 110 89|False|True|False|False| +|fertilizer|Industry|10.00|133 101 35|True|True|False|False| +|explosives|Industry|20.00|192 68 20|False|True|False|False| +|clipper_convoy|Industry|42.00|21 65 30|False|True|False|True| +|steamer_convoy|Industry|65.00|76 18 0|False|True|False|True| +|electric_gear|Industry|16.00|255 255 0|False|True|False|False| +|fabric|Industry|1.80|186 50 40|True|True|False|False| +|lumber|Industry|1.00|180 94 26|True|True|False|False| +|paper|Consumer|3.40|216 185 77|True|True|False|False| +|cattle|Consumer|2.00|84 227 40|True|True|False|False| +|fish|Consumer|1.50|128 98 73|True|True|False|False| +|fruit|Consumer|1.80|255 0 0|True|True|False|False| +|grain|Consumer|2.20|219 157 36|True|True|False|False| +|tobacco|Consumer|1.10|100 69 30|True|True|False|False| +|tea|Consumer|2.60|201 135 15|True|True|False|False| +|coffee|Consumer|2.10|27 19 7|True|True|False|False| +|opium|Consumer|3.20|114 162 47|True|True|False|False| +|automobiles|Consumer|70.00|61 67 64|False|True|False|False| +|telephones|Consumer|16.00|123 112 54|False|True|False|False| +|wine|Consumer|9.70|123 0 54|True|True|False|False| +|liquor|Consumer|6.40|76 5 0|True|True|False|False| +|regular_clothes|Consumer|5.80|217 17 19|True|True|False|False| +|luxury_clothes|Consumer|65.00|234 227 40|True|True|False|False| +|furniture|Consumer|4.90|173 129 40|True|True|False|False| +|luxury_furniture|Consumer|59.00|225 140 184|True|True|False|False| +|radio|Consumer|16.00|129 63 6|False|True|False|False| + +## References + +1. Victoria 2 Game Files: + * common/goods.txt +2. Victoria 2 Wiki: + * https://vic2.paradoxwikis.com/Production#Goods_Data + * https://vic2.paradoxwikis.com/Resource_gathering_operation diff --git a/docs/simulation/ideologies.md b/docs/simulation/ideologies.md new file mode 100644 index 0000000..4d91056 --- /dev/null +++ b/docs/simulation/ideologies.md @@ -0,0 +1,60 @@ +# OpenVic2 Ideologies + +## Victoria 2 + +## OpenVic2 + +```mermaid +classDiagram + + class IdeologicalGroup { + <<enumeration>> + Facist + Conservative + Socialist + Liberal + } + + class Ideology { + + IdeologicalGroup group + + Date earliest_date + + boolean uncivilized_nations + + Colour colour + } + + Ideology o-- IdeologicalGroup + +``` + +## Data + +### Vanilla + +|Identifier|Ideological Group|Earliest Date|Uncivilized Nations|Colour| +|--|--|--|--|--| +|reactionary|conservative|1836/01/01|True|#1E1E64| +|conservative|conservative|1836/01/01|True|#0A0AFA| +|liberal|liberal|1836/01/01|True|#FFFF00| +|anarcho_liberal|liberal|1845/01/01|True|#96960A| +|socialist|socialist|1860/01/01|False|#FF0000| +|communist|socialist|1865/01/01|False|#960A0A| +|facist|facist|1905/01/01|False|#3C3C3C| + +### John Cena + +|Identifier|Ideological Group|Earliest Date|Uncivilized Nations|Colour| +|--|--|--|--|--| +|reactionary|conservative|1836/01/01|True|#1E1E64| +|conservative|conservative|1836/01/01|True|#0A0AFA| +|liberal|liberal|1836/01/01|True|#FFFF00| +|anarcho_liberal|liberal|1845/01/01|True|#96960A| +|socialist|socialist|1860/01/01|False|#FF0000| +|communist|socialist|1865/01/01|False|#960A0A| +|facist|facist|1905/01/01|False|#3C3C3C| + +## References + +1. Victoria 2 Game Files: + * common/ideologies.txt +2. Victoria 2 Wiki: + * https://vic2.paradoxwikis.com/Ideology diff --git a/docs/simulation/sim_doc_format.md b/docs/simulation/sim_doc_format.md new file mode 100644 index 0000000..68bd905 --- /dev/null +++ b/docs/simulation/sim_doc_format.md @@ -0,0 +1,21 @@ +# OpenVic2 <Document Name> + +## Victoria 2 Structure + +```UML DIAGRAM``` + +## OpenVic2 Structure + +```UML DIAGRAM``` + +## Data + +### Vanilla + +```TABLES OF DATA``` + +### John Cena + +```TABLES OF DATA``` + +## References |