Add class items

This commit is contained in:
rubenwardy 2020-03-13 21:58:42 +00:00
parent f610722b83
commit 02d527eaf5
18 changed files with 384 additions and 211 deletions

View file

@ -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")

View file

@ -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.