-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathdf.crime.xml
More file actions
83 lines (67 loc) · 4.34 KB
/
df.crime.xml
File metadata and controls
83 lines (67 loc) · 4.34 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<data-definition>
<bitfield-type type-name='punishment_flag' base-type='uint32_t'> bay12: PUNISHMENTFLAG_*
<flag-bit name='beating' original-name='BEATING'/>
<flag-bit name='exiled' original-name='EXILED'/>
<flag-bit name='death_sentence' original-name='DEATH' comment='sentenced to death'/>
<flag-bit name='no_prison_available' original-name='NO_PRISON_SO_FREED' comment='would have been imprisoned but for lack of accommodations'/>
</bitfield-type>
<struct-type type-name='punishmentst'>
<int32_t name='hammerstrikes' original-name='hammer'/>
<int32_t name='prison_time' original-name='prison_month'/>
<bitfield base-type='uint32_t' type-name='punishment_flag' name='flags' original-name='flag'/>
</struct-type>
<struct-type type-name='witness_reportst'>
<int32_t name='incident_id' ref-target='incident' init-value='-1'/>
<int32_t name='crime_id' ref-target='crime' init-value='-1'/>
<enum type-name='witness_type' name='type' init-value='NONE'/>
<int32_t name='year' original-name='happened_year' init-value='0'/>
<int32_t name='year_tick' original-name='happened_season_count' init-value='0'/>
<int32_t name='witness_id' original-name='witness_unid' ref-target='unit' init-value='-1'/>
<compound type-name='incident_hfid' name='witness_ihf'/>
<int32_t name='accused_id' original-name='accused_unid' ref-target='unit' init-value='-1'/>
<compound type-name='incident_hfid' name='accused_ihf'/>
<int32_t name='reported_year' init-value='0'/>
<int32_t name='reported_year_tick' original-name='reported_season_count' init-value='0'/>
</struct-type>
<bitfield-type type-name='crime_flag' base-type='uint32_t'> bay12: CRIMEFLAG_*
<flag-bit name='sentenced' original-name='RESOLVED'/>
<flag-bit name='discovered' original-name='VISIBLE'/>
<flag-bit name='needs_trial' original-name='SOLVABLE'
comment='i.e. the player chooses whom to convict'/>
</bitfield-type>
<struct-type type-name='crime' original-name='crimest'
instance-vector='$global.world.crimes.all' key-field='id'>
<int32_t name='id' original-name='global_id'/>
<enum type-name='crime_type' name='mode' original-name='type'/>
<compound type-name='punishmentst' name='punishment' original-name='punish'/>
<int32_t name='criminal' original-name='violator_unid' ref-target='unit'/>
<compound type-name='incident_hfid' name='criminal_hf' original-name='violator_ihf'/>
<int32_t name='accused' original-name='accused_unid' ref-target='unit'/>
<compound type-name='incident_hfid' name='accused_hf' original-name='accused_ihf'/>
<int32_t name='victim' original-name='victim_unid' ref-target='unit'/>
<compound type-name='incident_hfid' name='victim_hf' original-name='victim_ihf'/>
<bitfield base-type='uint32_t' type-name='crime_flag' name='flags' original-name='flag'/>
<int32_t name='incident_id' ref-target='incident'/>
<int32_t name='event_year' original-name='happened_year'/>
<int32_t name='event_time' original-name='happened_season_count'/>
<int32_t name='discovered_year' original-name='visible_year'/>
<int32_t name='discovered_time' original-name='visible_season_count'/>
<int32_t name='site' original-name='site_id' ref-target='world_site'/>
<int32_t name='entity' original-name='entity_id' ref-target='historical_entity'/>
<int32_t name='item_id' ref-target='item' comment="seen with crime of theft"/>
<stl-vector pointer-type='incident_hfid' name='reports' original-name='interrogation_queue_ihf'/>
<stl-vector pointer-type='incident_hfid' name='counterintelligence' original-name='already_interviewed_ihf' since='v0.47.01'/>
<stl-vector pointer-type='witness_reportst' name='witnesses' original-name='witness_report'/>
<int32_t name='agreement_id' original-name='governing_agreement_id' ref-target='agreement'/>
</struct-type>
<struct-type type-name='crime_handlerst'>
<stl-vector pointer-type='crime' name='all' original-name='global'/>
<stl-vector pointer-type='crime' name='order_load' has-bad-pointers='true'/>
</struct-type>
</data-definition>
<!--
Local Variables:
indent-tabs-mode: nil
nxml-child-indent: 4
End:
-->