Commit Graph

991 Commits

Author SHA1 Message Date
Pete Goodfellow fed03de04f Merge pull request #194 from Giacomand/href_exploit_fix
Uplink Update: Added datums for uplink items. This allows you to easily add items to the uplink in a maintainable manner.
2013-04-09 17:11:15 -07:00
Giacomand f49bef35ba * Added a two config options which allows you to disable the AI and Cyborgs from being able to vocally speak, except for AIs using the holopad.
* Added a new proc called IsVocal(). Only used by the new system so far but it will allow you to use it to stop mobs from being vocal.
2013-04-08 21:53:41 +01:00
Giacomand 26e29a44c1 Uplink Update:
* Added datums for uplink items. This allows you to easily add items to the uplink in a maintainable manner.
 * This fixes the href exploit which allowed traitors to spawn any item they wish.
 * Made the uplink interface still show unbuyable items, but grayed out.
 * After unlocking your PDA, it will return to the main menu; this will help stop metagamers.
 * Your password will be trimmed, meaning that entering "213 Alpha " will be correct and won't set it as your ringtone.
 * Replaced all the old uplink code, which is useless now.
 * Changed all the feedback procs to instead use the uplink datum's name. This is important if you are keeping track of stats.
 * Moved the bundle uplink item to the "Badass" category.
2013-04-02 01:02:54 +01:00
Cael Aislinn a2455e66d0 Merge pull request #186 from Carn/Issue116
Resolves #116 - PDAs can only be used when in the user's contents, as op...
2013-04-01 10:10:48 -07:00
carnie 6667c21548 Resolves #116 - PDAs can only be used when in the user's contents, as opposed to previous behavior where it could be in any mob's contents or on the floor. 2013-04-01 04:42:01 +01:00
Pete Goodfellow c31eb95912 Fixes PDA and bag names. 2013-03-31 14:34:51 +01:00
Tastyfish 806d784b16 Moved backend and UI functionality into the datum/song class and made in generalizable for special-case functionalities for player checks, etc 2013-03-20 04:52:17 -04:00
Tastyfish e6efe1a82d Updated the violin to use the new UI style and datum, and fixed a bunch of dialog updating bugs within. Fixed a couple buttons to work before song created, that should, such as import song. Changing tempo works more naturally now. 2013-03-18 21:29:08 -04:00
Aranclanos e62295e98e Made the effects of EMP pulses get garbage collected. Less lag on the singularity (around 20 effect del per 5~10 seconds) 2013-03-13 00:08:20 -03:00
petethegoat@gmail.com 8ff7285645 Updates HUD stuff!
The main goal was to remove all the pointless shit in the UI style dmis, but this commit actually goes a bit deeper than that.

Formally renames the "hurt" intent to "harm", in line with everything else in the world.

Removes the old screen1_... .dmis. They've been replaced with screen_... .dmis. They function much the same.
screen_gen.dmi is used for things which apply to multiple UI styles, such as storage slot sprites, or the intent selector. (These can still be overridden in HUD code, though.)

Item action buttons have been changed to use a template from the UI style, and the icon_state of the item.
var/icon_action_button has been removed- varvar/action_button_name must be used instead to add action buttons for items.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5826 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-08 21:32:00 +00:00
giacomand@gmail.com a3b74c9d2b - Multiple runtime fixes.
- Moved some fingerprint procs to detective_work.dm.
 - Removed some unnecessary del() usage in the detective code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5800 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-02 01:19:02 +00:00
