The tool has a random chance to break based on its durability.
Let's say durability is constrained in range 0 <= D <= 1. The basic linear chance would then be (1-D). Then a growth function could be added on top (e.g. chance f D = f(1-D)
, chance (**2)
would be (1-D)^2), so that the chance is configured for developers/item specifically.
(lower effects add to the higher ones)
The item in an inventory shows as being swapped with a random slot, picking the wrong slot will take the actual item in there and shuffle the item with a curse with another slot.
The item mimics another item, by its texture and description. It acts, however, like it normally is.
The objects containing the item behave like the item does not exist: The item shows up invisible, only becomes visible when you pick it up (LMB), when you place it it is only visible until hover is lost (allows you to read the item description). When a visible item is placed on that slot, the invisible item is destroyed and never seen again. When thrown out, only the item shadow is shown.
a) when an item is placed into any slot, it cannot be removed or moved anywhere else (unless the parent is destroyed obviously)
b) when a slot containing the said item is focused on a hotbar, it cannot be unfocused and the item cannot be moved [optional: except to offhand]
Basically one of the curses but with the name hidden.
Potion of sleepiness can be brewed by adding chorus plant onto a slow falling potion.
Potion of sleepiness lasts longer than potion of feather falling. When the player falls, at the stage when fall damage is calculated if the fall is lethal, the player gets teleported back to where the fall was initiated (the block where he was standing before or the closest to it if it was broken) and any movement controls get discarded (if the player holds w key while they fall when they get teleported they need to release & press the key again to move in said direction)
To balance gameplay a bit, the rule that the potion can only be activated on the days when phantoms can spawn can be added. But I think it would be a bit much.
@spomj
@kbin.social