省份模组制作:修订间差异

本页面所适用的版本可能已经过时,最后更新于2.7
(merge from offical wiki)
 
(21:55, 20 April 2019‎ Keizer Harm)
 
(未显示2个用户的2个中间版本)
第48行: 第48行:
{{stub}}
{{stub}}


[[Category:Modding]]
[[Category: 模组制作]]
{{ModdingNavbox}}
{{ModdingNavbox}}
[[en:Province modding]]

2020年12月25日 (五) 22:46的最新版本

Province history is located in the /history/provinces/ folder.

The files need to be named <ProvinceId> - <ProvinceName>.txt, where province name must be spelled identically to the name in definition.csv.

Note that effect = {} history command does not exist for provinces. Workaround is to use it in title history of the county, and scope to its location.

Example

Province modding simply state the holdings, religion and culture of a county. Here's an example:

# 1 - Vestisland

# County Title
title = c_vestisland

# Settlements
max_settlements = 2
b_reykjavik = tribal

#b_alftanes = city
#b_skalholt = temple
#b_pingvellir = castle
#b_kjalarnes = castle
#b_hvamm = castle
#b_hlidarendi = castle
#b_borg = castle

# Misc
culture = norse
religion = norse_pagan
terrain = arctic

# History
867.1.1 = {
	b_reykjavik = tb_shipyard_1
}
900.1.1 = {
	b_reykjavik = castle
	b_reykjavik = ca_shipyard_1
	b_alftanes = city
}
1000.1.1 = {
	culture = norwegian
	religion = catholic
}