-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmodule_party_templates.py
More file actions
28 lines (24 loc) · 1.33 KB
/
module_party_templates.py
File metadata and controls
28 lines (24 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from header_common import *
from header_parties import *
pmf_is_prisoner = 0x0001
####################################################################################################################
# Each party template record contains the following fields:
# 1) Party-template id: used for referencing party-templates in other files.
# The prefix pt_ is automatically added before each party-template id.
# 2) Party-template name.
# 3) Icon and flags.
# 3.1) Map icon.
# 3.2) Party flags. See header_parties.py for a list of available flags.
# 4) Menu. ID of the menu to use when this party is met. The value 0 uses the default party encounter system.
# 5) Faction
# 6) Personality. See header_parties.py for an explanation of personality flags.
# 7) List of stacks. Each stack record is a tuple that contains the following fields:
# 7.1) Troop-id.
# 7.2) Minimum number of troops in the stack.
# 7.3) Maximum number of troops in the stack.
# 7.4) Member flags(optional). Use pmf_is_prisoner to note that this member is a prisoner.
# Note: There can be at most 6 stacks.
####################################################################################################################
party_templates = [
("none","none",0,0,0,merchant_personality,[]), # hard coded, must not be removed
]