Project Zomboid

Project Zomboid

Give Item
83 Comments
WhiffMaster | Beatbox  [author] 13 Jul @ 10:55am 
I fixed my pc but did not have much time for the mods.
IMPURIA 11 Jul @ 1:02pm 
FIX YOUR PC T_T
WhiffMaster | Beatbox  [author] 8 Jun @ 5:48am 
My computer died recently, so I won’t be able to do anything for a while.
Elifian 5 Jun @ 5:57am 
please, add translation strings
Ben_OnAir 9 Apr @ 3:41pm 
That's great ideas and happy to see that you still have this mod in mind! :D

Third option: Player A wants to trade item to Player B (right click on player B to trade)
Player A performs an animation where they hand over the item
Player B can then press the interaction command 'F' or right click Player A to accept the trade
It's kinda like in Sea of Thieves where you can hold right click while holding an item and it will hand it over in front of you and other players can hold the interaction command to take the item

Bonus Option: Why not add a "sneaky" trade where two players very close to each other can trade sneaky (without the hand over animation) so like using a contextual window or else and then a light animation would play to show that they are passing over an item but discretly.
It could work only on items under a certain weight
WhiffMaster | Beatbox  [author] 9 Apr @ 3:17pm 
@Ben_OnAir, I've been quite busy these days, so I haven't been able to work on this mod. But I actually thought about your comment again, and I think there are two ways to allow a cancellation.

First one being relying on a receiving action (with a progress bar as other actions), it would allow the triggering of an animation for both players, and the receiver can cancel the action with escape.

The second option is that both players need to stand still during the transaction. If the receiver moves, the transaction is canceled.

I don't want to add a UI component as it would basically become the regular trade feature, so these two options seems to be quite fitting.

@stuller11, that's hilarious, but I understand your frustration haha. What I suggested above might actually help you, but someone's gonna be mad they have to keep their junk to themselves haha
stuller11 8 Apr @ 4:34pm 
I hate this mod, my friend keeps giving me random junk and i become overweight lol :terraria:
Ben_OnAir 24 Feb @ 1:40am 
By the way is there a way for the receiver to refuse the trade?
Like a confirmation pop up where you can accept or decline the item sent?
Ben_OnAir 24 Feb @ 1:39am 
That's awesome thanks :D
WhiffMaster | Beatbox  [author] 21 Feb @ 6:30am 
@Ben_OnAir, it is, I’ll add that ASAP. Thanks for your feedback!
Ben_OnAir 19 Feb @ 3:09pm 
Do you think it's possible to trigger an animation for both players so that everyone can see the trade?
WhiffMaster | Beatbox  [author] 8 Feb @ 3:54pm 
@Lastty, I'll try to add it as an option when I have time for it

