Commit Graph

3311 Commits

Author SHA1 Message Date
Pete Goodfellow 18eb119ae2 Merge pull request #1415 from Cheridan/ProjectStormchaser
"Anomaly" Events!
2013-09-25 10:53:21 -07:00
Cheridan 2f7cdd3fde Merge pull request #1430 from Malkevin/sechailer
Sec Hailer: Day 1 bug fixes
2013-09-23 22:05:40 -07:00
Cheridan a1d3680ca2 Merge pull request #1434 from fleure/coils
Fixed cable coils disappearing when combined
2013-09-23 20:59:27 -07:00
Cheridan b184ca473b Merge pull request #1439 from SuperSayu/clickfix
Clickfix
2013-09-23 20:32:39 -07:00
Malkevin 08a8884b0c Merge branch 'master' of https://github.com/tgstation/-tg-station into radcollectors 2013-09-23 22:45:28 +01:00
Cheridan 566e1cc166 Merge branch 'master' of https://github.com/tgstation/-tg-station into pr/1415
Conflicts:
	tgstation.dme
2013-09-23 11:04:33 -05:00
Aranclanos 50fa6e2a00 Merge pull request #1394 from Iamgoofball/aicrewtaketwo
- Added a "Show Crew Monitoring Console" Verb to the AI Commands section of the AI's Verbs.
2013-09-22 23:40:03 -07:00
supersayu 92b0f7d0a4 Fixes mobs not moving pulled objects 2013-09-22 20:29:30 -04:00
iamgoofball a8eed76d9c Fixed the issues Aran pointed out. 2013-09-22 14:31:50 -07:00
Fleure 5b7c4a4364 Fixed cable coils disappearing when combined 2013-09-22 00:50:38 +01:00
Malkevin a111635227 Sec Hailer: Day 1 bug fixes
Added a check to the verb to prevent dead people and ghosts using the masks

Changed the obj sprite for the black mask's eyes from purple to green, to match the mob sprites
2013-09-21 18:37:48 +01:00
Cheridan bac1d6e942 Merge pull request #1390 from Petethegoat/eventzzzzz
Eventzzzzz
2013-09-21 10:25:54 -07:00
Cheridan 5c2b2865e0 Merge pull request #1410 from Petethegoat/fixes
Issue fixes
2013-09-21 10:10:09 -07:00
Pete Goodfellow be1906cb42 Added more feedback to the radiation storm and rampant brand intelligence events. 2013-09-21 17:58:59 +01:00
Pete Goodfellow ff283bbaf8 Changed the vent clog event to garbage collect its reagents instead of deleting them.
Ticked the vent clog and false alarm events into the dme.
2013-09-21 15:13:47 +01:00
Pete Goodfellow 78bbe6eaf7 Merge branch 'master' of github.com:tgstation/-tg-station 2013-09-21 14:46:07 +01:00
Pete Goodfellow bbe26823b1 Merge branch 'femoutfits' of github.com:Incoming5643/-tg-station into unifroms
Conflicts:
	code/modules/mob/living/carbon/human/update_icons.dm
