Spice of Life: Discovery
作者:rebot | 分类:模组
Minecraft 版本: 1.21.1
平台: fabric
标签: cursed food game-mechanics
Spice of Life Discovery
Spice of Life Discovery is a spin on the Spice of Life: Carrot Edition idea, but more geared toward finding more unique
foods as you play. SOL: Discovery is best enjoyed with a mountain of new modded foods. Consider using Farmer's Delight
with a bunch of addons!
Configuration
Default
By default, SOL:D starts the player at 6 HP (3 hearts) and grants an additional 2 HP (1 heart) for each 5 new food items
eaten. That formula is completely configurable in .minecraft/config/soldisco.json5. See the Suggestions section for some ideas to get you started.
The formula you input into the config is parsed by exp4j. You can find which functions are available here.
Suggestions
Here are a few interesting or weird ideas to get you started.
This formula will require an increasing amount of new food items for each additional heart:
{
"formula": "20 + 2 * floor(sqrt(foodsEaten))",
"minHp": 20.0
}
This formula punishes you for each new food you eat:
{
"formula": "40 - foodsEaten",
"minHp": 1.0
}
Start at 3 hearts and gain a heart for every five new foods you eat (this is the default):
{
"formula": "6 + 2 * floor(foodsEaten / 5)",
"minHp": 6.0
}
Commands
The /foodhistory command lets you manage the foods you've eaten.
foodhistory get [<player>]gets the full food history of a playerfoodhistory add <food> [<players>]adds a food to the food history ofplayersfoodhistory remove <food> [<players>]removes a food from the food history ofplayersfoodhistory query <food> [<players>]check ifplayershave a food
Credits
- Siphalor's Spice of Fabric mod, for inspiration and a code reference.
- Twemoji, for the magnifying glass in the mod icon.
请登录后举报
暂无评论,抢个沙发吧~