Add class items
This commit is contained in:
parent
f610722b83
commit
02d527eaf5
18 changed files with 384 additions and 211 deletions
|
@ -36,7 +36,7 @@ local function drop_all(player)
|
|||
pos.y = math.floor(pos.y + 0.5)
|
||||
|
||||
local inv = player:get_inventory()
|
||||
for _, item in pairs(give_initial_stuff.get_stuff()) do
|
||||
for _, item in pairs(give_initial_stuff.get_stuff(player)) do
|
||||
inv:remove_item("main", ItemStack(item))
|
||||
end
|
||||
drop_list(pos, inv, "main")
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
name = dropondie
|
||||
depends = ctf_map_core
|
||||
depends = give_initial_stuff
|
||||
description = With this mod, players will drop all their items in their inventory on the ground when they die.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue