I've got a headache but I did it. Enemies steal any item that isn't your currently equipped weapon. It's probably the hackiest code I've ever written but that's because inventories contain 3 kinds of weapons and equipped items aren't in your inventory so I have to iterate over 4 different arrays, then compare the 4 resulting highest values, then use the right function to take that item from the player and give it to the enemy (who then probably erases it like a dumbass but hey not my problem)
me: ok fine im getting tired of this not working like i want and it's open source. i know java. i'll just install eclipse, add a few lines of code and it'll be great fun
eclipse: java not found
i have like 3 different java installs, for x86 and x64. something tells me this is going to be a harder task than "open it in eclipse and add a few lines of code"
I moved to efdn sorry
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!