Commit Graph

4583 Commits

Author SHA1 Message Date
giacomand@gmail.com d18af57597 - Removed mobs being pulled back in the shuttle; still exists in pods.
- Added a check for turf in the pushback proc. Used Move() instead of step().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5774 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-24 16:07:45 +00:00
aranclanos@hotmail.com e112fd4c27 Images from security and medical HUDs (glasses/borg/odysseus) will now be garbage collected instead of being manually deleted.
Because of this, borgs will no longer save all the images on their client, avoiding the display of thousands of HUD images on a single mob, lagging or crashing the player's client.

If I'm right, this will reduce 90% of the del() lag. Cross your fingers!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5773 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-24 16:01:46 +00:00
giacomand@gmail.com 3dabcc8df6 - Fixed the memory leak for effects, which have reagents.
- Fixed a bug with C4 not causing an explosion around a target, which is a mob.
 - Fixed not being able to put para/sleepy pens on your ear.
 - Added a delete proc for reagents (the container) which will garbage collect it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5772 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-24 14:25:01 +00:00
d_h2005@yahoo.com c3148b76d0 -Moves the biogen and sextractor code into the hydroponics module folder, moves the optable code into /structures.
-Committing SuperSayu's patch for slimey grenades.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5770 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-24 00:23:31 +00:00
petethegoat@gmail.com 189b6fa491 Some minor surgery updates.
Actually ticked in cavity_implant.dm to the dme.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5769 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-23 22:02:24 +00:00
ericgfwong@hotmail.com 070b650b16 -New symptom that generates inaprovaline, effectively making oxygen unnecessary.
-Replaced some notice spans with a more appropriate danger span
-Reduced resistance of visionloss symptom and added a check to stop spamming you with "You are blinded!" notices
-Added a check to the reagent symptoms so you don't get ridiculously high volumes in your body if you wait long enough

-Added more coins around the station
-Moved message monitor decryption key to CE's office since the RD can't even access it any more (and is not relevent to his duties)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5766 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-23 04:23:26 +00:00
petethegoat@gmail.com efe09a57c8 Adds cavity implant surgery. Turn people into walking bombs, etc.
Adds two new variables to surgery steps- accept_hand, and accept_any_item. They are compatible and you can use both at once.
Removes the always_advance variable on surgery steps, in favour of the success() and failure() procs returning 1 or 0 to advance or not.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5765 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 18:10:28 +00:00
giacomand@gmail.com 0459b7de29 Committing patch by Flexicode.
- A loop was looking in the wrong list, causing Issue 1148. Correcting this Fixes Issue 1148.
 - Changed all "in world" usage to their proper list counterparts.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5764 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 09:06:11 +00:00
ericgfwong@hotmail.com e5af38a856 Added three more symptoms: Choking, deafness, and visionloss. That should be all of them now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5763 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:52:49 +00:00
ericgfwong@hotmail.com 5833ea8095 Fixing bugs with some new symptoms.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5762 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 06:13:34 +00:00
petethegoat@gmail.com b8ec73853e Fix for r5760.
:silently weeps:

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5761 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 02:11:21 +00:00
petethegoat@gmail.com f77a71fc04 This should fix the following runtimes:
The following runtime has occured 18248 time(s).
runtime error: Cannot execute null.IsIndexCut().
proc name: isWireCut (/obj/item/device/radio/proc/isWireCut)
  source file: radio.dm,185
  usr: Azerthene Severn (/mob/living/carbon/human)
  src: the security radio headset (/obj/item/device/radio/headset/headset_sec/department/med)

The following runtime has occured 165 time(s).
runtime error: bad index
proc name: recalculateChannels (/obj/item/device/radio/headset/proc/recalculateChannels)
  source file: headset.dm,261
  usr: Burningface (/mob/new_player)
  src: the security radio headset (/obj/item/device/radio/headset/headset_sec/department/engi)

It also makes the mirror automatically shave women when used.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5760 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 02:06:02 +00:00
johnsonmt88@gmail.com 3d57a97b66 Shuffled around some of the cyborg 'store module' code. Flashlights will now turn off when you put them away. Fixes issue 1239.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5759 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 01:43:12 +00:00
johnsonmt88@gmail.com 8d0e094460 A little bit of admin button cleanup from the Secrets Panel.
Renamed "Toggle station artificial gravity" to "Trigger a gravity-failure event" to better describe what the button does.

