AllureOfTheStars / Allure

Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at
http://allureofthestars.com
GNU Affero General Public License v3.0
213 stars 16 forks source link

Flesh out the use of the spacesuit #104

Open Mikolaj opened 4 years ago

Mikolaj commented 4 years ago

Add air tank and require it to craft the spacesuit. Add skills Underwater Breathing and Void Breathing and let spacesuit boost both enough to pass deep water. Mark any not searched disengaged airlocks with pink, as with signboards currently. Let void-breathing actors search disengaged airlocks and find valuable things, e.g, docking guide poles. Perhaps make a few kinds of such airlocks, for variety. Optionally, don't reveal the airlock has no shuttle attached until searched. Loot is needed to make it fun even on the outermost level where no shuttle remains.

Related: add deep water and give water animals Underwater Breathing. Decide what happens with other actors in deep water and how AI makes relevant decisions. See https://github.com/LambdaHack/LambdaHack/issues/148, https://github.com/LambdaHack/LambdaHack/issues/147, https://github.com/LambdaHack/LambdaHack/issues/145

A further plan would be to enable space walking and/or walking on the hull (one extra level, walking in reverse position using the suction in boots). That may also be how actors can get to other sections of the spaceship, once we include the other sections.

Mikolaj commented 4 years ago

The spacewalking part is related to https://github.com/LambdaHack/LambdaHack/issues/88. In particular, it will be fun to add the outside of the ship, as walkable with spacesuit boots, with airlocks positioned in a mirror image and, ideally, with another section of the ship reachable from there.

Edit: funnily enough, when deck segments are connected by airlocks, an airlock on the top left of the level will match an airlock on the top right of the connected level. So there is a symmetry here, just as there is a symmetry when walking on the other side of the floor outside the ship's hull. It may be easier to start with this one, but keeping in mind the other one. Most of the code should be shared.