mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-30 16:16:17 +01:00
Refresh problems and hotkeys
Ooohkay, so I added a bit more to this while fixing the issue with the backpack module select screen not refreshing when you stored items. I did a pass over the hotkeys! Hurray! All right. Lets do this: Key X Previously, this hotkey wouldn't start cycling if your first inventory slot wasn't filled. So if you had slots 2 and 3 full, but 1 empty, clicking X would do nothing. Now it works how you'd expect. It cycles if you have something selected, and if you have nothing selected, it selects the first item. Key C This deselects everything, leaving you able to interact with computers and distant AI objects. Previously, to do this you had to click on an empty area of your selected module. It was very awkward. Key V This stores your currently selected item. Key Q Previously this would just tell you that you weren't allowed to drop items as a robot. Now it toggles your inventory open or closed. Key 1,2,3 Previously hitting 1 would activate Help intent, and 4 would activate Harm intent. Robots have only two intent types, making the toggle key F more useful. These now select the respective modules. I also revised how clicking on items in the backpack works. Now, clicking on an item in the module storage, with a tool selected, will hot-swap the item into your current module. Taken together, these changes reduce an enormous amount of unnecessary clicking.
This commit is contained in:
@@ -180,13 +180,15 @@
|
||||
user.put_in_active_hand(src)
|
||||
return
|
||||
|
||||
/obj/item/attack_ai(mob/user as mob)
|
||||
|
||||
/obj/item/equip_robot(mob/user as mob)
|
||||
if (istype(src.loc, /obj/item/weapon/robot_module))
|
||||
//If the item is part of a cyborg module, equip it
|
||||
if(!isrobot(user)) return
|
||||
var/mob/living/silicon/robot/R = user
|
||||
R.activate_module(src)
|
||||
R.hud_used.update_robot_modules_display()
|
||||
return TRUE
|
||||
|
||||
// Due to storage type consolidation this should get used more now.
|
||||
// I have cleaned it up a little, but it could probably use more. -Sayu
|
||||
|
||||
Reference in New Issue
Block a user