@IDerFingerl, I don't know, never had this issue before and you're the first one mentionning it, I'll look into it. Are you playing with other mods that adds NPCs or alters zombies in some ways? If so, does that happen when clicking on an npc/zombie?
Is the server a server that allows cracked clients?
[CrazyDogz] IDerFingerI 7 Feb @ 5:15pm 
Why is there places where it says "Give to None None" and then when you click it the items justt vanish?
Lastty 31 Jan @ 8:49am 
can show player nickname instead user ?
WhiffMaster | Beatbox  [author] 21 Jan @ 7:22am 
@Lucifer, thanks for your feedback. One other player mentioned a similar issue. I’ve not been able to replicate it myself.
If you look at the previous comments, you’ll see an exchange between nimaTorreto and me. Maybe you can try to see if you have more elements to add that could help me figuring it out?
Lucifer 21 Jan @ 5:50am 
The item simply disappears and does not go to another person in my case.
WhiffMaster | Beatbox  [author] 29 Dec, 2024 @ 10:51am 
Thank you! Glad you like it!
Hex: Legion Kisser 29 Dec, 2024 @ 9:38am 
Oh this is sick. I know there's a trade option already, but the amount of times I've experienced "Alright, here, trade with me. ... ... Click the button dude. Alright, where is it... Awh shit it's in my backpack, hold on back out I have to put it in my main inventory-"
...
...
Needless to say, thank you.
WhiffMaster | Beatbox  [author] 17 Dec, 2024 @ 5:06pm 
This is mostly a multiplayer mod, this is not the first mod I'll update.
UnrealVenn 17 Dec, 2024 @ 4:33pm 
just going through my subscribed list because of the b42. when update for b42? tats all
Darth Ceveo 13 Dec, 2024 @ 5:15am 
There may be a trade function I overlooked, but I think that's all you can do in terms of personally giving items to the survivors.
Darth Ceveo 13 Dec, 2024 @ 5:14am 
Lol nah I tried it after leaving that message. It's kinda janky, so you can give them weapons and gear, but to take any of that stuff back you basically have to force them to drop it all.
WhiffMaster | Beatbox  [author] 12 Dec, 2024 @ 3:38pm 
Don't you drop things on the ground when giving items to a Super Survivors NPC? I don't really know this mod beside a quick testing as I'm not using it, I might have missed something :shrug:
Darth Ceveo 12 Dec, 2024 @ 3:13pm 
Doesn't Superb Survivors have options to give NPCs stuff already? I mean I use it and I know you can give them clothes, either way idk why I'm here I just wanted to say that :shrug:
WhiffMaster | Beatbox  [author] 22 Nov, 2024 @ 11:16am 
It should, One player mentionned an issue that I have not been able to replicate and I did not have any issues during my tests.
Deathburger195 21 Nov, 2024 @ 10:48pm 
Does this work with inventory tetris?
WhiffMaster | Beatbox  [author] 14 Nov, 2024 @ 12:15am 
A version supporting bandits is in the pipes. Seems to work for now but further testing is required before I update the mod.
WhiffMaster | Beatbox  [author] 8 Nov, 2024 @ 3:38am 
@TheOvVa, I don’t know, I’ll try soon and keep you updated
TheOvVa 6 Nov, 2024 @ 8:10pm 
Will this work with bandits mod?
WhiffMaster | Beatbox  [author] 2 Nov, 2024 @ 12:38pm 
@Luqov No worries, that's a good point. You can expand the item and select as many as you want but you are right, there is no easy way to give an entire stack. I could add a "Give all to X" option, would it work for you?
Glad you like it!
Luqov 1 Nov, 2024 @ 6:20pm 
I am sorry for asking this. Is there a way I could give an entire item stack or edit the amount per item I could give to another player? I noticed I could only give 1 unit per item. Regardless, I love the mod's convenience!
WhiffMaster | Beatbox  [author] 15 Oct, 2024 @ 6:39pm 
It's the same name that's displayed above the player. I could add an option to use the character names instead tho
oloolo1661 15 Oct, 2024 @ 6:05pm 
does the name of the person thats supposed to receive the item depend on their username, or the name of their character?
Manam Ghost 28 Sep, 2024 @ 7:57pm 
Thanks deaf my friend
nimaTorreto 14 Sep, 2024 @ 2:31pm 
Just checked tonight, nothing again. No errors, no items, no changes in inventory. I'll probably delete my save and start again. Anyways thanks for your time.
WhiffMaster | Beatbox  [author] 14 Sep, 2024 @ 9:53am 
No worries, hope you're doing fine. I'm not sure what to test next to replicate the issue tbh so I'll most likely put this aside for now.
nimaTorreto 13 Sep, 2024 @ 11:44pm 
Sorry for the late reply, I was having a surgery. No errors that we could see but unfortunately the logs are gone. I would have to start playing and testing again.
WhiffMaster | Beatbox  [author] 8 Sep, 2024 @ 6:00pm 
Here is the mod order I used for the test on a locally hosted multiplayer server.
Mods=give-item;errorMagnifier;EQUIPMENT_UI;INVENTORY_TETRIS
So, just like you, Inventory Tetris loads after my mod.
Is your server locally hosted? Can you see anything in the server-console.txt, coop-console.txt or console.txt? Does your friend has an error of any sort? Does it work if he's the one giving you an item?
nimaTorreto 8 Sep, 2024 @ 10:00am 
That's ok. Take your time bro.
WhiffMaster | Beatbox  [author] 8 Sep, 2024 @ 8:00am 
@nimaTorreto, I didn’t think about the load order, you might be onto something. I won’t be able to tell you the order until later today when I get home tho
WhiffMaster | Beatbox  [author] 8 Sep, 2024 @ 7:40am 
@tonyzur, thanks! I could probably implement some sort of per player option / server wide option. I’ll think about it!
nimaTorreto 7 Sep, 2024 @ 11:30pm 
Hi again, it was various items and not a bag. Last night I tested it with a buddy of mine, tried giving him an empty soda can while his inventory was empty. Same thing happened again. First time that this happened, I was trying to give him a book. So I don't think it has anything to do with that. However, based on your test results, maybe it's a load order issue, because right now in my load order, Inventory Tetris loads after your mod. Can you share your load order?
473mL of G11's urine 7 Sep, 2024 @ 9:52pm 
love your mod, works nicely. you have such good ideas for what this game should be.
would you consider adding a simple, optional (maybe tied to the pvp safety status of the server) consent query on the receiver's end?
"John Doe gives you a Broom. Take it?"
"Y / N'
WhiffMaster | Beatbox  [author] 7 Sep, 2024 @ 6:11pm 
@nimaTorreto, I've just tested on a self hosted multiplayer server and everything works as expected. I've read in the Inventory Tetris comment section that bags sometimes disappear upon transfer into another container. Was the item you gave to your friend a bag or a container? It might explain it
WhiffMaster | Beatbox  [author] 7 Sep, 2024 @ 12:41pm 
@nimaTorreto, no worries, I’ll try later tonight anyway. Losing items is a concerning bug so I’ll try hard to replicate it, do you have any other mods that revolve around inventory? Tbf I haven’t tried it in combination with many other mods since no one else mentioned any similar issue
WhiffMaster | Beatbox  [author] 7 Sep, 2024 @ 12:37pm 
@shARP, the receiver does not have to accept anything, the item(s) will just be added to its inventory
shARP 7 Sep, 2024 @ 11:41am 
does the other player have to accept it or does it go into their inventory automatically?
nimaTorreto 7 Sep, 2024 @ 10:38am 
Sry couldn't test it again, was fighting hordes of clickers at night for 2 hours straight xD
nimaTorreto 7 Sep, 2024 @ 8:55am 
I'm going to test it out properly in about a minute, I'll keep you posted
WhiffMaster | Beatbox  [author] 6 Sep, 2024 @ 6:40pm 
I tried with empty inventory, it went to the first available slot and with a full inventory, it fell on the ground, as expected. But I have yet to try on a server with inventory tetris, I'll keep you updated.