johnsonmt88@gmail.com 0ea1c9c050 The nuke disk is no longer able to be scanned, and therefore duplicated, by the chameleon projector. Fixes issue 1265.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5799 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-02 01:00:25 +00:00
giacomand@gmail.com 46dc7d6084 Committing Faerdan's UI overhaul. Includes a UI browser class to easily manage and standardize user interfaces. This first release does not convert all the user interfaces in the game but only most of them. You can find samples of these user interfaces here: http://imgur.com/a/5dr6E
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5794 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-27 20:02:42 +00:00
d_h2005@yahoo.com 629212c228 Fixes issue 1297. Changes the singularity beacon drop from /devices/radio/beacon to just a /device.
Fixes issue 1347. If you can really call it an issue.
Removes the multitool's second desc. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5782 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-25 20:48:32 +00:00
giacomand@gmail.com 225c1ae38a - Fix for radio/wire runtimes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5740 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-19 18:03:19 +00:00
petethegoat@gmail.com 58c7f79398 Moved
var/obj/item/weapon/back
var/obj/item/clothing/mask/wear_mask
var/obj/item/weapon/tank/internal

from /mob to /mob/living/carbon.

/mob/proc/abiotic() no longer does any extra checks even if full_body == 1.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5722 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 18:53:09 +00:00
d_h2005@yahoo.com a5bec908b0 -Renames experimental weapons crate to incendiary weapons crate. It was being confused with the experimental energy gear crate (and truthfully there's not much that's "experimental" about a flamethrower an engineer can make in 2 minutes from scrap parts)
-Changes some other item names and descriptions.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5717 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-16 18:20:49 +00:00
petethegoat@gmail.com 75a7d34ec9 Committing datum based surgery proper. There's a brief explanation in surgery.dm, if you want to know how it works.
Basically, surgeries are now initiated by bedsheets or surgical drapes, and consist of separate steps.
Appendicitis is sort of hacky, but it should work for now. I'll update it when I add processing organs.

Added getbrain() and getappendix() procs, which can be used instead of checking the old (now missing) x_op_stage variables.

Added a surgical apron, using old sprites by matty.

Updated the map:
Removed the note with spell descriptions from the wizard's den for Kor.
Updated the operating room.
Updated xenobio to have appropriate tools for slime surgery.

Path changes:
/obj/item/brain > /obj/item/organ/brain
/obj/item/weapon/reagent_containers/food/snacks/appendix > /obj/item/organ/appendix
/obj/item/weapon/reagent_containers/food/snacks/appendix/inflamed > /obj/item/organ/appendix


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5703 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-14 01:20:58 +00:00
petethegoat@gmail.com a1ac5f0e66 Renamed /datum/organ/external to /datum/limb.
Updated all files.

Removed the skeleton and skin organs.

Updated WIP surgery.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5689 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-11 18:52:33 +00:00
ericgfwong@hotmail.com 0c79eb522a -Implants can now be surgically removed.
-Revheads can once again re-convert de-converted revs (that are not loyalty implanted)
-Updated changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5683 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-10 19:01:16 +00:00
giacomand@gmail.com fd46342093 - Fix to radio runtimes.
- Improved admin logging for NTSL a bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5674 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-08 23:36:47 +00:00
giacomand@gmail.com e03fed2b44 - Added a simple way to modify which PDAs should be viewable in a list. Fixes Issue 1283.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5672 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-08 19:47:17 +00:00
giacomand@gmail.com 6dca01967a - Converted two more wires to the datum wires. APCs and Radios (and intercoms) now use wire datums and can have signalers attached to them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5670 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-08 16:40:56 +00:00
aranclanos@hotmail.com a2b5256121 You might hate it. You might despise it. It's ugly. It's hacky. But you had 6 months to fix this issue.
-pAIs are no longer deaf to sounds and they see emotes.
The pAI mob now follows the card just like the AI eye tracking someone or a ghost using the verb follow.
I do not close the issue because intellicards are not fixed yet.
-Added a "On/Off" for some things on the pAI interface
-Fixed some really obscure runtimes about a human using the pAI card interface when the pAI is dead.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5661 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-07 01:04:54 +00:00
giacomand@gmail.com ba64e33122 Committing DAL_TG lighting tweaks for carn.
http://forums.nanotrasen.com/viewtopic.php?f=16&t=12096

