Files
Emberwild/data/items.json
Paul Bailey fed96ef118 M1c: weather, snap building, shelter, beds and regrowth
- Seeded weather (clear/cloudy/rain/storm, snow and blizzards on cold days
  and above the snowline), lightning, synthesised rain/wind/thunder sound
- Rain/snow particles stopped by roofs; wet ground, settled snow and wind
  via global shader uniforms
- Snap-together wood floor, wall, door, roof and gable with structural
  support, collapse and X to dismantle
- Shelter detection: dry under a roof, warmer and Rested inside with a fire;
  rain burns an uncovered campfire faster
- Bed sets the spawn point and lets you sleep through the night
- Trees, boulders and ground pickups regrow; timers saved
- Grass cleared under floors; shorter HUD hint
- New test_weather_building suite (62 checks) and tests/run_all.sh, which
  also fails on script errors
2026-11-04 10:16:41 +00:00

272 lines
6.0 KiB
JSON

{
"items": [
{
"id": "stick",
"name": "Stick",
"category": "resource",
"stack": 50,
"description": "A sturdy branch. Handles, kindling, fuel.",
"mesh": "stick",
"fuel": 20
},
{
"id": "stone",
"name": "Stone",
"category": "resource",
"stack": 50,
"description": "A fist-sized stone.",
"mesh": "stone"
},
{
"id": "flint",
"name": "Flint",
"category": "resource",
"stack": 50,
"description": "Sharp-edged stone. Knaps into blades and axe heads.",
"mesh": "flint"
},
{
"id": "wood",
"name": "Wood",
"category": "resource",
"stack": 50,
"description": "Split timber from a felled tree.",
"mesh": "wood",
"fuel": 60
},
{
"id": "stone_axe",
"name": "Stone Axe",
"category": "tool",
"stack": 1,
"description": "Chops trees. Hold it and click on a tree.",
"mesh": "stone_axe",
"tool": {
"kind": "axe",
"tier": 1,
"damage": 1.0
}
},
{
"id": "stone_pickaxe",
"name": "Stone Pickaxe",
"category": "tool",
"stack": 1,
"description": "Breaks boulders into stone and flint.",
"mesh": "stone_pickaxe",
"tool": {
"kind": "pickaxe",
"tier": 1,
"damage": 1.0
}
},
{
"id": "club",
"name": "Wooden Club",
"category": "weapon",
"stack": 1,
"description": "Crude, heavy, effective. (Creatures arrive in M1d.)",
"mesh": "club",
"weapon": {
"damage": 12,
"reach": 2.2,
"stamina": 8
}
},
{
"id": "campfire",
"name": "Campfire",
"category": "placeable",
"stack": 5,
"description": "Light and warmth. Place it, then keep it burning.",
"mesh": "campfire",
"place": {
"piece": "campfire",
"footprint": [
1.4,
1.4
]
}
},
{
"id": "workbench",
"name": "Workbench",
"category": "placeable",
"stack": 1,
"description": "Crafting station for better gear and storage.",
"mesh": "workbench",
"place": {
"piece": "workbench",
"footprint": [
2.0,
1.1
]
}
},
{
"id": "chest",
"name": "Wooden Chest",
"category": "placeable",
"stack": 5,
"description": "Stores 16 stacks.",
"mesh": "chest",
"place": {
"piece": "chest",
"footprint": [
1.2,
0.8
]
}
},
{
"id": "fiber",
"name": "Plant Fiber",
"category": "resource",
"stack": 50,
"description": "Tough stems from bushes. Twine, torch wrapping.",
"mesh": "fiber",
"fuel": 5
},
{
"id": "berries",
"name": "Berries",
"category": "food",
"stack": 30,
"description": "A handful of wild berries. Right-click to eat.",
"mesh": "berries",
"food": {
"hunger": 9,
"health": 2
}
},
{
"id": "mushroom",
"name": "Mushroom",
"category": "food",
"stack": 30,
"description": "Edible raw, much better roasted at a campfire.",
"mesh": "mushroom",
"food": {
"hunger": 6,
"health": 0
}
},
{
"id": "roasted_mushroom",
"name": "Roasted Mushroom",
"category": "food",
"stack": 30,
"description": "Smoky and filling. Right-click to eat.",
"mesh": "roasted_mushroom",
"food": {
"hunger": 24,
"health": 8
}
},
{
"id": "torch",
"name": "Torch",
"category": "tool",
"stack": 1,
"description": "Hold it for light and a little warmth.",
"mesh": "torch",
"light": {
"range": 10.0,
"energy": 1.6,
"heat": 0.3
}
},
{
"id": "grave",
"name": "Grave",
"category": "placeable",
"stack": 1,
"description": "Where you fell. Your belongings are inside.",
"mesh": "grave",
"hidden": true,
"place": {
"piece": "grave",
"footprint": [
1.0,
1.6
]
}
},
{
"id": "wood_floor",
"name": "Wood Floor",
"category": "building",
"stack": 20,
"description": "2 x 2 m. Snaps to other pieces. Sits level on the ground.",
"mesh": "wood_floor",
"place": {
"piece": "build",
"kind": "floor"
}
},
{
"id": "wood_wall",
"name": "Wood Wall",
"category": "building",
"stack": 20,
"description": "2 x 2 m. Snaps to floor edges, other walls and roofs.",
"mesh": "wood_wall",
"place": {
"piece": "build",
"kind": "wall"
}
},
{
"id": "wood_door",
"name": "Wood Door",
"category": "building",
"stack": 10,
"description": "A wall with a door in it. E opens and closes it.",
"mesh": "wood_door",
"place": {
"piece": "door",
"kind": "door"
}
},
{
"id": "wood_roof",
"name": "Wood Roof",
"category": "building",
"stack": 20,
"description": "Rises 1 m over 2 m. Two from opposite walls of a 4 m hut meet at the ridge.",
"mesh": "wood_roof",
"place": {
"piece": "build",
"kind": "roof"
}
},
{
"id": "wood_gable",
"name": "Wood Gable",
"category": "building",
"stack": 20,
"description": "Triangle that closes the end of a roof. R to flip it.",
"mesh": "wood_gable",
"place": {
"piece": "build",
"kind": "gable"
}
},
{
"id": "bed",
"name": "Bed",
"category": "placeable",
"stack": 1,
"description": "Sets your spawn point. Sleep through the night under a roof.",
"mesh": "bed",
"place": {
"piece": "bed",
"footprint": [
1.0,
2.1
]
}
}
]
}