-
Notifications
You must be signed in to change notification settings - Fork 2
Inventory System
The original conception of the Inventory presented below has been significantly simplified.
In the bottom left corner is the player's weapon. In the top left are three papyrus slots and two orb slots. Pressing 1, 2, or 3 selects the corresponding papyrus from the second hot bar. Pressing 4 or 5 activates the corresponding papyrus.
A player's weapon slot contains an item which typically boosts damage. Weapons can be enchanted with a spell that affects projectile trajectory (by being invoked continuously). The basic sling is not enchantable, but once a player find rarer weapons (like bows), they can enchant it.
A player's projectile slot contains an item whose spell is invoked on impact and alters the effect of the projectile. All projectiles, including the basic sling pellet, are enchantable. Firing does not exhaust ammo. The point of selecting a projectile is just to modify your attack.
Papyri are items whose spells can be invoked when the player presses a hotkey. Each papyrus has a cooldown based on the complexity of the associated spell. Staffs are similar to papyri, but rather than casting the spell when their hotkey is pressed, they transfer it onto a nearby entity (cursing or buffing it). Staffs and papyri are found along with other items.
Because basic projectiles can be enchanted, the player's first experience with enchanting will be with those. At some point, they will receive a papyrus as non-random loot. At some point after this, they will receive a common bow (which is an enchantable weapon) as non-common loot. Acquisition of armor, staffs, and rare items in the other categories will be RNG.
Items are defined in the enum snorri.inventory.Item.ItemType
.
ID | Name | Type | Max | Enchant? | Other | Notes |
---|---|---|---|---|---|---|
0 | EMPTY | null | 1 | false | Empty inventory slot | |
1 | PAPYRUS | Papyrus | 1 | true | Does the spell when you activate it from hotbar | |
2 | HELMET | Armor | 1 | true | Block:2 | Enchant this to do something OnDamage |
3 | SLING | Weapon | 1 | true | Sharp:34 | Enchant this to do something OnHit |
4 | PELLET | Projectile | 1 | true | Enchant this to do something OnMove (not lost when shot) |
We will potentially add higher tier weapons that allow for more verbs/unique interactions.
Speak magic. Unleash the power of language!