Commit Graph

3010 Commits

Author SHA1 Message Date
baloh.matevz@gmail.com
935c0d67f0 - You can now bap Ian on the nose with a rolled up newspaper.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3137 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-17 03:05:37 +00:00
baloh.matevz@gmail.com
859ab89a96 - It is now forbidden by code for admins to edit an object of type /obj/admins, which gives them their admin power.
- It is also forbidden by code for admins to edit the variables of feedback datum types and the blackbox for consistent data gathering.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3135 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-17 02:30:54 +00:00
kortgstation@gmail.com
b80e5db0cb Emergency fix because I'm retarded and typed "/obj/projectile/bullet" as "/obj/projectile/bullet/bullet"
I'll work on the balancing/reverting of the guns later, this is just so it stops causing runtimes



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3134 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-16 22:58:15 +00:00
elly1989@rocketmail.com
10f6b0eaf9 Committing Smoke Carter's "News Caster Alerts" update.
I slightly modified it so that damage overlays work and so that wanted and alerts are visible at the same time.
All credits to Smoke Carter.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3133 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-16 22:45:30 +00:00
kortgstation@gmail.com
3a96667003 Desert Eagles now use magazines, .50AE ammo, and only have 7 shots. They're basically revolvers that use magazines.
Nuke ops lost that horribly nerfed piece of shit c20r and now get Desert Eagles and Riot Shields.

The detectives .38 ammo now does the same damage as regular revolver bullets. If he wants to keep acting as a glorified sec officer, he can go grab a taser.

The Veil Render now summons a subtype of Nar-Sie which doesn't pull anchored objects. This should reduce the power of the item/reduce lag while I get sprites and finalize details with Urist for reworking it as the Sphere of Annihilation (as in, this is temporary)

Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3132 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-16 07:20:32 +00:00
baloh.matevz@gmail.com
686350a2df - added feedback logging of wizard, traitor and changeling success as well as individual objectives success.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3131 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-15 12:21:26 +00:00
elly1989@rocketmail.com
f056179346 Reverted borg name stuff...because giving people RP choices is a horrible idea, obviously.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3129 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-14 22:36:43 +00:00
elly1989@rocketmail.com
0a80f91f2c Added Spacevines to the random events. Added a spawn space-vines option to the secrets panel.
Fixes issue 250 (borg door bug)
Fixed silicon interactions with engineering equipment.
Fixed access lists for radiation collectors, so locking them actually serves a purpose. Fixed using crowbars on them.
Borgs can name themselves upon module selection (unless a roboticist has named them previously by using a pen)
To avoid Borgs griefing and then changing their name by selecting a module, borgs are now unable to move independently until they choose a module.
New sprites for spacevines are on the way. So you'll have to tolerate my crappy stand-ins for a bit until he is finished with them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3128 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-14 20:29:58 +00:00
quartz235@gmail.com
8619772bd8 - Using robot parts on a suit that already has that part no longer eats up the part you used on it
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3127 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-14 08:05:54 +00:00
kortgstation@gmail.com
8caa698d48 Chaplains are no longer immune to cult magic. Instead, a new item, the null rod, spawns in the chaplains office. Having the rod on your person will make you immune to cult magic.
Runes are now dispelled with the null rod, not the bible.

Chaplains can no longer self heal with the bible.

Simple animals can now attack mechas and critters 

Constructs no longer take extra damage from bibles.

