Commit Graph

94 Commits

Author SHA1 Message Date
phil235 91839f5f70 Action buttons will now only update when needed instead of every Life().
The action buttons now update their icon instantly.
Fixes versions of pickup(),equipped() and dropped not calling the parent.
Fixes drone not being able to remove a defib from their storage.
You can now cycle the mime mask by clicking it in your hand.
The action buttons for hardsuit and hooded suits now only appears when you're wearing the suit.
Created two mob helper procs getBeltSlot() and getBackSlot().
Created /datum/species/proc/on_species_loss() to handle stuff when our race change, currently only used by jelly and slime race to remove their exotic blood from our reagents and to remove slime people's action buttons.
2016-02-22 00:34:59 +01:00
Bjorn Neergaard 85e80780ce Fix storage runtime
Mobs without clients can't see into storage! They have no screen!

The following runtime has occured 92 time(s).
runtime error: Cannot read null.screen
proc name: show to (/obj/item/weapon/storage/proc/show_to)
  source file: storage.dm,104
  usr: Leo Pfeifer (/mob/living/carbon/human)
  src: the backpack (/obj/item/weapon/storage/backpack)
2016-02-10 07:20:25 -06:00
KazeEspada 9980018b2a Storage items now drop loot upon destruction.
Lockboxes can now be blown open.
2016-01-31 13:01:36 -07:00
Firecage 754491ce4c Changes relatives paths into absolute paths and makes some if()'s better 2016-01-17 01:36:56 +02:00
KorPhaeron 50e4e77250 Fixes UI stuff 2015-12-09 21:37:18 -06:00
phil235 9c3d5ae3c7 Fixes runtimes with augmented_eyesight refund, atom/movable/Bump(), fleshmend, spraycans, PDA messaging, remove_from_storage(), and gun burstfiring. 2015-10-11 17:18:31 +02:00
bear1ake f697ae90f5 removes a bunch of .0 2015-09-10 20:57:30 +09:00
c0 df7386a4ec Assemblies update 2015-09-04 11:22:37 +03:00
duncathan 51c09f16bf makes all Destroy()'s return properly 2015-08-31 00:21:01 -06:00
Aranclanos dd6e735e71 The remove_from_storage() call from handle_atom_del() will stop dropping the objects on null, to avoid having other storage objects with items inside in a null location. 2015-08-21 07:14:56 -03:00
Aranclanos 6f4c89c5ff Fixes the nuclear disk from not spawning under really specific circumstances 2015-08-21 05:22:20 -03:00
Swag McYolosteinen 825b5794c7 Merge pull request #11239 from Firecage/del2qdel
del() to qdel()
2015-08-19 11:50:24 +02:00
Remie Richards 7453449531 Merge pull request #10975 from bustygoku/Backpacks-Slotstuff
Changes Backpack Slotcount to 21
2015-08-18 20:14:16 +01:00
Firecage dfae1e0b53 Changes a lot of del() to qdel() 2015-08-16 23:33:22 +02:00
Remie Richards eedea4d281 Merge pull request #11018 from Core0verload/hammerspace
New traitor item: storage implant
2015-08-12 14:45:23 +01:00
Remie Richards 9fb63dbec9 Fixes items that survive a storage container's destruction keeping the storage mouse_opacity 2015-08-07 23:02:28 +01:00
phil235 4e5be438cd Merge pull request #10990 from RemieRichards/StorageUnequipUsability
Storage Item Click Usability Improvement
2015-08-05 00:07:01 +02:00
c0 bd8d70ec26 New traitor item: storage implant 2015-08-04 18:28:38 +03:00
Remie Richards db22dd672e Merge pull request #10962 from Core0verload/weneedtogodeeper
Removes some annoying inventory tetris with storages in storages
2015-08-03 17:15:11 +01:00
Remie Richards 786709093c Makes it so clicking on the storage window of a storage item (backpack,box) acts as if you clicked the item, removing it from the storage, and equipping it, NO MORE PIXEL HUNTING! 2015-08-02 20:59:02 +01:00
bustygoku 1d0b41b23a Changes Backpack Slotcount 2015-08-01 11:29:59 -07:00
c0 d70acbc7a8 Second level storages are not closing on mob movement 2015-08-01 02:59:06 +03:00
phil235 dbd53fbf10 Fixes runtime when obj/item/weapon/storage and facehugger call throw_at() 2015-07-29 13:28:07 +02:00
xxalpha 8e00cdfe9a Fixed storage not updating when joining cable coils.
Fixed stack objects not updating storage when deleted.

Added handle_atom_del proc to be called on destroy.

