Commit Graph

190 Commits

Author SHA1 Message Date
Giacomand
6b68a7245d * AIs can no longer intercept messages randomly. Instead they can use the Message Monitor by getting their cyborg to get the keypass.
* The Captain's PDA no longer starts off, instead their PDA is detonation proof.
2013-11-15 14:17:53 +00:00
Giacom
bafd52f8da Merge pull request #1650 from AndroidSFV/fix230
Resolves #230
2013-10-28 05:40:37 -07:00
Giacom
eac041f23f Merge pull request #1614 from JJRcop/mmi-extract
Adds the ability to safely deconstruct cyborgs
2013-10-26 11:28:24 -07:00
AndroidSFV
160e981a1a Fixes #230. Problem was with formatting of the output. 2013-10-25 11:53:52 -05:00
supersayu
799c7ad2ce Replaces atom/HasEntered() with the builtin atom/movable/Crossed()
Crossed() is a byond builtin which is called automatically when two movable atoms overlap (as a side effect of Move(), but not when loc or x/y/z is changed).  Previously, turf/Entered() iterated through all objects in the turf in order to tell them an object had entered; with this change, HasEntered() becomes redundant and can be eliminated.

This may reduce lag when a large number of objects are moving in a small space (singularity, mining conveyors, etc) but should cause no changes to functionality at all.
2013-10-23 16:20:20 -04:00
JJRcop
002496038c Cyborg construction now stores endoskeleton for deconstruction to use
When you construct a cyborg now, the endoskeleton is stored in the mob, where before it was deleted.
Cyborg deconstruction now checks if there is a stored endoskeleton. If there is, it deconstructs it. If there isn't, it spawns new parts like before.
Also, there is now a burn_out proc for flashes, since the feature was previously copypasta.
2013-10-22 16:18:16 -04:00
Robson Richards
1c70008d0c Changes Limbs into Obj's
Reworked all the paths for it
Reworked all the procs for it
2013-10-11 19:11:55 +01:00
MrPerson
38fe6d7a02 Merge pull request #1542 from Giacomand/remove_radio_icon
Removed the radio icon from radio chat.
2013-10-10 15:31:07 -07:00
Giacomand
838b1167ba * Removed the radio icon from radio chat. 2013-10-09 20:14:14 +01:00
Mloc-Argent
9de132a0a3 Small fixes and a new atom flag.
* Fixes the ( shaped cyan wire
* Fixes a luminosity bug with glowshrooms.
* Changes a ridiculous internal loop in intercoms to use the MC.
* Makes intercoms not be bloodied by bloody hands.
* Adds a "NOBLOODY" flag for atoms that don't want to be bloodied.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-10-08 20:15:55 +01:00
KazeEspada
da5ff1aca6 Merge branch 'master' of https://github.com/tgstation/-tg-station into computers 2013-09-24 14:07:51 -07:00
Cheridan
87ed1a2e1f Merge pull request #1417 from fleure/janitor
Janitor PDA now locates the cart, removes old bucket locator
2013-09-23 21:17:41 -07:00
Malkevin
8f08a2e13f Updated the proc to allow it function on objects other than the target.
Changed PDAs to use the proc
2013-09-24 00:27:43 +01:00
KazeEspada
38d7374bc2 Makes circuits into type paths. Dna modifiers had a bad string that showed up when converted into a type path. Power monitors are now actually computers. Makes smashing computers red. 2013-09-21 14:41:50 -07:00
Fleure
760589cd35 Janitor PDA now locates the cart, removes old bucket locator 2013-09-21 01:21:13 +01: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
Cheridan
899a53787a Removes an unused var defined for every obj. 2013-09-03 09:38:30 -05:00
Aranclanos
9f1803aae4 Merge pull request #1270 from caelaislinn/terbs_weekly_fun
Terbs weekly fun #2: Laser pointers
2013-09-01 17:55:49 -07:00
Cael_Aislinn
35f5fbf17e adds laser pointer, makes RD + lawyer + librarian spawn with one, makes laser pointer a steal objective
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-09-01 13:42:28 +10:00
Fleure
cb7b0f9be1 Added empty line between "Update PDA Info" and time 2013-08-30 20:35:16 +01:00
VistaPOWA
94d5e5ecba Fixes attached voice analysers not listening
The voice analyser will listen to the keyword now even when not secured
(enabling it to be directly used on grenade casings and tank transfer
valves).

Adds missing related proc to tank transfer valve.
2013-08-28 01:53:26 +02:00
Cael Aislinn
7071343b81 Merge pull request #1191 from Cheridan/PDA
PDA Painter Machine
2013-08-26 07:58:37 -07:00
Cael Aislinn
6661ce81b9 Merge pull request #1205 from dumpdavidson/emp_overhaul
EMP-kit
2013-08-23 06:57:51 -07:00
Cheridan
d44873546f Merge pull request #1183 from Tenebrosity/consistenttimeanddate
Fixed #721 - Consistent time and date
2013-08-22 22:35:16 -07:00
dumpdavidson
55f7f2a1d5 Adds a special flashlight that can be used five times to directly inflict strong EMP on an object or mob at close range. 2013-08-21 20:51:02 +02:00
Cheridan
43d85cc5c0 PDA Painter Machine
-Adds the PDA painter, which lets you change the appearance of the inserted PDA. Good for job-changes and possibly traitor disguises?
-Cleans up pda.dmi, moves the ai card and pai device sprites to their own .dmi. PDA box sprite moved to storage.dmi where it belongs.
2013-08-19 23:47:07 -05:00
Cheridan
bfeef72660 Merge pull request #1102 from Aranclanos/Linda
Linda.
2013-08-18 15:27:23 -07:00
Jesus Hussein Chris
51e4c0bb3f Merge branch 'master' of https://github.com/tgstation/-tg-station into time 2013-08-18 11:03:13 +12:00
Jesus Hussein Chris
2756405cd2 Makes times and dates consistent. Adds date to PDA. 2013-08-17 04:19:41 +12:00
Giacomand
1a19dd6142 Merge pull request #1114 from Carn/data_records
Helper proc /proc/find_record(field, value, list/L)
2013-08-14 16:35:04 -07:00
carnie
ffa9bb51cd Helper proc /proc/find_record(field, value, list/L)
It will search list/L for a /datum/data/record with fields[field] == value, and return it.

This removes a vast amount of copypasta (there's still so much left in there though). It also removes all the locate(\ref[record]) I could find, which were normal used with topic(), meaning it was susceptible to abuse.

Secbots, ed209s and turrets are now smarter with their record-checks. They now prefer to use our face-name rather than id-name. ICly, this is the bot using facial recognition. This fixes an issue where it'd try to use the name variable which could be in the format "Unknown (as their id name)" when they were disfigured, etc. causing record-lookup to fail.

Additionally, these bots will treat those without a valid record in the security database, to be treated like criminals.
2013-08-11 12:49:55 +01:00
Cheridan
5f2e14cd55 Merge pull request #1094 from Giacomand/cham_cleanup
Chameleon Projector Cleanup
2013-08-10 21:26:32 -07:00
Aranclanos
0ce01d1583 Adding Linda. 2013-08-10 06:15:14 -03:00
Giacomand
c2af6e1a62 * Cleaned up chameleon projector code.
* Added a Del() to the projection which will disrupt the chameleon projector, before being deleted by acid or a drill (killing the person inside).
 * Made chameleon projectors disrupt if moved from the hand, to make it consistent. Currently you could put them in pockets but if you picked them up it would disrupt. Fixing this would involve changing all use of dropped() so instead I made them disrupt when equipped and, due to how dropped() works, when they switch hands. Lowered the disrupt cooldown to make up for this.
2013-08-09 01:00:55 +01:00
Giacomand
ef5f2f4b1d Merge pull request #1077 from Carn/misc
Misc
2013-08-08 11:37:38 -07:00
carnie
3317aa9fe3 Merge branch 'master' of github.com:tgstation/-tg-station into FUTURE_DNA_2
Conflicts:
	code/game/dna.dm  <-- leave this shit alone unless it's a small-tidy change. ffs.
2013-08-06 09:54:24 +01:00
Giacomand
ad8c525218 * Added buttons to the syndie uplink which will reveal/hide the description of the items. [?] [X]
* Fixed being able to order items with an inactive uplink.
 * Shortened the name of an uplink item to make room.
 * Removed the (?) from the Random Item to help avoid confusion with the new buttons.
2013-08-06 05:57:11 +01:00
carnie
e7b586a095 Replaced organ helper procs with a single more versatile and strealined one. 2013-08-01 14:42:32 +01:00
carnie
02be173c60 Renamed variables:
b_type to blood_type
h_color to hair_color
f_color to facial_hair_color
f_style to facial_hair_style
h_style to hair_style
2013-08-01 13:48:41 +01:00
Tenebrosity
c37c7b52ca - Adds descriptions to uplink items explaining their use, as per a post in the minor suggestions thread. 2013-07-30 02:47:22 +12:00
Malkevin
2e8a41f186 Merge branch 'master' of https://github.com/tgstation/-tg-station into detectivebeepski
Conflicts:
	html/changelog.html
2013-07-24 20:43:13 +01:00
Malkevin
f88ffadc5f Removed all the spawn()s for PDA radio functions, seems to work fine. 2013-07-16 18:44:46 +01:00
Malkevin
deb3f70dec Merge branch 'master' of https://github.com/tgstation/-tg-station into detectivebeepski 2013-07-16 18:17:55 +01:00
Giacomand
0603a090ad * Optimized how the multitool found AI cameras by using the camera chunks. 2013-07-15 10:12:52 +01:00
Giacomand
3c811c6150 New Uplink Item: The AI detector is a multitool that will turn red when an AI camera is 7 or less tiles away from the multitool. The AI detector will cost 1 TK. 2013-07-15 09:38:45 +01:00
Cael Aislinn
e5344a1f94 Merge pull request #914 from Giacomand/health_ana
Updated the health analyser interface to be more usable.
2013-07-13 03:44:06 -07:00
Giacomand
3471ee8404 Updated the message you get after trying to analyze the floor. 2013-07-10 07:09:05 +01:00
Giacomand
076261336c You can now drag your radio to you to open the interface. 2013-07-07 23:49:45 +01:00
Malkevin
86041c381d Securitron access to the DETECT cartridge
My thinking behind this is ff the detective isn't meant to arrest people himself but is meant to call for back up instead, why not give him access to back up that will actually show up?

Also added SecBot access to the Captains for no reason other than he's the Captain and he should be getting his hands dirty.
Also is the captain's PDA meant to have access to all pda functions? Because I've noticed theres a few missing.
2013-07-07 23:03:23 +01:00
Giacomand
2496684ff2 Burns to Burn, to be more consistent. 2013-07-04 13:36:05 +01:00