4d0f0734ba
- Eliminate health and breath stat bars. - Players NO LONGER DIE FROM INJURY. - Players no longer lose walking speed or mobility. - Players lose inventory slots in proportion to injury; they're stuffed with an "injury" item, and items they displace are ejected. Slots are displaced in random order. - Healing rate is much faster, so players are usually mildly inconvenienced by injury, but can soon enough pick up their stuff and leave. - Health and breath HUDs are gone. Health is visible based on number of lost slots, and breath uses a vignette to narrow tunnel vision for O2 loss. Overall, the old health system has been more of an immersion- breaking annoyance than anything. This allows health to get out of the way of the primary gameplay. UNFINISHED: Need a replacement for the old "suicide to get unstuck" mechanic.
17 lines
449 B
Lua
17 lines
449 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local minetest, nodecore, type
|
|
= minetest, nodecore, type
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
minetest.register_item(":", {
|
|
type = "none",
|
|
wield_image = "nc_player_hand.png",
|
|
wield_scale = {x = 1, y = 1, z = 2.5},
|
|
tool_capabilities = nodecore.toolcaps({
|
|
uses = 0,
|
|
crumbly = 1,
|
|
snappy = 1,
|
|
thumpy = 1
|
|
})
|
|
})
|