Skip to content

Commit 4a85b38

Browse files
committed
op 81
1 parent fc88422 commit 4a85b38

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- [Bath House Bribe Failure](./operations/0043-bath-house-bribe-failure.md)
1616
- [Make Town Hall Offer](./operations/0048-make-town-hall-offer.md)
1717
- [Tavern Interaction](./operations/0052-tavern-interaction.md)
18+
- [Start Criminal Investigation](./operations/0081-start-criminal-investigation.md)
1819
- [Scheduled Tasks](./scheduled-tasks/0000.md)
1920
- [Criminal Investigation](./scheduled-tasks/0005-criminal-investigation.md)
2021
- [Update Shipyard Experience](./scheduled-tasks/0006-update-shipyard-experience.md)

src/operations/0052-tavern-interaction.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Tavern Interaction
2-
32
The tavern interaction operations are enqueued by the tavern's panel when switching between the tavern's pages.
43
The following fields have been identified:
54

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Start Criminal Investigation
2+
The `handle_operation_81_start_criminal_investigation` at `0x0053FA80` schedules a *Criminal Investigation* task to an indicated timestamp.
3+
The following fields have been identified:
4+
```c
5+
struct operation_81_start_criminal_investigation
6+
{
7+
signed __int32 field_0_merchant_index;
8+
signed __int32 field_4_crime_type;
9+
signed __int32 field_8_delay;
10+
signed __int32 field_C_town_index;
11+
};
12+
```
13+
14+
The scheduled task's target git difftimestamp is calculated as follows:
15+
```python
16+
(delay + now() + 0x100) & 0x00 | 0x80
17+
```

0 commit comments

Comments
 (0)