Fueltanks now explode when shot by lasers or bullets.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3125 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-14 03:29:18 +00:00
baloh.matevz
10e0d8c259 - Added feedback logging for the disposal auto-flush to see if there is an absurdly huge amount of flushing going on which would mess with atmos.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3123 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-14 01:12:11 +00:00
baloh.matevz
a6f9f36b72 - All PM links are now tied to clients and not mobs. What this means is that all PM links (the links admins get in admin messages which lead to a PM) should now point directly to the client, if one still exists or report them as disconnected. This means that there should no longer be problems with clients which swap mobs.
- Made the player-side admin pm message more visible and obnoxious. Some players might find it annoying but at least it will not leave much room to complain about "missing PM-s" 
Screenshot: 
http://www.kamletos.si/admin%20message%20format.PNG
- Fixed that awkward X in asay messages, which moved whatever mob you were in to the location of the person who said the message. Replaced it with JMP, which does the same as the JMP in adminhelps - makes a ghost and moves that ghost to the location:
Screenshot:
http://www.kamletos.si/admin%20say.PNG
- Ghosts which find themselves locked in any form of container (closets most commonly) will now (FINALLY) exit the container (and it is any container!) after they click one of the arrow keys.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3121 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-13 22:26:28 +00:00
baloh.matevz
32d8a7b6ce - Added the security officer, warden and hos jumpsuits by Khodoque:
http://nanotrasen.com/phpBB3/viewtopic.php?f=9&t=7627&start=20#p89942
Screenshot:
http://www.kamletos.si/new%20security%20jumpsuits.PNG

- Closets in security and the outpost that were labeled as "red wardrobe" are now labeled as "security wardrobe".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3120 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-13 19:07:55 +00:00
ryantennessee@yahoo.com
dd855e8288 Changed alien disarm intent on humans from weaken(rand(15,20)) to weaken(rand(10,15)) .
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3119 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 23:40:29 +00:00
baloh.matevz
d521357c06 - So apparently disposals were too hungry for air. They take far less of it now. They however still take the same amount of time to pressurize tho.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3118 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 23:18:28 +00:00
baloh.matevz
6255bb3086 - Profiles that were created before ghost ears was added had their ghost_ears value set to null, which then copied over. the profile setup page understood this as "hears everyone" while the game understood this as null, which is neither "hears everyone" nor "nearby creatures only", but it took null as 0, so it defaulted to "nearby creatures only". Applied a legacyfix that will properly update the profiles of everyone who does not yet have this set.
- To fix this for your own character before this goes live, just toggle the ghost-ears setting on your profile setup page at least once and then select the option you wish to have. Then save the profile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3116 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 20:59:06 +00:00
baloh.matevz
e5d2b7ac7b - Desk lamps are now just fancy flashlights. Which means you can pick them up. They have w_class set to 4 and don't have the onbelt flag, meaning you can't put them in any container and you can't put them in a pocket. Click on them to pick them up, use the toggle-light verb to turn them on or off. They are no longer affected by light switches (desk lights generally aren't anyway)
- Updated lamp type path on both uterus and 2.0.8

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3115 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 19:28:44 +00:00
baloh.matevz
a5fea19b5d - clicking the internals button on your UI (below zone select, above the suffocation indicator) will now properly toggle your internals if you are wearing a mask and your tank is in one of the following slots: back, hand, pockets, suit storage or belt.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3114 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 18:15:18 +00:00
kortgstation@gmail.com
4de92c42e6 Juggernauts no longer take damage from punching.
Juggernauts are no longer able to be grabbed (and therefore choked or thrown)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3112 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 16:26:28 +00:00
baloh.matevz
a07cd4220d - Replaced a few more conveyor switches with the one-way conveyor switch.
- Added feedback gathering for radio, rc and pda message use. (Only the number of messages sent is recorded)
- Generalized the 'round_end' time feedback logging into a proc that now also handles the radio/pda/rc processing at round end. ( blackbox.round_end_data_gathering(), where blackbox is the blackbox recorder object. )

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3111 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 14:56:19 +00:00
baloh.matevz
59bbe81465 - ghosts and dead people can no longer undress Ian
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3109 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-12 01:26:01 +00:00
baloh.matevz
fe5b602a6f - Removed the table where mail gets to at mail sorting because mobs keep getting stuck there.
- You can no longer control disposal units from within them!
- Disposal units now auto trigger every 30 game ticks, if they are fully pressurized and if they have something (or someone) in them. So no more hiding in disposal units!
- Added this to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3108 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 22:46:05 +00:00
trubblebass@gmail.com
2d95a92602 Commited on behalf of Nodrak
- Fixes: Issue 257, Issue 346 and Issue 343
- Monkeys no longer continue to take suffocation damage after dying.
- PDAs can no longer be used while stunned or paralysed.
- Vending machines now have a delay to stop product spamming.