2013-09-21 14:33:08 +01:00
Malkevin 86f843ad60 Merge branch 'master' of https://github.com/tgstation/-tg-station into radcollectors 2013-09-21 11:51:41 +01:00
Cheridan cb3de0d038 Merge pull request #1371 from Malkevin/sechailer
Sechailer mask (now finished)
2013-09-20 13:47:12 -07:00
Aranclanos d51d22cfc0 Merge pull request #1406 from caelaislinn/speech_bubbles
Misc speech bubbles
2013-09-20 04:46:44 -07:00
Aranclanos b536c3e7bd Adds again the NOREACT flag to mobs, I did it like this because it's easier and I'm lazy. 2013-09-20 04:36:07 -03:00
Aranclanos ef427aff91 Merge pull request #1318 from ACCount12/master
Shotgun dart overhaul, #1181 fixed, NOREACT flag removed from mobs
2013-09-20 00:33:36 -07:00
Cheridan 49384f77d0 Final event code cleanup! 2013-09-20 00:28:19 -05:00
Cheridan 882b376eb2 Code Cleanup! Moves Area-finding into a helper, uses a parent anomaly-event datum to cut down on repeated code! 2013-09-19 23:39:32 -05:00
Cheridan d19e7f6493 Converts bluespace events into the anomaly system. Adds some sprites and polishes up some effects
Next up: Moving all of the anomalies into an event subtype to cut down on copied code!
2013-09-19 22:08:04 -05:00
iamgoofball 345b6e0ac5 -Petethegoat is love. Petethegoat is life. Made the procs global, so both the physical computer and the AI use the same proc. 2013-09-19 15:22:16 -07:00
Malkevin ce0828c600 Radiation Collector analyzing
Checking a collector's last power output via analyzers has been moved to multitools, because that actually made sense (betcha didn't know this existed, I know I didn't)

Analyzers can now be used to check the gas level of the tank in a loaded radiation collector (yay no more crowbars)
You can also use them on pipes to check gas levels (yay no more pipe meters)

