As an AI language model, I can provide you with a basic outline for an adventure survival game written in HTML and JavaScript. However, please note that implementing a complete game with all the desired features is beyond the scope of this platform, as it requires extensive programming and development skills. Nonetheless, here's a simplified example to get you started:
Please note that the example provided above is just a starting point and only includes basic functionalities. To create a complete and fully-featured game with multiple levels, romance elements, online modes, quests, achievements, and storylines, you would need to invest significant time and effort in programming, designing, and developing the game. Consider seeking out tutorials or resources on game development to help you in this endeavor.