Note: I upped the delay a little as it was still pretty spammable when I tested it, seems to be fine now as it's way more effort than it's worth to empty a vending machine.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3107 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 21:06:22 +00:00
baloh.matevz
42fa87c2b2 - Putting a normal or a gold ID card into a wallet now properly updates the sprite. The sprite that's chosen is the sprite of the card which is first in the list of items. Removing an ID from the wallet also properly updates the sprite.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3106 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 21:00:03 +00:00
baloh.matevz
cc67d26201 - lightbulb and light tube w_class is now 1, large tube (used for floodlights) remains at 2.
- bulb and tube boxes now contain 21 bulbs or tubes, but can only store bulbs or tubes.
- added a mixed box of lights, which contains 14 tubes and 7 bulbs
- most of the areas which contained light boxes now contain these large mixed boxes.

Screenshot:
http://www.kamletos.si/bulbs.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3105 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 20:41:18 +00:00
baloh.matevz
aa3f28d3d6 Committing the one-way conveyor switches as posted by Donkieyo
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=7759

They are currently present in the mail office.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3104 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 20:04:40 +00:00
quartz235@gmail.com
8e745d6bd2 i am the greatest coder of all time
and am also amazing at thoroughly testing what i make

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3103 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 19:32:34 +00:00
quartz235@gmail.com
5c53c4e7b7 -Fixed a typo that caused arcade machines to runtime 1/11 times
-Made water balloon have a lower case name for logical BYOND parsing

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3102 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 18:30:22 +00:00
baloh.matevz
2447af6623 Changes to layering of underfloor stuff:
- Disposal pipes are on layer 2.3
- Pipes and manifolds are on layer 2.4
- Cables are on layer 2.44
- Unary atmospherics stuff (vent pumps, scrubbers) are on layer 2.45
- Nav beacons, bluespace beacons and such things are on layer 2.5

It means that pipes appear below cables and 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3097 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 17:04:54 +00:00
petethegoat@gmail.com
7caa2631b2 Removed vials.dm, added possession verbs to modules/admin/verbs/possess.dm.
Chemistry reception windows are now public access.
Did some minor disposals remapping.
Added a newcaster to the HoP office.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3096 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 16:52:58 +00:00
baloh.matevz
e421364763 - Gave Station engineers construction site access, so they can play around in that vacant office.
- Removed that wall that was blocking the entrance to the theater for whatever reason
- Replaced a few airlocks that had glass around them with glass airlocks:
- - Detective's door is a glass red airlock
- - Checkpoint door is a glass red airlock
- - Assistant storage door is a normal glass airlock
- - Autolathe room door is a normal glass airlock


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3093 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 15:45:14 +00:00
baloh.matevz
37c7a57054 - Dropped support for attaching photos to ID cards. The feature was never fully implemented and the information you got from them was misleading and wrong.
- Backpacks max_combined_w_class is now 21 instead of 20, meaning it can store 7 box-sized items instead of 6 box sized items + 1 small item (which the box is supposed to hold anyway)
- Added many fire alarms around the station to areas that either lacked them or where they were too rare
- Added 4 hazard vests to the atmospherics departments for atmos techs who prefer hazard vests to firesuits.
- Added these changes to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3092 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 15:03:33 +00:00
baloh.matevz
13a873086e - Added a medsci headset to virology and genetics
- Added two scientist lockers into the science wing
- Added some roboticist clothing to robotics + roboticist headset
- Added an extra QM headset to the rack in his office.

