about summary refs log tree commit diff stats
path: root/data/maps/the_impressive/doors.txtpb
blob: e27d531bf973e753b3ec5209343c57ef2b3aeb9b (plain) (blame)
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
doors {
  name: "Front Door"
  type: STANDARD
  receivers: "Components/Doors/entry_1"
  panels { room: "Lobby" name: "RIGHT" }
  location_room: "Lobby"
}
doors {
  name: "Side Door"
  type: ITEM_ONLY
  receivers: "Components/Doors/entry_3"
  panels { room: "Lobby" name: "RIGHT" answer: "wrong" }
}
doors {
  name: "Big W"
  type: EVENT
  panels { room: "WM Room" name: "LEFT" }
  panels { room: "WM Room" name: "RIGHT" answer: "right" }
}
doors {
  name: "Big M"
  type: EVENT
  panels { room: "WM Room" name: "LEFT" }
  panels { room: "WM Room" name: "RIGHT" answer: "left" }
}
doors {
  name: "M2 Divider"
  type: EVENT
  panels { room: "Green Eye" name: "RETURN" }
  panels { room: "Green Eye" name: "LEFT" }
}
doors {
  name: "Control Center Green Door"
  type: CONTROL_CENTER_COLOR
  receivers: "Components/Doors/entry_2"
  control_center_color: "green"
}
rger <fefferburbia@gmail.com> 2023-05-02 15:21:29 -0400 Tracker connects to AP now' href='/lingo-ap-tracker/commit/ap_state.h?h=future&id=116ba412079ddf647d19a54d09eb61e67a2f9aac'>116ba41 ^
4adfe42 ^

8e89e19 ^
116ba41 ^
325ea53 ^
70f1c62 ^
325ea53 ^
dc4a143 ^
325ea53 ^
116ba41 ^
325ea53 ^
116ba41 ^
b6628ef ^

c9a21a3 ^

9bf6a50 ^
53a2ec2 ^
c9a21a3 ^

bb12ecd ^

18eccff ^

b13d367 ^

116ba41 ^
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


                           
              


                      
 
                   
 
                                                                              
 

                                                                      

                                                                                        

                                                                                                                                             
                                                     
 
                                                                              
 
                                                
 

                                             
                                               
 
                                        
 
                         
 
                            
 
                                                                 
 

                               

                              
                                              
 

                                          

                                                            

                                

                                    
                                                      
#ifndef AP_STATE_H_664A4180
#define AP_STATE_H_664A4180

#include <map>
#include <string>

#include "game_data.h"

class TrackerFrame;

enum DoorShuffleMode { kNO_DOORS = 0, kSIMPLE_DOORS = 1, kCOMPLEX_DOORS = 2 };

enum VictoryCondition { kTHE_END = 0, kTHE_MASTER = 1, kLEVEL_2 = 2 };

enum LocationChecks { kNORMAL_LOCATIONS = 0, kREDUCED_LOCATIONS = 1, kPANELSANITY = 2 };

enum SunwarpAccess { kSUNWARP_ACCESS_NORMAL = 0, kSUNWARP_ACCESS_DISABLED = 1, kSUNWARP_ACCESS_UNLOCK = 2, kSUNWARP_ACCESS_PROGRESSIVE = 3 };

void AP_SetTrackerFrame(TrackerFrame* tracker_frame);

void AP_Connect(std::string server, std::string player, std::string password);

bool AP_HasCheckedGameLocation(int location_id);

bool AP_HasCheckedHuntPanel(int location_id);

bool AP_HasItem(int item_id, int quantity = 1);

DoorShuffleMode AP_GetDoorShuffleMode();

bool AP_IsColorShuffle();

bool AP_IsPaintingShuffle();

const std::map<std::string, std::string> AP_GetPaintingMapping();

int AP_GetMasteryRequirement();

int AP_GetLevel2Requirement();

bool AP_IsLocationVisible(int classification);

VictoryCondition AP_GetVictoryCondition();

bool AP_HasAchievement(const std::string& achievement_name);

bool AP_HasEarlyColorHallways();

SunwarpAccess AP_GetSunwarpAccess();

#endif /* end of include guard: AP_STATE_H_664A4180 */