Removed the following buttons:
- Make all items look like guns
- Japanese Animes Mode (Resolves issue 1024.)
- Remove 'internal' clothing
- Remove ALL clothing
- Remove firesuits, grilles and pods

- Toggle Prison Shuttle Status(Use with S/R)
- Send Prison Shuttle
- Return Prison Shuttle
- Warp all Players to Prison

- Ghost mode

The first five are just plain dumb, made worse by the fact that they apparently haven't worked in ages.

The next four, prison station buttons, are being removed because we have no prison station!

Ghost mode was removed for being horribly coded, laggy and has the potential to break some of our other code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5758 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-22 01:31:54 +00:00
rockdtben@gmail.com 11c1276566 Push sparks lag to GC this should greatly reduce lags.
Test: 20 emitters shooting for 10 minutes. No lag. Along with other various tests.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5757 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 23:49:44 +00:00
giacomand@gmail.com a6bde92d6b - Added a limit to broadcast messages. Messages will now cut off at 512.
- Facehuggers will now let you open the bag even if you're wearing facehugger proof gear.
 - Added some sanitizing to signal().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5756 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 17:40:13 +00:00
petethegoat@gmail.com 4341235bcc Added a tool_check() proc to surgery steps.
It can be used to check for specific properties on the tool used, such as whether a welding tool is lit or not.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5755 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 16:31:59 +00:00
petethegoat@gmail.com 6d5fe9d0e6 Standardised vending.dm, and also updated vending machines to use the new wire datums.
Fixes issue 1309. Kitchen Vendomat vends "weapon"

Removes the cautery step from debraining, as it was pretty pointless and needlessly confusing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5754 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 15:25:05 +00:00
giacomand@gmail.com 78abe5bfda - The user wasn't being put into the arguments of the proc, which allows admins to create their own disesases. I put the argument back. Fixes Issue 1312
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5753 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 13:46:03 +00:00
baloh.matevz@gmail.com d4b0a19592 - Fixes a long standing bug in logging, which attempted to log deaths into the wrong database.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5752 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 01:19:53 +00:00
petethegoat@gmail.com 7c9eff11cb Fixed and improved the get_accessible_location() proc.
Fixed some (wrong) magic numbers in detective_work.dm.
Updated body_parts_covered on all suits. 

Changed defines:
UPPER_TORSO > CHEST
LOWER_TORSO > GROIN
THERMAL_PROTECTION_UPPER_TORSO > THERMAL_PROTECTION_CHEST
THERMAL_PROTECTION_LOWER_TORSO > THERMAL_PROTECTION_GROIN

Changed paths:
/obj/item/clothing/suit/armor/det_suit > /obj/item/clothing/suit/armor/vest/det_suit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5751 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-21 00:53:45 +00:00
giacomand@gmail.com 504342b4a7 - PA particles and projectiles will now be garbage collected. I have tested it to make sure that they are no longer in memory.
- You should no longer open doors when being pushed back in a pod/shuttle.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5750 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 23:29:07 +00:00
giacomand@gmail.com 6b03a2ebbb - The move_contents_to proc (which is used by shuttles and pods) will now move the air of the tile moving, instead of just replenishing the air.
- Added a new area proc, mob_activate, which is called by a living mob's Life(). You can use it to have mobs react differently to different areas.dm
 - Used the above change to make transit areas push mobs backwards.
 - Fixed the server room air alarm from freaking out.
 - Reverted my change to singularities, they will now pull correctly.
 - Made the wire interface screen bigger to accommodate for different fonts.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5749 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 22:10:14 +00:00
petethegoat@gmail.com 1685c34401 Cleaned up the optable and operating computer code.
Fixes issue 1316. Operating Computer broken

Updated the surgical drill sprite.

Removed code/game/objects/items/weapons/surgery_tools.dm, as the tools have now been moved to the surgery module.

Removed the music folder, as it has been empty and unused since the beginning of time.

Path changes:
/obj/machinery/optable > /obj/structure/optable

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5748 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 20:11:50 +00:00
ericgfwong@hotmail.com c15d893fd6 -Moved telecoms access under the Engineering category
-Removed telecoms destination from the syndicate shuttle
-Updated description for voidsuits
-Re-placed the server atmos alarm in tcoms
-Removed regular vents and scrubbers in server room

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5747 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 15:52:43 +00:00
Kortgstation@gmail.com b0ba19f45f Gave telecomms access to basic engineers and removed it from the RD.
Reasoning is as follows:

