| Health, sanity, and lamp oil each run from 0 to 100. A new player starts with all three at 100 and no tinderboxes. Adding sanity or oil stops at 100. | amnesia/src/game/LuxPlayer.cpp L267–270amnesia/src/game/LuxPlayer.cpp L907–910amnesia/src/game/LuxPlayer.cpp L932–936 | Code |
| While the lantern is lit, its oil falls each second by a rate set in the game's configuration, except while a memory flash (a scripted flash of text) is showing. When the oil reaches 0 the lantern goes out with an out-of-oil sound, and the player can't light it again until oil is added. | amnesia/src/game/LuxPlayerHelpers.cpp L1639amnesia/src/game/LuxPlayerHelpers.cpp L1703–1713amnesia/src/game/LuxPlayerHelpers.cpp L1799–1807 | Code |
| Below a level of oil set in the game's configuration, the lantern's light dims in proportion to the oil left, reaching black at 0. | amnesia/src/game/LuxPlayerHelpers.cpp L1640amnesia/src/game/LuxPlayerHelpers.cpp L1692–1698 | Code |
| Using a flask of oil needs the lantern in the inventory, and does nothing when the lantern is full. Otherwise it adds the flask's own amount, stops at 100, and uses up the flask. Up to 99 flasks stack in one inventory slot. | amnesia/src/game/LuxItemType.cpp L355–358amnesia/src/game/LuxItemType.cpp L368–383 | Code |
| Picking up a tinderbox adds 1 to a count the player carries, instead of placing an item in the inventory. The count has no upper limit: a limit of 10 is commented out. | amnesia/src/game/LuxItemType.cpp L402–415amnesia/src/game/LuxPlayer.h L191amnesia/src/game/LuxInventory.cpp L1127–1134 | Code |
| Lighting an unlit lamp takes one tinderbox, and fails with a message when the count is 0. Each lighting also raises sanity, by an amount between a minimum and a maximum set in the configuration, weighted toward the maximum by (1 − s/100)², where s is the sanity before. A lit lamp does nothing when the player uses it, so the player can't put it out. | amnesia/src/game/LuxProp_Lamp.cpp L203–209amnesia/src/game/LuxProp_Lamp.cpp L217–221amnesia/src/game/LuxProp_Lamp.cpp L227–250amnesia/src/game/LuxGlobalDataHandler.cpp L38–39 | Code |
| In hard mode, each map's tinderboxes and oil flasks are thinned as the map loads: about 65 in every 100 flasks are removed, and between 70 and 95 in every 100 tinderboxes, more the more tinderboxes the player carries, reaching 95 at six (computed from the removal rates). | amnesia/src/game/LuxMap.cpp L205–207amnesia/src/game/LuxMap.cpp L215–232amnesia/src/game/LuxMap.cpp L257–269amnesia/src/game/LuxMap.cpp L273–283amnesia/src/game/LuxMap.cpp L306–311 | Code |
| Where the light on the player falls to a level the configuration sets, sanity drains. A lit lantern counts as light. The drain starts from nothing and builds to its full rate over 10 seconds of darkness, and fades back over about 3.3 seconds of light (computed). It pauses during flashbacks and memory flashes, and when a level's script turns it off. | amnesia/src/game/LuxPlayerHelpers.cpp L2821amnesia/src/game/LuxPlayerHelpers.cpp L2836amnesia/src/game/LuxPlayerHelpers.cpp L2773–2789amnesia/src/game/LuxPlayerHelpers.cpp L2916amnesia/src/game/LuxPlayerHelpers.cpp L2935–2936amnesia/src/game/LuxPlayerHelpers.cpp L2940–2950 | Code |
| At an interval the configuration sets, the game checks whether the player can see a monster: one within 35 units, inside the camera's view, with a clear line to at least two of five points on its body. If any is seen, sanity drops by a configured amount, once per check however many are in view. | amnesia/src/game/LuxPlayerHelpers.cpp L1160–1161amnesia/src/game/LuxPlayerHelpers.cpp L1343–1354amnesia/src/game/LuxPlayerHelpers.cpp L1401–1416amnesia/src/game/LuxPlayerHelpers.cpp L1420–1441amnesia/src/game/LuxPlayerHelpers.cpp L1449–1451 | Code |
| On the same check, a crawling critter (a bug or spider) within 3 units of the player's head takes away a configured amount of sanity. | amnesia/src/game/LuxPlayerHelpers.cpp L1162amnesia/src/game/LuxPlayerHelpers.cpp L1365–1391 | Code |
| While a monster is in sight, the screen takes a pulsing radial blur that builds to full over about 3.3 seconds of looking (computed). | amnesia/src/game/LuxPlayerHelpers.cpp L1504–1530 | Code |
| Below a limit the configuration sets, sanity rises by itself at a configured rate per second. | amnesia/src/game/LuxPlayerHelpers.cpp L1147–1148amnesia/src/game/LuxPlayerHelpers.cpp L1328–1333 | Code |
| When sanity stays below a configured low level for longer than a configured time, it is set to a configured amount. Time spent back above the level counts the timer down again. | amnesia/src/game/LuxPlayerHelpers.cpp L1156–1158amnesia/src/game/LuxPlayerHelpers.cpp L1228–1241 | Code |
| When a loss takes sanity below 0, it is held at 0 and the player collapses; in hard mode the player dies instead of recovering. A collapse puts out the lantern, slows the world's sounds to half speed at three-quarters volume, and alerts every active monster in the map to the player. | amnesia/src/game/LuxPlayer.cpp L619–637amnesia/src/game/LuxPlayer.cpp L869–881amnesia/src/game/LuxPlayerHelpers.cpp L109–129amnesia/src/game/LuxPlayerHelpers.cpp L141–148 | Code |
| During a collapse the view sinks and rolls up to 35 degrees while random sounds play. After a time the configuration sets, sanity is set to a configured amount, the world's sounds return, and the view rises back. | amnesia/src/game/LuxPlayerHelpers.cpp L64amnesia/src/game/LuxPlayerHelpers.cpp L78amnesia/src/game/LuxPlayerHelpers.cpp L196–216amnesia/src/game/LuxPlayerHelpers.cpp L220–253 | Code |
| Under sustained loss of sanity, such as the darkness drain, a heartbeat and a draining sound repeat, faster the lower sanity is: three times as often at 0 as at 100 (computed). A single loss plays neither: each loss keeps the sounds' timers running for one second, too short for either to fire, and they restart from zero once a second passes without a loss. The draining sound has three strengths: one above 75 sanity, one above 50, and one at 50 or below. | amnesia/src/game/LuxPlayerHelpers.cpp L1212–1215amnesia/src/game/LuxPlayerHelpers.cpp L1535–1567amnesia/src/game/LuxPlayerHelpers.cpp L1569–1583 | Code |
| Below a sanity level the configuration sets, a wavy distortion covers the screen, stronger the lower sanity falls: its strength is 1 − sanity over that level. Below a second, lower level, also configured, the image smears, the player pants every 0.5 to 5 seconds, and a hint shows. | amnesia/src/game/LuxPlayerHelpers.cpp L1150–1151amnesia/src/game/LuxPlayerHelpers.cpp L1262–1272amnesia/src/game/LuxPlayerHelpers.cpp L1293–1295amnesia/src/game/LuxPlayerHelpers.cpp L1588–1620 | Code |
| A sudden sanity loss that a level's script deals plays a sound and briefly narrows and stretches the view with a smear, then eases it back. | amnesia/src/game/LuxPlayer.cpp L609–616amnesia/src/game/LuxPlayerHelpers.cpp L1203–1208amnesia/src/game/LuxPlayerHelpers.cpp L1480–1497 | Code |
| Hallucinations come as events of four kinds: a sound, footsteps, particles, and crawling bugs. Each event has a highest sanity at which it can play. An event starts when the player is in one of a level's insanity areas, sanity is at or below a configured level, and the wait since the last event has run out. The wait is one of three configured lengths, chosen by which of three configured sanity bands the player is in when the last event ends. The event is picked at random among those not yet played, and when all have played they become available again. | amnesia/src/game/LuxInsanityHandler.cpp L921–928amnesia/src/game/LuxInsanityHandler.cpp L52–56amnesia/src/game/LuxArea_Insanity.cpp L104–110amnesia/src/game/LuxInsanityHandler.cpp L881–884amnesia/src/game/LuxInsanityHandler.cpp L745–753amnesia/src/game/LuxInsanityHandler.cpp L795–821 | Code |
| A script function sets sanity to 100 when it is under 25, to 90 under 50, and to 80 under 75, and adds 5 above that. Its small version adds 20, 15, 10, or 5 across the same bands. | amnesia/src/game/LuxScriptHandler.cpp L1504–1531 | Code |
| Code that would top up health, sanity, and oil to random amounts between configured bounds after a death is commented out, though the bounds are still read from the configuration. | amnesia/src/game/LuxPlayerHelpers.cpp L1870–1876amnesia/src/game/LuxPlayerHelpers.cpp L2257–2281 | Code |