mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
- More work on the new click proc. Added a 1s delay for all hand interactions:
- Added an exception for the application of a delay when you're targeting an item that you are holding. So there is only a 100ms delay when putting items in your backpack, taking them out, juggling stuff in your inventory, etc. It was about 1s before. So the delays between uses are now: - When targeting items that you aren't holding: - - items with USEDELAY: 2s delay - - items with NODELAY: 0.1s delay - - items with neither: 1s delay - When targeting items that you are holding - - all items: 0.1s delay There is one more problem with pathfinding where windows don't properly block clicking. This is the last thing that needs to be addressed, then it should finally be ready. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2446 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@
|
||||
#define SUITSPACE 8 // suit protects against space
|
||||
|
||||
#define USEDELAY 16 // 1 second extra delay on use (Can be used once every 2s)
|
||||
#define NODELAY 32768 // 1 second attackby delay skipped (Can be used once every 0.2s). Most objects have a 1s attackby delay, which doesn't require a flag.
|
||||
#define NODELAY 32768 // 1 second attackby delay skipped (Can be used once every 0.2s). Most objects have a 1s attackby delay, which doesn't require a flag.
|
||||
#define NOSHIELD 32 // weapon not affected by shield
|
||||
#define CONDUCT 64 // conducts electricity (metal etc.)
|
||||
#define ONBELT 128 // can be put in belt slot
|
||||
|
||||
Reference in New Issue
Block a user