Inventory suggestion
-
- Joined: Fri Jul 17, 2015 9:52 am
- Byond Username: Hspace
Inventory suggestion
The way the current inventory is coded is that you have to click on an item to equip it.Clicking on the storage slot does nothing.It is difficult sometimes to equip certain small items like energy blades pieces of wires or other pixel thin items.So my suggestion is that you are able to equip items by clicking on the storage slots instead of clicking on the actual items.
- CPTANT
- Joined: Mon May 04, 2015 1:31 pm
- Byond Username: CPTANT
Re: Inventory suggestion
would be great for those tiny items like e swords, I frequently miss click those in the heat of battle.
Timberpoes wrote: ↑Tue Feb 14, 2023 3:21 pm The rules exist to create the biggest possible chance of a cool shift of SS13. They don't exist to allow admins to create the most boring interpretation of SS13.
- MisterPerson
- Board Moderator
- Joined: Tue Apr 15, 2014 4:26 pm
- Byond Username: MisterPerson
Re: Inventory suggestion
This is one of those "why the fuck don't we already do this???" type suggestions that annoys the shit out of me whenever I remember it isn't the case.
I code for the code project and moderate the code sections of the forums.
Feedback is dumb and it doesn't matter
Feedback is dumb and it doesn't matter
-
- Joined: Thu Mar 26, 2015 12:06 am
- Byond Username: Amnestik
Re: Inventory suggestion
Yeah, I was having trouble adding clips to the detective's shoulder holster about twenty minutes ago.
- Stickymayhem
- Joined: Mon Apr 28, 2014 6:13 pm
- Byond Username: Stickymayhem
Re: Inventory suggestion
Even pockets work like this.
This is why I always keep my esword in my pocket. It's just backpacks and other shit that don't.
This is why I always keep my esword in my pocket. It's just backpacks and other shit that don't.
Boris wrote:Sticky is a jackass who has worms where his brain should be, but he also gets exactly what SS13 should be
- Steelpoint
- Github User
- Joined: Thu Apr 17, 2014 6:37 pm
- Byond Username: Steelpoint
- Github Username: Steelpoint
- Location: The Armoury
-
- Joined: Tue May 20, 2014 6:53 pm
- Byond Username: Cheimon
Re: Inventory suggestion
Yes, this is a good idea, I still miss things like the security belt when putting handcuffs in it and get spammed with "you can't equip that!".
It would make the UI a lot harder to misclick, which can only be a good thing.
It would make the UI a lot harder to misclick, which can only be a good thing.
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: Inventory suggestion
IIRC the only reason this doesn't exist already is because it would require a rewrite of inventory code or something and nobody's willing to do it
Whoever adds it is pretty much gonna be the hero of the /tg/ codebase forever
Whoever adds it is pretty much gonna be the hero of the /tg/ codebase forever
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Inventory suggestion
It doesn't require major work.PKPenguin321 wrote:IIRC the only reason this doesn't exist already is because it would require a rewrite of inventory code or something and nobody's willing to do it
Whoever adds it is pretty much gonna be the hero of the /tg/ codebase forever
Code: Select all
/obj/screen/inventory
var/slot_id //This lets us work out what slot on the mob has the item.
/obj/screen/inventory/Click()
var/obj/item/I = usr.get_item_by_slot(slot_id)
if(I) //Item in slot
I.attack_hand(usr) //Pickup item.
else
do_the_usual_junk()
EDIT
Ok I can't quite believe this but... this is already the case!
Like... have we all been under mass hysteria? Clicking the inventory slot ALREADY EQUIPS THE ITEM TO YOUR HAND.
unless I'm getting excited over nothing and you guys mean some other aspect of our messed up inventory...?
私は完璧
- Remie Richards
- Joined: Thu Apr 17, 2014 7:11 pm
- Byond Username: CrimsonVision
- Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
- Contact:
Re: Inventory suggestion
https://github.com/tgstation/-tg-station/pull/10990
Here you go, Backpacks/Boxes/Any Storage Item now allow you to click around the item to grab it, instead of pixel hunting.
Here you go, Backpacks/Boxes/Any Storage Item now allow you to click around the item to grab it, instead of pixel hunting.
私は完璧
- PKPenguin321
- Site Admin
- Joined: Tue Jul 01, 2014 7:02 pm
- Byond Username: PKPenguin321
- Github Username: PKPenguin321
- Location: U S A, U S A, U S A
Re: Inventory suggestion
i fucking love youRemie Richards wrote:https://github.com/tgstation/-tg-station/pull/10990
Here you go, Backpacks/Boxes/Any Storage Item now allow you to click around the item to grab it, instead of pixel hunting.
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Who is online
Users browsing this forum: No registered users