> UpdateAffectingLights() is a bit less silly. It now uses oview() to find lights which could be shining on it. It only searches a maximum of LIGHTING_MAX_LUMINOSITY_STATIC-1 away from itself, as this is all it needs to do (reducing the number of atoms it searches/lights it updates).
> UpdateAffectingLights() is called more sensibly, generally it will only be called when opacity actually changes on a lit turf (or something in a lit turf), as opposed to before where it would be called simply if something was opaque.
> Fixes a typo in cheap_hypotenuse(), it will now work correctly.
> Added circular lighting (using cheap_hypotenuse, a cheap linear approximation of pythagoras theorem). Old square lighting is toggable by commenting out #define LIGHTING_CIRCULAR
> Wall-fixed lighting will break when Move()ed. This means their lighting will not be updating whilst the singulo is on a rampage (which would cause lots of lighting updates). This should help reduce lighting updates a fair bit in such circumstances. Also the lord of darkness actually creates darkness! omg
>Halved the theoretical number of calls to UpdateAffectingLights() by turfs being deleted/created (aka replaced), by moving relevant code from New/Del into ChangeTurf(). Tidied ChangeTurf up a little.
>SpaceVines now update opacity correctly (this somewhat worries me though)
>Reduced the range of dynamic lighting effects for most objects. Fixed the bug where mob luminosity could try to go negative when dropping many held active flashlights.
>Space area no longer uses dynamic lighting. (at request)
>Fewer shades of darkness (reduced from 7 to 6) - means fewer shift_to_subarea calls and makes lower luminosity lights appear brighter
>Turfs can be luminous, removed the warnings. capped luminosity effects of turfs to a radius of 1.
>PDAS ARE NO LONGER SUNS!
>ChangeTurf() no longer replaces turfs with turfs of the same type. This means that singulos will no longer replace space with space with space over and over and over every tick
>there is a cpu-usage cap thingy on the lighting process(). It's currently set to (a ridiculously high) 98. This simply stops the process attempting to do any more work when the server is already dying. If you're feeling brave you could probably reduce further.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5650 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-04 19:58:14 +00:00
giacomand@gmail.com 46a4db06a3 - Committing the proposed commit by Carn. http://forums.nanotrasen.com/viewtopic.php?f=16&t=12049
This patch removes texticon() for the following status-displays:
obj/machinery/status_display (general/emergencyshuttle/supplyshuttle)
/obj/machinery/door_timer (brig timers)

These displays now use maptext and act the same as they did before (as close as I could get them, that is). This should hopefully reduce the overall cpu usage by status displays.

Examining status_displays will now give a message like "the display reads: ....blahblahblah"

The number of updates was halved for scrolling text. Removing one spawn per tick for each display.

The length of scrolling messages is now capped to 40 characters and sanitized for < > tags and such.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5640 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-01 15:38:48 +00:00
Kortgstation@gmail.com ecb7050b02 Fixed the yellow slime light reaction.
Added a new gold slime reaction which spawns a single hostile mob (which wont attack). This is for whoever was requesting the ability to make zoos/fill pens.

Added a new silver slime reaction I'd been meaning to add.

Changed chemistry to have two chem dispensers each with half as much charge as the old one

http://i.imgur.com/1BpQUN3.png

Added a SECRET to the map.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5626 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-30 02:19:00 +00:00
ericgfwong@hotmail.com e6a652771b Security frequency chatter now appears in cyan (Similar to how command is gold)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5620 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-27 23:25:16 +00:00
petethegoat@gmail.com 3c02e14efd Fixes issue 1179. If gravity is off, can't escape trash chutes
Fixes issue 1219. Cloning Scanner Popping Out Prematurely
Fixes issue 1182. Using wrapping paper on a bodybag
Fixes issue 1238. Reading while blind (fixes paper, photographs, and books)
Fixes issue 1253. Braindead message when converting non braindead people (rev)
Fixes issue 1188. Head revs converting unconscious people

Added is_blind(A) as a helper proc for blindness. It returns 1 if A is a fully blinded carbon mob.