Codewise, the several inconsistant instances of the analyzer code have been moved to a single proc. The following have been converted to use this:
-Pipes (they didn't have this before. Also changed the attackby code to be less dumb...)
-Pipe tanks (you know those big ones in maint everyone forgets about)
-Portable Atmospherics (canisters, air pumps, scrubbers)
-Flamethrower
-Tanks
-And now collectors
2013-09-19 22:15:11 +01:00
Pete Goodfellow 3a7f90ee79 Fixes #1288. 2013-09-19 15:54:24 +01:00
Cheridan 580294685b Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-09-19 03:22:20 -05:00
Cheridan 115faf4954 Anomaly Neutralization
Anomalies can now be scanned to determine their frequency, and neutralized by sending a signal on that frequency.
2013-09-19 03:20:44 -05:00
Cael_Aislinn 6ab614a323 fixes #1395
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-09-19 15:04:19 +10:00
iamgoofball 5edcf04434 - Anti-Copypasta update. You can also now type "crew" to get to the menu quickly. 2013-09-18 21:48:29 -07:00
ACCount12 1b1e0363a4 compilation error fixed 2013-09-19 15:36:03 +13:00
Incoming c4579407a9 Only standing icons will have female outfits now, both to avoid one time nudity blinking on laying and because clothes don't pull the same way laying down (yeah lets go with that) 2013-09-18 18:11:37 -04:00
Incoming 952b946eff Aesthetic changes to the code to help unmuddy update_icons.dm a bit:
female_uniform_icons is now defined in global_lists.dm
A generate_uniform proc has been made in clothing.dm to handle icon generation
2013-09-18 15:12:24 -04:00
Pete Goodfellow d63dd8fb38 Ports the False Alarm event from Sayustation. 2013-09-18 16:50:19 +01:00
Pete Goodfellow 409e47ac05 Ported the Clogged Vents event from Sayustation.
Adds a silent parameter to /datum/effect/effect/system/chem_smoke_spread/set_up(), which disables admin notification.
2013-09-18 16:47:50 +01:00
Aranclanos 1f6852232b Merged the blood trails from VistaPOWA to the latest tg code 2013-09-17 23:54:53 -03:00
Cheridan 4521b3f882 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-09-17 21:38:31 -05:00
iamgoofball f178254472 Added some lines that accidentally'd when I used the file. 2013-09-17 18:39:07 -07:00
iamgoofball 1a1d11e70f - Added a "Show Crew Monitoring Console" Verb to the AI Commands section of the AI's verbs. 2013-09-17 18:35:36 -07:00
Pete Goodfellow 5b3f08de34 Merge pull request #1370 from caelaislinn/speech_bubble_delay
Resolves #1368
2013-09-17 17:12:06 -07:00
Cheridan b8438e65bd Merge pull request #1206 from SuperSayu/newclick
Click code rework
2013-09-17 16:23:27 -07:00
supersayu a3ba991d2f Additional comments, move some code
Should improve documentation of new and old click code
2013-09-17 19:03:22 -04:00
Cheridan 12b1de9875 Merge pull request #1357 from AndroidSFV/AIphotography
AI Photography
2013-09-17 15:30:10 -07:00
supersayu a993ce62db Bugfixen and minor changes. Fixes #136.
Adjusts the click code to not use client/Click().  The code is largely unchanged, except that it allows the compiler default behaviour of calling atom/Click(), and then forwards the call to mob/ClickOn().  I had some reports that melee combat mixed with movement was behaving oddly, and I believe it may be due to the use of client/Click; the byond documentation says that redefining client/Click() causes additional overhead, and it isn't strictly necessary.

Alters the way double clicks are handled, in an attempt to better handle clickspam, as often occurs during pitched combat.  This may also be responsible for the above, but I don't know.

Inserts proximity (aka flag) checks in all afterattack() procs.  The old assumption was that unless an item used the USEDELAY flag, afterattack() was only called when adjacent, but this is no longer true.  This led to beakers, soap, crayons, etc, all being usable at all ranges.

Removes the NODELAY flag, which was unused.  Removes all existing uses of the USEDELAY flag so that it can be readded to things that need extra delay.

Removes the hand_* procs, previously used by restrained actions.  Instead, the mob helper mob/RestrainedClickOn() has abosrbed basically all the functionality they were used for, which is really only monkeys with jungle fever.

Adds a special case of the Adjacency() proc for doors.  This fixes #136, airlocks being unreachable due to border fire doors.  However, this only takes us back to the unpleasant position where you have to open-hand the door, switch to a crowbar, and pry open the firedoor; it still needs a better fix.
2013-09-17 18:19:14 -04:00
supersayu 4c44e7cd89 Glove update
Integrates gloves into click code.  Gloves now have a proc/Touch(atom, proximity) which is called before humans do an attack_hand().  It can also occur when you click on something at range, so be sure to check the proximity flag.

Adds code to make ninja gloves work properly with this and pulls it out of the various attack_hand() procs.

Other suggested uses: secret society rings, magic/cult gloves, weaponized gloves (chemical, electric, needles, etc), powered exosuit hands (for picking up crates), I dunno, there are options
2013-09-17 18:19:13 -04:00
supersayu 65ba47d872 Fixes #1164 2013-09-17 18:19:12 -04:00
supersayu 1d6c3dfd9f Rebase past 6e83288a78 to fix conflicts 2013-09-17 18:19:11 -04:00
supersayu c172e52dce Adds telekinesis to click code. Fixes issue #1202, #1129, #247.
This adds two atom procs, attack_tk() and attack_self_tk().  attack_tk is used as per attack_hand; attack_self_tk exists on all atoms (not just items) but is similar to the item proc, but without the assumption that it is in the user's hand.

Removes the functionality where entering throw mode would create a tk grab, as it is redundant.

As a default, attack_tk does the following:
* Creates a telekinetic throw for items and un-anchored objects
* Does an attack_hand (paw, animal, etc) for anchored objects
* Does nothing to mobs

As a default, attack_self_tk does nothing.  An attack_self_tk was added to closets to open and close them since that's a common thing.

The following items have added attack_tk procs:
* Fire axe cabinet, extinguisher cabinet, and bedsheet bin will drop into their square instead of putting it in your hand
* Doors only open telekinetically if they require no access
* Chairs will rotate if nobody is buckled to them
* Filing cabinets will remove a paper at random.
* Tables and racks return to prevent telehulk smash

This is INCOMPLETE.  Adding proper TK interaction to everything is something best done in pieces.

In particular, interacting with mobs and items both open up the floodgates for bugs, so we/I need to decide how we want it to go before we commit, and then fix bugs along the way.  Stumbling forward, fixing bugs, and then changing course halfway would be a bad idea.
2013-09-17 18:19:09 -04:00