A) The engineers already have space suits to work on the airless tcomms equipment

B) Station system maintenance should be engineering's thing

C) The RD already has robotics, genetics, xenobio, RnD, and toxins. Engineers set up the engine in ten minutes and are left to fuck around until something is blown up, so they need extra stuff more than the RD does

D) People can use NTSL/telecomms without having to use up a head role to fuck off all round and do so. As I said,the RD already has plenty of work he should be overseeing.


Also, because there is no reliable way to get to the voidsuits other than praying to the RNG god while being lost in space, removed them from the possible list of objectives. It also made little sense to be stealing old NASA gear that didn't even belong to NT in the first place.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5743 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-20 02:56:06 +00:00
giacomand@gmail.com f3c85dc5fe - Replacing the existing replace proc for NTSL with a copy of the HELPER replace text proc with some safety loops.
- Turned down cache lifespan to 1. This will help the server when it has to constantly have people download the resource files and the dynamic cache.
 - I was seriously upset about the server room in the new telecomms not being airless. As Kor allowed anyone to make the room airless, I did so. It shouldn't be a room anyone can walk into without the necessary equipment. (It also would give void suits a reason)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5742 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-19 20:41:32 +00:00
Kortgstation@gmail.com b83a61230b Made telecomms machines not heat the air around them. This reduces telecomms machinery processing (no checking for/generating heat) and reduces atmos processing (that large telecomms room isn't constantly being heated by telecomms then cooled by the freezer). I'm sure people are gonna yell about immullsions or something or casualizing or dumbing down, but we can't keep adding new systems forever while not simplifying or removing anything and expect the game to stay playable.
tl;dr telecomms heating/cooling has pretty much zero impact on gameplay but was constantly processing.

Updated the map to give the telecomms room normal tiles and put the voidsuits back on the old satellite. If anyone is seriously upset about the telecomms room having air they're welcome to make it have airless tiles as long as they don't re-add telecomms machine heating/cooling.

Fixed the telecomms sat wreck having aired tiles bordering airless tiles. Shamefur dispray Ikarrus.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5741 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-19 19:27:01 +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
rockdtben@gmail.com 793e547be8 A supplement to what Nodrak had done in https://code.google.com/p/tgstation13/source/detail?r=5732#
Now the server will be refreshed in process() only when there is a change.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5738 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-19 00:44:53 +00:00
ericgfwong@hotmail.com 9a51a66cb4 Added a couple more symptoms. Modified shedding a bit and renamed it to a more medical term.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5737 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 23:50:42 +00:00
ericgfwong@hotmail.com 224c35931a Mice squeaks can now be heard by anyone nearby.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5736 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 21:42:51 +00:00
ericgfwong@hotmail.com 3b2250f2c2 Committing tgstation.2.1.2:
The AI has been moved to Research Division, and Telecoms has been moved into the former AI chamber. Affected areas: Telecoms Satellite, Research Division South & Command Sector.

-Reduced tech levels of subspace equipment
-Removed CE's teleporter access (No longer needed to access tcomms)
-Reduced grey space suit slowdown
-Increased voidsuit slowdown
-Engineering and mining hardsuits hold different equipment now

-Updated Changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5734 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 21:09:30 +00:00
petethegoat@gmail.com 03dd030b77 Updated the paperwork module, mostly just to tidy things up.
Fixes issue 1267. Empty paper bins icon not updating
Fixes the paperbin MouseDrop(), so you can actually pick them up again.

Removed /obj/item/weapon/paper/flag and /obj/item/weapon/paper/photograph. Both were unused.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5733 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 17:34:09 +00:00
johnsonmt88@gmail.com b38ad70e83 Removed the griefProtection() proc from R&D server/process(). Any proc that deletes/damages files will already call it, and in some cases, call it more than once. This should reduce the number of proc calls to designHasReqs() and TechHasReqs() by a million or two per round.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5732 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 17:03:17 +00:00
johnsonmt88@gmail.com 09ce6c297c Committing for carn:
Added in a proc for del() logging.

Non-carn related:
Moved biomass.dm to unused
Removed the code/game/gamemodes/events folder

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5731 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 03:47:34 +00:00
petethegoat@gmail.com 05fa989326 Fix for my fix- changed "a sample of slime extract" to an "an unused sample of slime extract".
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5730 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 03:46:40 +00:00
petethegoat@gmail.com f57be60bae Fixed the blueprint objective not completing for the actual blueprints.
Changed the slime extract objective to require a core with uses left.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5729 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 03:35:03 +00:00
petethegoat@gmail.com d8864ec8c4 Fixed a small issue with gender reassignment surgery and removed a stray file from my last commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5728 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 02:35:16 +00:00
petethegoat@gmail.com 9f56f974fe Committing most of Incoming's proposed commit: http://forums.nanotrasen.com/viewtopic.php?f=16&t=12229
Adds lipoplasty, plastic surgery and gender reassignment surgery.

Adds a var/target_must_be_fat to the surgery datum, for surgeries exclusive to fatties.
Adds a var/always_advance to the surgery step datum, for when it should advance to the next step even on failure.

Adds /proc/get_location_accessible(), which is used by surgery to make sure you have access to the area you're operating on.
It's a fairly horrible, but it's not called that often, so it should be fine. Correct me if I'm wrong.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5727 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-18 02:12:18 +00:00
petethegoat@gmail.com 39c22b7aa3 Updated hub.dm to be slightly more descriptive.
Fixes bedsheet bins not updating their icon.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5726 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 21:12:16 +00:00
d_h2005@yahoo.com d45bae1ecf -Moves the scattered hydroponics-related files into a consolidated hydroponics module folder, and attempts to reorganize code found within those files. I don't think I broke anything.
-You can make dualsabers now by sticking two energy swords end-to-end.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5725 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 19:40:22 +00:00
Kortgstation@gmail.com 904b5e8b20 Changed slime evolution/splitting to properly transfer the mind instead of just the key.
Being killed as an adult slime now puts the player in one of the babies.

Fixed the mutation chance for the player controlled slime splitting to be the same as the automated one.

Added a check to AI construction for the AI_ALLOWED config option.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5724 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 19:30:55 +00:00
petethegoat@gmail.com a01e64a6a0 Somehow SVN left out some files in my last commit. :|
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5723 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 19:20:50 +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
giacomand@gmail.com 4989c88a22 Committing carn's modifications to events and other things. Full details below.
http://forums.nanotrasen.com/viewtopic.php?f=16&t=12245#p189186

Ported all the random events to Pete/Gia's event system:
>Event system now supports weighting. default is 10. a weight of 5 is half as likely as default, 20 twice as likely....etc.
>Increased the frequency of events (dust happens over 60% of the time though)
>tidied up some ninja code: ninjas now get ~5 objectives. So they are hardmode.
>made the gravity toggle into a random event
>event system now supports round-start events
>event system now supports holiday events
>event system now supports events which can only happen after the round has lasted a certain number of ticks
>event system now supports max_occurrences for events. Setting any event's max_occurrences to 0 will stop it randomly occurring
>events now support being fed associative lists inside new(). This allows you to override their variables easily.
>wormhole events no longer cause loads of lag. They are extremely deadly. wormholes should be avoided

Other:
>replaced the procs for fetching candidates for ninjas and aliums with /proc/get_candidates(be_special_flag), it returns a list of active clients with that be_special preference enabled.
>minor fixes to minds
>your memories are displayed to you at Login()
>removed aliens_allowed
>removed ninjas_allowed
>pick_n_take() is now more efficient (uses Cut() rather than Remove()


Things I added:

 - Made the pandemic call ..() instead of doing the checks itself.
 - Made the staff of animation use more charge.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5720 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 11:44:37 +00:00
johnsonmt88@gmail.com 0bfd3feef6 Fixed windoors becoming a fountain of infinite airlock electronics, added a check to see if it had electronics in it. Fixes issue 1273.
Windoors now automatically close after being constructed like regular airlocks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5718 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-17 00:09:11 +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
giacomand@gmail.com 0d184533a5 - Committing for carn. It is a small fix for the close menu button being inside a loop. Fixes Issue 1199.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5716 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-16 11:46:11 +00:00
giacomand@gmail.com a3501875a7 - Re added clicking on inventory HUD slots making you use the item, without having to click the item itself. I made storage slots in backpacks, when hit by an item, will put the item into that storage item.
- Added some garbage collecting procs for NTSL.
 - APCs now have its missing status text, for the wire interface.
 - Clicking on a hand HUD slot, while the hand is actively selected, will make the item being held call attack_self().

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5715 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-16 10:54:56 +00:00