Label comment for handle_atom_del()
2015-07-22 17:58:05 +01:00
LaharlMontogmmery 86d0a50776 Revert dump_act and dump_from_storage 2015-06-18 21:21:41 +02:00
LaharlMontogmmery 3eb11eb48f Add extra rustling. Also adding mouse_over for lockers. 2015-06-18 19:55:15 +02:00
LaharlMontogmmery 38ab424b8b More OOP! Also preparing the bases for another future PR. 2015-06-18 18:59:04 +02:00
LaharlMontogmmery 373c918a4a Going through some hOOPs - bit of a overhaul. 2015-06-18 17:40:35 +02:00
LaharlMontogmmery dd25853085 Moved all the istype check to storage_contents_dump_act, and added children for that proc for lockboxes and safes/briefcases 2015-06-17 20:28:40 +02:00
LaharlMontogmmery 07c3de821e The bag UI actually refreshes properly now. 2015-06-16 22:03:16 +02:00
LaharlMontogmmery 0a9db72857 Put the content transfer code into a proc, for maintainability 2015-06-16 21:26:45 +02:00
LaharlMontogmmery 73af6fabb6 Check Adjacence + expanding the restraint/Stat check 2015-06-16 19:15:32 +02:00
LaharlMontogmmery 33497c75f6 Placed the code at the wrong place. Woops! Also fixed the bin check and the UI for the bags 2015-06-16 00:08:19 +02:00
LaharlMontogmmery 4dd2887b74 Committing base Changes 2015-06-15 22:07:30 +02:00
kingofkosmos 1d14471d00 Ellipses to waiting messages. Warning-spanclasses to failing messages with an exclamation mark. 2015-04-24 20:50:50 +03:00
Remie Richards 5fc7af7fbf attackby() now has an argument containing the parameters of the click that called it. Items placed on tables now center their icon where the user clicked. this is NOT true for racks, since racks look organised in their sprite.
Items reset their pixel_x and pixel_y values on pickup.
2015-02-19 13:02:43 +00:00
paprka 8bde2dea03 crossbow, speargun, and grenade updates 2015-01-13 20:00:58 -08:00
paprka 46ee047404 further changes to the ranged stun system 2015-01-01 22:22:03 -08:00
Menshin 4db3268fcb Fixes runtime when moving objects in/out storage while a clientless mob is peeking on the storage panel 2014-12-31 01:54:25 +01:00
MrPerson 2b763f18c1 Always reset the layer of things removed from storage
Fixes #6470
2014-12-19 09:42:06 -08:00
Swag McYolosteinen 1d6a7cf031 Merge pull request #6106 from Razharas/StorageFix
Fix for storages and equip
2014-12-03 17:50:58 +01:00
Remie Richards 88ad308825 Merge pull request #6144 from Menshin/storage_calling_super
Made obj/item/weapon/storage call ..() on New()
2014-12-03 16:38:43 +00:00
Menshin efb50e374a Made obj/item/weapon/storage call ..() on New() 2014-11-30 03:14:49 +01:00
Razharas 876a5b1bfb Fix for storages and equip
Yeah
2014-11-27 19:28:03 +03:00
tkdrg e03c5129da Makes storage items update properly on insertion
Previously, it would only update the storage view for usr, so it would
look wrong to any other players which are interacting with the same
storage item at the same time.
2014-11-20 14:00:17 -03:00
MrPerson c159878ace Throwing bugfixes
Removed an unused client verb, changed a usr to src where they're the same mob, and changed a type == check to istype().

Allow turning on throw mode when clicking the UI button (hotkeys already allow you to do this).
Disallow throwing when not on a turf.
Fixes #4823

Make storage items close out the onscreen stuff when they get thrown.
Fixes #5296
2014-11-09 00:29:20 -08:00
phil235 128c9222e5 Adding checks for stun, restrained to many object verbs.
Fixing paper and supply manifest description upon examination.
Fixing being able to adjust jumpsuit while restrained.
Fixing one typo.
2014-11-01 19:18:01 +01:00
phil235 dd7a3b7fbc Merge branch 'master' of https://github.com/tgstation/-tg-station into Msg1Fix
Conflicts:
	code/modules/admin/admin_verbs.dm
2014-10-05 13:48:11 +02:00
Cheridan 08be1b34eb Revert "Changes a few green crosses to blue on sprites that I missed last time" 2014-10-04 19:22:10 -05:00
phil235 537280b4b9 Removing many instances of the no longer used second argument of message_admins() proc.
Replacing "for(var/mob/M in viewers()) M.show_message()" by "visible_message()" or audible_message()" in many places.
Changing a few span classes.
2014-10-05 01:29:30 +02:00