Changed a few headsets which jobs spawn with to match their hierarchy:
- Roboticist now spawns with the robotics headset instead of engineering. The robotics headset has engineering and science channels.
- Virologist now spawns with the medsci headset instead of the medical headset. The medsci headset has medical and science channels.

With this there are now extra headsets for every job.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3091 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 13:52:47 +00:00
kortgstation@gmail.com
2a7e40c708 As with most of my updates, I managed to break something first time around.
Fixes runtimes caused by buying artifacts with the spellbook

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3090 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 11:43:54 +00:00
kortgstation@gmail.com
81676bd870 Summon Guns now only has a 25% (for each person) to give them the traitor message, though everyone still gets a gun.
Fixed the Veil Render sprite, I'd left part of the outline from cutting it out of the grid Ausops sent me.

Moved my stuff to a more recent part of the changelog because my ego needs feeding (no seriously because I think things like the chaplain being cult immune or nuke ops getting a teleporter needs to be well known)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3089 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 08:20:17 +00:00
baloh.matevz
287225d351 - Brought the fire alarm code into the 21st century (replaced the text("blah[][][][]",var,var,var,var)) with the proper "blah[var][var][var][var]" way of writing.
- Added an "The current alert level is: %alert%"  to fire alarms when you open their interface.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3088 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 07:57:08 +00:00
baloh.matevz
66dcfd1994 - Removed the 'midis' variable from mobs. This one's supposed to be a client thing, so it's now a client side var instead of being doubled in mobs.
- Made ooccolor, be_pai, be_alien, midis and ghost_ears actually properly copy over from the preferences when observing! Incredible, isn't it?

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3087 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 07:24:36 +00:00
baloh.matevz
b32ef87d93 - The unpower all areas event now does not unpower engineering and the AI core, meaning the AI is less likely to get screwed over by this and it is no longer a 'release singularity' button.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3086 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 06:06:58 +00:00
baloh.matevz
d070a44078 - Power alarms on z level 1 now update to their proper alert level state when spawned. They now spawn with the green alert level overlay at round start.
- Removed the window/north, window/east and the other dir-specific window subclasses
- Request console global announcements no longer have the leading space
- Wrenching wooden table parts now gives wood instead of metal
- Replaced the engineering singularity viewing cameras with EMP proof cameras

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3085 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 05:37:58 +00:00
baloh.matevz
ed973eadf0 - Added instructions on how to use the pretty markup to the changelog
- Added a few red corner floor pieces to security
- Added a Del() proc to blackbox recorders which makes it so a new blackbox recorder gets made when the one is deleted and all the data is copied over, so no data is lost. Same applies when the new one gets deleted. The new blackbox is spawned on z-level 2, so at centcom on the coordinates X,Y,Z = 1,1,2

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3084 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 05:12:42 +00:00
baloh.matevz
3a0a764243 Crayon boxes are now storage items. I have no idea why they weren't storage items to being with but now they are.
6 storage slots, can only hold crayons. Icon_state is properly updated when crayons are taken out as well as when crayons are put in.

Updated uterus and 2.0.8 with the new type path, which is /obj/item/weapon/storage/crayonbox

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3082 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 01:46:19 +00:00
baloh.matevz
64bcc1c0f0 - Moved three (well two, one was doubled for some reason) screen/attackby() procs to appear AFTER the screen object is defined. They were in a random file instead of where the objects are. If you double-click and 'screen' object in the object browser it now takes you to the definition instead of some random file.
- Clicking a grille with a glass or r-glass sheet in your hand, when the grille is in one of your cardinal directions (North, south, east or west) will make you start building a window. It takes 2s to build the window, which spawns unfastened (same as when you create one.) This should make fixing damaged grille-window combinations easier. If you are standing on a grille and click it with a glass / r-glass sheet in your hand, the window will face the direction you're currently facing.

