License: GPL3
Code: Select all
git clone -b dcbl --recurse-submodules git://github.com/jastevenson303/dcbl.git
Code: Select all
git clone -b dcbl --recurse-submodules git://github.com/jastevenson303/dcbl.git
Code: Select all
git clone -b dcbl --recurse-submodules git://github.com/jastevenson303/dcbl.git
Code: Select all
Ensure all settings are organized per minetest.conf.example, settingtypes.txt,
Personal warps
Starting guidebook
Starting backpack loaded with starting items
Backpack swing open, possibly place anywhere if `air' subject to unforseen consequences.
Investigate coloring, such that number of nodes may be reduced for similar items with differing colors.
Insert remaining food items for foodblock blocks
Investigate some merge or glue of crops and farming
Fishing, rod, bait, worms, fish, sushi
Dresser needs overhaul, in UI, to show stats (armor, hp, XP? level?) and preview. Texture and stuff (infotext?).
User preferences UI (only option so far is /gender)
Fix /gender, (make it pop out item in detached inv?)
`build' priv, such that a play may still interact but not set nodes.
Utilize key, or locking, of shelves and interactive nodes, to toggle public/private furnaces, empty shelves, bookshelves, etc..
Walkie UI to interface with /channel.
Machine to make armor, a la Loom for clothing.
mobs_npc needs a redo. add mobs_monster. merge zombies into _monster.
New player dialog? Perhaps to replace `build' priv with `interact'. (Simple "I agree"?)
Mailbox toggle (can be done from dcbl_default?) to disallow all but written books.
Add a guestbook to the intercomm. Show UI on intercomm again.
Show /sethome dialog ([Set home] [Cancel]) if no home found on UI [Home] button press?
Fix up this right button/create new mess on shop node.
Ore+Stone=stone_with_mineral
group:book+dye_white=blank book
restore redundant recipes if there are no conflicts.
more warps stuff: goo, pads
warps cannot have item wear if not tool / tools cannot be meshnodes thus cannot be warps. FIXME
Faster hunger drain, and individual drain rates for standing/walking/sprinting.
/ignore command.
Throwable spear tool with item wear() and stack_max=1. Maybe based on mobs:egg?
Identify where logging is missing, and protection violation recording.
Fix crops dual-node mish-mash mesh mess. (plant not found, 'cause it was remove, and shouldn't have set in the first place)
"Speed" text removed from boots in enchantment table.
Crops items on_rightclick fix.
Statbar backgrounds? (just for hearts? hunger?) Fix hearts textures.
Shop bank (node for currency exchange, deposits, withdrawals, transfers), and purse (backpack-like node?), for global exchange. (Gold, Diamond, Emerald.)
Some means of flight, to avoid granting fly.
Skull and bone craftitems (from dcb/old xdecor)
Maybe some select lost xdecor stuff (trash_can?)
Brighten or somehow distinguish ice/thin_ice inventory images.
Code: Select all
-- Bed inventory, buttons.
local old_on_rightclick = beds.on_rightclick
minetest.register_on_player_receive_fields(function(player, formname, fields)
if not formname:match("^dcbl:bed_") then
return
end
local name = player:get_player_name()
local pos = minetest.string_to_pos(string.sub(formname, 10))
if fields.sethome then
if minetest.is_protected(pos, name) then
return
end
sethome.set(name, player:getpos())
dcbl.output(player, "Home set.")
elseif fields.setrespawn then
if minetest.is_protected(pos, name) then
return
end
beds.spawn[name] = player:getpos()
beds.set_spawns()
dcbl.output(player, "Respawn set.")
elseif fields.sleep then
old_on_rightclick(pos, player)
end
end)
minetest.register_on_joinplayer(function(player)
player:get_inventory():set_size("bed", 8*3)
end)
local fs = "size[8,8.5]" ..
default.gui_bg ..
default.gui_bg_img ..
default.gui_slots ..
"list[current_player;main;0,4.25;8,1;]" ..
"list[current_player;main;0,5.5;8,3;8]" ..
"button_exit[-0.02,0.0;2.5,1;setrespawn;Set Respawn]" ..
"button_exit[2.75,0.0;2.5,1;sleep;Sleep]" ..
"button_exit[5.56,0.0;2.5,1;sethome;Set Home]" ..
"list[current_player;bed;0,1;8,3]" ..
"listring[current_player;bed]" ..
"listring[current_player;main]" ..
default.get_hotbar_bg(0, 4.25)
beds.on_rightclick = function(pos, clicker)
if not clicker then
return
end
-- TODO Use a skeleton key to toggle protection.
-- Currently, setrespawn and sethome are protected,
-- and sleeping (provided it's night) and accessing
-- bed inventory.
minetest.show_formspec(clicker:get_player_name(), "dcbl:bed_" .. minetest.pos_to_string(pos), fs)
end
Code: Select all
minetest.register_chatcommand("test", {
func = function(name)
minetest.show_formspec(name, "test",
"size[9,5]" ..
"background[5,5;1,1;gui_formbg_short.png;true]" ..
"field[2.2,2.35;5.25,0.4;fld;;]" ..
"button[3,2.8;3,1;proceed;Proceed" ..
""
)
end
})
Users browsing this forum: No registered users and 1 guest