Mechanics

>lunacy contains many new mechanics to either aid or hinder the player, ranging from a mana system to a system of item generation using spiders.

## Magic

### Mana

Mana is seen to the right of the player's hotbar in Survival and Adventure mode. It is 1 of 4 types of magic the player can harness, and is represented by a blue segmented bar consisting of 5 parts, each being worth 20 mana. It is typically representative of creation magic, and the opposite of essence.

It slowly regenerates over time, and can be replenished using Mana Flasks. Upon reaching 0, there is a delay until it starts to regenerate again.

### Essence

Essence is seen to the left of the player's hotbar in Survival and Adventure mode. It is 1 of 4 types of magic the player can harness, and is represented by a purple segmented bar consisting of 5 parts, each being worth 20 essence. It is typically representative of destructive magic, and the opposite of mana.

It slowly regenerates over time, and can be replenished using Essence Flasks. Upon reaching 0, there is a delay until it starts to regenerate again.

### Intent

Intent is seen to the left of the player's hotbar in Survival and Adventure mode. It is 1 of 4 types of magic the player can harness, and is represented by a large green gem. It is typically representative of elemental magic or the manipulation of the elements.

It does not regenerate over time, rather when waking up. Because of this, Intent is a much harder type of magic to maintain. It can be replenished using Intent Flasks.

### PSI/Sanity (Psianity)

Psianity is seen to the right of the player's hotbar in Survival and Adventure mode. It is not only 1 of 4 types of magic the player can harness, but is also representative of the sanity of the player, because of this, the bar serves a double purpose. It is also the only to not start full, or have the player respawn with it full, and rather only half.

PSI is seen to the right of the player's hotbar in Survival and Adventure mode. It is 1 of 4 types of magic the player can harness, and is represented by a large orange brain. It is typically representative of psychic magic. If the player is out of PSI, using more will instead take health from the player.

Sanity is primarily seen upon losing PSI, and shows as a red brain. The player will experience side effects depending on how high or low sanity is.

PSIanity naturally regenerates in the right situations, i.e. light level or certain mobs, and Psianity Flasks can regain extra psianity.

Likewise, light level and certain mobs can also lower PSIanity.

### Trivia

* PSI's name is a direct reference to the Earthbound stat and abilities of the same name.

## Spider Ranching

*Full article, Carpenter Spiders*

Spider Ranching is a mechanic that allows the player to generate resources through string produced by carpenter spiders. Normal carpenter spiders can be obtained through spider eggs, and cave carpenter spiders can be obtained through cave spider eggs. The rest can be obtained through mutation and breeding.

### Trivia

* This mechanic is directly inspired by the popular *Forestry* mod by SirSengir and its bee mechanics.
	+ Originally, this was more blatant, using bees instead of spiders.

## Rage

*Full article, Rage*

Rage is a meter present for the Donkey's Jawbone weapon. It is represented by a skull in the center of the screen. At 0, it starts grey and grows more red as it goes up. Upon reaching 100, the player gains the Rage potion effect, giving the player Strength II, Speed III, Jump Boost III, and Haste II. During this, the Rage meter rapidly decreases. Rage is gained by killing mobs, which also works during the Rage state.

### Trivia

* This mechanic, and the whole weapon, are both direct references to *Tainted Samson* and his *Berserk!* mechanic from *The Binding of Isaac: Repentance*, which in itself is based on the biblical *Samson*, specifically when it was said he had "*'With a donkey’s jawbone...With a donkey’s jawbone I have killed a thousand men.'*" *(Judges 15:16, New International Version)*

## Seasons

*Full article, Seasons*

Seasons are events that happen depending on the time of year. These do not match up with specific holidays, but aim to incorporate several at once, as well as general aesthetics of the real-world season.

### Season of the Harvest

#### *Horror and Horticulture!*

Occurring naturally from October 1st to November 30th, during this season the veil of life and death itself spread thin, allowing for the beyond to invade our very realm. Increased hostile mob spawns, as well as new variants of pre-existing mobs can spawn during this period. On top of this, however, crops' bounties will be increased, giving you more results for your time waiting. Mobs will also drop multiple items, such as the Candy Basket to give the player items.