erDiagram
doors {
varchar content_flags
varchar content_flags_disabled
int dz_switch_id
int keyitem
varchar zone
varchar dest_zone
intunsigned dest_instance
smallint version
}
content_flags {
varchar flag_name
}
dynamic_zones {
int dz_switch_id
intunsigned id
intunsigned compass_zone_id
int instance_id
intunsigned safe_return_zone_id
}
items {
int id
int book
varchar name
int recasttype
int icon
mediumint bardeffect
int clickeffect
int focuseffect
int proceffect
int scrolleffect
int worneffect
}
zone {
int zoneidnumber
varchar short_name
tinyintunsigned version
varchar content_flags
varchar content_flags_disabled
}
doors ||--o{ content_flags : "One-to-One"
doors ||--o{ content_flags : "One-to-One"
doors ||--o{ dynamic_zones : "One-to-One"
doors ||--o{ items : "One-to-One"
doors ||--o{ zone : "One-to-One"
doors ||--o{ zone : "One-to-One"
This column will basically behave like such: if the door has a click type and it is to raise up like a door, it will be raised on spawn of the door. Meaning it is inverted. Another example: If a Door Open Type is set to a spinning object on click, you could set this to 1 to have the door be spinning on spawn.