Updated the loot spawner to use a list instead of a text string.

Updated gun reloading to use text styles.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5619 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-27 13:20:59 +00:00
ericgfwong@hotmail.com d2e1be34bb Added new descriptions to each of the rigs and gave them unique armor values.
Medical PDAs should now have a green stripe

Fixed a misplaced /area/ issue in the Warden's office

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5602 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-23 05:26:07 +00:00
giacomand@gmail.com dfc282c9ef - Did some very minor optimizations to get_mobs_in_radio_ranges() and set the proc as a background proc.
- To help further lower the cost of this proc I have lowered the default intercom range to 2. I then added consistency of not being able to use an intercom from across the room by adding a check for distance, using the same variable as the intercom range. 
 - Committing a fix by VistaPOWA for the changeling sting drink. You should be able to create it now by mixing screwdrivercocktail, limejuice and lemonjuice.
Before it was orangejuice, limejuice, lemonuice and vodka but orangejuice and vodka would mix first to create screwdrivercocktail.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5560 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-16 07:38:35 +00:00
petethegoat@gmail.com 11b17c4442 Committing suomynonAyletamitlU's storage item standardisation commit: http://forums.nanotrasen.com/viewtopic.php?f=16&t=11746
Standardization of the object tree and some modified functionality.
Moved a lot of storage/*_kit and similar boxes to storage/box/* ; most of these can now be found in boxes.dm. First aid kits remain a separate item type.
Replacement Light boxes pick up lights (for example broken ones) when used on them
Moved weapon/secstorage to storage/secure
Moved plant bags, ore satchel, trash bag, and sheet snatcher to storage/bag, in bags.dm
Fixed reagent_containers and snacks to pass through attackby() so the use_to_pickup code works. This affects plant bags, trash bags, and pill bottles.
Dice packs are now pill bottles, and all pill bottles can pick up dice.
Added error handling to uplink/generate_menu() so that one mistyped string doesn't bork the whole syndie uplink menu, since strings cannot be type-checked at compile time.
Cigarette packs and crayon boxes are now storage/fancy, however they retain existing update_icon() code.
Added a comment to storage.dm so that future people know where to look for use_to_pickup and allow_quick_gather code.

Updated all maps.

I've tried to test this thoroughly but I wouldn't be surprised if there were a few lingering issues. Try not to panic if you encounter any.

Full (i think) list of changed paths:
/obj/item/weapon/storage/flashbang_kit	> /obj/item/weapon/storage/box/flashbangs
/obj/item/weapon/storage/body_bag_box	> /obj/item/weapon/storage/box/bodybags
/obj/item/weapon/storage/chemimp_kit	> /obj/item/weapon/storage/box/chemimp
/obj/item/weapon/storage/trackimp_kit	> /obj/item/weapon/storage/box/trackimp
/obj/item/weapon/storage/seccart_kit	> /obj/item/weapon/storage/box/seccarts
/obj/item/weapon/storage/handcuff_kit	> /obj/item/weapon/storage/box/handcuffs
/obj/item/weapon/cigpacket		> /obj/item/weapon/storage/fancy/cigarettes
/obj/item/weapon/storage/mousetraps	> /obj/item/weapon/storage/box/mousetraps
/obj/item/weapon/storage/PDAbox		> /obj/item/weapon/storage/box/PDAs
/obj/item/weapon/storage/id_kit		> /obj/item/weapon/storage/box/ids
/obj/item/weapon/storage/lightbox/mixed	> /obj/item/weapon/storage/box/lights/mixed
/obj/item/weapon/storage/donkpocket_kit	> /obj/item/weapon/storage/box/donkpockets
/obj/item/weapon/storage/beakerbox	> /obj/item/weapon/storage/box/beakers
/obj/item/weapon/storage/syringes	> /obj/item/weapon/storage/box/syringes
/obj/item/weapon/storage/gl_kit		> /obj/item/weapon/storage/box/rxglasses
/obj/item/weapon/storage/diskbox	> /obj/item/weapon/storage/box/disks
/obj/item/weapon/storage/stma_kit	> /obj/item/weapon/storage/box/masks
/obj/item/weapon/storage/lglo_kit	> /obj/item/weapon/storage/box/gloves
/obj/item/weapon/storage/lightbox/bulbs	> /obj/item/weapon/storage/box/lights/bulbs
/obj/item/weapon/plantbag		> /obj/item/weapon/storage/bag/plants
/obj/item/weapon/storage/satchel	> /obj/item/weapon/storage/bag/ore
/obj/item/weapon/trashbag		> /obj/item/weapon/storage/bag/trash

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5494 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-08 19:11:56 +00:00
rockdtben@gmail.com 169c96db1b Too remove potential excessive garbage collection per tick. We will be reusing lists for overlays instead of deleting and creating them.
the .Cut() proc on a list will empty a list by default. This also will set the len to 0.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5465 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 15:11:06 +00:00
giacomand@gmail.com f2854db4b0 -Made firesuits effective again by changing the proc which damages the humans due to the flames to fire_act(). The flames themselves will hurt people, who are directly on top of it, but if they're wearing a firesuit the damage is much less.
-Added some procs for getting IDs and getting access. Helps clean it up so we don't have "istype(A, IDCARD) OR istype(A, PDA)" everywhere.

-Made wallets equip able in the ID slot and be able to be used as an ID.

-Added a PACMAN generator in Engineering to jump start the Singularity if they run out of power.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5450 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 11:26:30 +00:00
giacomand@gmail.com c276432b84 -pAIs can no longer use an exploit to bring up the PDA window menu.
-Made "Do not ask me this round" last only for that round. At the moment the action is undoable so I added a warning. Fixes Issue 1209 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5442 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-01 02:27:37 +00:00
johnsonmt88@gmail.com e7ebfae317 Another whack at the defines folder:
Removed defines/obj/toy.dm and moved the defines down to objects/items/toys.dm

Moved a big chunk of defines out of defines/obj/weapon.dm and into their respective .dm files.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5441 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-01 01:25:02 +00:00
ericgfwong@hotmail.com ed01727e8b Whoops, did not mean to give the Captain that.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5408 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-27 06:48:48 +00:00
ericgfwong@hotmail.com db6d43146e Analysing gas tanks is no longer a built-in function of PDAs
Added Gas Scanner function to atmos and science carts
Added spare atmos PDA cart to CE office
Fixed engineering break room tile icons

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5407 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-27 06:38:16 +00:00
giacomand@gmail.com fc86180f6c -The Military PDA will not show up on possible PDAs to message but you can reply to the PDA if it sends a message to you.
-Changed the exchange rate for plasma to supply points to 2:1
-Admins can now see photos in newscaster channels when using the button in the fun tab.
-Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5383 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 20:08:32 +00:00
ericgfwong@hotmail.com d0d506252c 2.1.0 mapping fixes.
-Added missing door to chemistry
-Added missing welding goggles to R&D
-Fixed piping error that caused toxins mixing to bug out
-Added more biohazard shutters to Science
-Reversed direction of toxins mixing pipes
-Re-enabled reagent scanner function in toxins PDAs
-Added missing disposal pipe under Mining Dock door

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5308 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-13 18:23:11 +00:00
ericgfwong@hotmail.com b5b2ee470f Updated supply headset names and instructions
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5267 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-06 00:46:16 +00:00
ericgfwong@hotmail.com a3780d7021 Renamed Cargo radio to Supply radio
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5266 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-06 00:16:11 +00:00
ericgfwong@hotmail.com f7abe34c72 Removed mining department radio frequency. Miners and Cargo techs will all be under the Cargo radio instead.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5265 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-05 23:27:10 +00:00
giacomand@gmail.com 6fa2a7a56b -Reverted my change with the camera in Misc Research. I'm sorry I didn't know it was used for the nearby telescreen.
-General improvements to the flare and I decreased the flare fuel. I keep under-estimating how long it lasts and I'm sorry for always changing it. I tested it in game and I'm happy with the duration.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5219 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-28 18:57:56 +00:00
elly1989@rocketmail.com ec0376097a Replaced src=%holder_ref% with _src_=holder
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5203 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-26 19:24:03 +00:00
giacomand@gmail.com af523d3e8f Added a new symptom with a high level, so that it's not possible to gain through mutations.
Gave the high level symptoms their own preset diseases and added them to the virus crate, along with a bottle of mutagen.

Several disease fixes, such as disease stages going below 0. Diseases which spread by blood will longer spread when you touch someone (i.e: click on someone)

I also did some cleaning up with comments.

Made handheld radios broadcast if their messages aren't sent on the same level as they're on, meaning that turning off the relay to the station will not make it impossible to communicate with others with radios.

Made some events only effect people on the station Z level.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5192 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 21:32:07 +00:00
petethegoat@gmail.com c69f0cab36 Removed /obj/effect/deskclutter at last.
Updated all maps. (and updated stationCollision.dmm to have new hivebots, cmon kor)

Removed the action button from the flare, as you only ever turn it on once.
Removed a bunch of unused sprites in items.dmi.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5190 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 19:58:28 +00:00
johnsonmt88@gmail.com 8ae9dfd947 Removed the MASKINTERNALS from /obj/item/clothing/mask flags. There is no reason for -every- mask to act as internals.
Added an issilicon() check to the PDA's remove id/pen verbs so that the AI can no longer be rendered helpless if they happen to click the 'Remove Pen' verb. Fixes issue 1124.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5186 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 04:01:54 +00:00
johnsonmt88@gmail.com 4ddf9100f5 Sending a message should no longer work if you are incapacitated. Fixes issue 1120.
Moved some mob vars to carbon:
mob/var/handcuffed -> mob/living/carbon/var/handcuffed
mob/var/legcuffed -> mob/living/carbon/var/legcuffed

As a result, I've turned some procs into pure virtual procs and moved their code into carbon.dm.

mob/proc/restrained() -> mob/living/carbon/restrained()
mob/proc/can_use_hands() -> mob/living/carbon/can_use_hands()

The hand and legcuff portion of mob/proc/u_equip() was moved into mob/living/carbon/u_equip().

The handcuffed portion of mob/proc/show_inv() was moved into mob/living/carbon/show_inv().

Fixes issue 1114.

Made parrots immune to bear traps since parrots should be flying over them anyway.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5184 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 00:28:47 +00:00
giacomand@gmail.com c6a4b991bc TELECOMMUNICATION
Improvements to Telecomms. I wasn't happy with my relays and having telecomms send several messages on different Z levels was not effecient. I decided to overcome this by removing the need to attach Broadcasters and Transmitters to relays. Then I made relays just add to the signal data which z levels the message will be broadcasted on, instead of sending the message several times. It's a bit hard to explain but basically it should be better then ever, and adding more relays will not create serious performance issues. Since you can't control whether the Z level could only receive messages or only send them, I added options on the relay itself so you can set it. I then made an additional feature, which Nodrak gave me the idea for, which is that busses can change the frequency of a signal. It's an option on the Bus and you can set it to change the signal's frequency, which can create hilarious situations such as the command channel being redirected to the general channel. No way to duplicate a signal with a different frequency at the moment.
Since relays earlier depended on a stupid system in order to become a off-site relay, I instead just made it limited to the satellite Z level, which makes more sense.

Broadcasters and Receivers are linked to the HUB, but it's still possible to create a simple telecommunication system with a "Receiver -> Bus -> Processer -> Broadcaster" (though it will be slow)

OTHER

Smartfridge limit was lowered to 999, just below the infinite loop check limit. This is to prevent further issues that may occure.

Moved creating some icon datums above the SQL procs, just to make sure that the SQL itself isn't sleeping and causing issues with the datums being used before being loaded.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5183 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 00:08:29 +00:00