Screenshot:
http://www.kamletos.si/placing%20windows%20on%20grilles.PNG

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3081 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 00:04:21 +00:00
baloh.matevz
52aa3bcc19 - toggle-hear-radio and toggle-hear-deadcast now properly say whether you will or won't hear the two communication types when toggling them.
- added a de-admin-self verb for admins. This exists so admins can play games without having to deal with 2nd accounts and such. It removes all the verbs and deletes the 'holder' object, so admins lose all their verbs, asay, adminhelp/prayer hearing, everything. They are exactly the same as normal players. To return to being an admin someone has to promote you back. The effects of de-admin-self are only for the current round.

Coders, when adding new admin verbs, don't forget to also add their removal into /client/proc/clear_admin_verbs()

Added jumptocoord, everyone_random and cmd_switch_radio to the proc, so hiding admin verbs works more properly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3080 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 20:36:58 +00:00
baloh.matevz
08a23a1ed8 - Clicking when buckled won't change your facing direction
- Clicking on objects which have their pixel_x and pixel_y number larger than +/- 16 will now make you face in the direction they're moved to (IE wall mounted things)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3079 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 19:17:50 +00:00
baloh.matevz
3234bceaf9 Added some logging for religions on SS13. Lots the chosen religion, deity name and book style.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3078 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 16:52:36 +00:00
baloh.matevz
0c147cb054 You will now face the direction of the item/turf/mob/anything you're interacting with (or trying to interact with) (applied whenever you click, shift-click or alt-click)
Added this to the changelog.

(Also added a cigarette paper and cigarette filter sprite, not seen anywhere in-game.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3077 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 16:22:17 +00:00
kortgstation@gmail.com
58be707695 Added a partially constructed teleporter to the syndicate (nuclear) shuttle. It is behind a blast door operated by the same computer that opens the outer airlock to prevent the operatives from using it will still on the centcomm Z level.
A teleporter circuit board has been added to the nuke radio, and can be purchased for 20 telecrystals. This will allow them to finish the teleporter onboard their ship. This will be probably be absurdly overpowered and need to be reverted, but no harm in trying it out, right?

Moved the teleporter board out secure tech and into the RD's office. Because teleporters cannot be built from scratch, the board serves almost no purpose but to be deconstructed anyway. And having it in the RD's office will prevent nuke teams from stealing it from space to complete their machine.

Replaced the mechanical toolboxes on the nuke shuttle with syndicate toolboxes.

Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3076 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 07:19:27 +00:00
quartz235@gmail.com
a6c2e6e105 - Added water balloons (sprites courtesy of Sieve,) these can be filled with most reagents and burst on throwing if filled, applying the reagents to whatever is hit (along with everything else on that tile.) These are winnable from the arcade, for now. I'll probably think of a better way to implement them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3075 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 06:55:03 +00:00
kortgstation@gmail.com
54b8455379 Config now defaults to using the object type spells.
Proc spellbook got the Summon Guns spell but I don't want to mess with adding artificer into that system

Added a check to stop artefacts from causing runtimes when you try to buy them with 0 points left.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3073 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-09 22:35:16 +00:00
baloh.matevz
c12a1b4206 Added the caution code, sprited by magicbones, not present anywhere on the map
http://nanotrasen.com/phpBB3/viewtopic.php?f=10&t=4548&start=50#p37266

Added a power switch (/obj/structure/powerswitch), which is used to split or connect two cables.

The way it works is simple. It connects the powernets by adding cable on the floor it's on and removing it when it's turned off.

In-file description:
//This is a power switch. When turned on it looks at the cables around the tile that it's on and notes which cables are trying to connect to it.
//After it knows this it creates the number of cables from the center to each of the cables attempting to conenct. These cables cannot be removed
//with wirecutters. When the switch is turned off it removes all the cables on the tile it's on.
//The switch uses a 5s delay to prevent powernet change spamming.

Screenshot:
http://www.kamletos.si/power%20switch.PNG

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3072 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-09 21:11:20 +00:00