Commit Graph

3433 Commits

Author SHA1 Message Date
giacomand@gmail.com
c97004bef2 -Fixed issue 726, not the best fix but I could find no other solution.
-Added the unused alien resin door. Only aliens can open it, it will also auto-close after 10 seconds.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4294 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 21:42:43 +00:00
giacomand@gmail.com
dca350d120 -Mining will now have the proper frequencies.
-Cleaned up some unused presets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4293 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 20:02:31 +00:00
johnsonmt88@gmail.com
9cd4950d56 Nar-Sie is now named 'Nar-Sie' instead of 'Tear in the Fabric of Reality' to fit the new sprite.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4291 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:43:25 +00:00
sieve32@gmail.com
2098bc0173 -Fixed floor tile inhands
-Made inhands for hardsuit helmets
-Due to feedback, the Nuke Op pinpointer will change modes on its own when the nuke is armed/disarmed. (As such, the toggle verb was removed) This should also help with the issue of both modes trying to run at the same time.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4290 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:33:24 +00:00
baloh.matevz
1accaf48d4 - I attempted to group together some code in human.life() when I was doing the breathing updates. The code I wanted to group was the code that handles the situation when you are located inside another object - this code is copy-pasted into 4 places in this proc. So I started deleting them, but then abandoned the attempt. Apparently I did not press undo enough times, causing two of the code segments to be left out. This meant that only turfs now facilitated breaths, objects did so only in specific situations.
Thank you Noddie, love you! :)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4289 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:16:45 +00:00
ericgfwong@hotmail.com
d7fad2a31f Removed engineering borg's extra flashlight
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4284 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 16:43:53 +00:00
elly1989@rocketmail.com
b047f9565a Tidied up sd_DAL a bit to remove the last of the light-spilling and outside lighting since we have never used it.
Removed some unused variables from APCs (and cleaned up the map so they could be removed)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4282 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 14:25:06 +00:00
baloh.matevz
d6ba1aef02 - Changed human breath processing to work like this:
- - If a breath is successful, meaning it had enough oxygen, another breath will be taken in 4 ticks. This is the same as it was before. (The presence of other gases will damage you, but it will not make the breath not count as a 'successful' one)
- - If a breath is not successful, you will not wait another 4 ticks for another breath! You will try to breathe again in the next tick. Every time a breath is deemed unsuccessful, it will cause damage to you. If there is no oxygen on the tile, it will cause 3 oxyloss damage to you, if there is some oxygen, but not enough, it will do a percentage of that. The amount of damage is the same as before, but it's dealt as 3 per tick instead of 12 per four ticks. The reason for this is to make the 'slowly passing out' effects more visible, as the overlay changes for every 5 points of oxy damage.
- - The healing effect of an area to oxyloss remains at 5 points per FOUR ticks, as it's only applied on successful breaths, which then don't try to breathe again for another 4 ticks.
- - You still pass out at 50 oxygen damage.
- The dark image overlay you have when blind or in critical condition now has mouse opacity set to 0, which means all mouse clicks pass through. If this causes any problems - let me know, it is however needed as it otherwise prevents any clicks. So while you could see a small circle around you, you wouldn't be able to interact with anything in it.

Video: http://youtu.be/fJAU8Tppxi0

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4281 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 10:54:01 +00:00
baloh.matevz
49f3db9954 - F12 now properly hides the action buttons
- Changed the 'black overlay' you get when paralyzed, blind or in critical condition to include a small circle around you. It still 'blinks' once every 25 seconds or so.
- Added a flag BLOCK_GAS_SMOKE_EFFECT, which can be applied to masks, glasses and hats, which prevent gas smoke, which contains reagents, from having an effect on you. Currently only present for gas masks.
- Dramatically lowered the amount of damage you get per breath while in critical condition. Critical condition now lasts for about 5 minutes if nothing is causing you any additional harm. This in combination with the new black image overlay is an attempt at making doctors more willing to help. For one thing they'll have more time to get to you, for another you will get to see if they murder you before sending you to genetics.
- Added Cheridan's wooden chairs to code
- Added a action_button_name to all items, which defaults to null and contains the text which appears on the action button. If an action button exists, but this variable is not set, the text will default to 'Use [name]', name being the name of the item tied to the button.
- Fixed the problem which resulted in certain glasses types making you keep night vision abilities even after you took them off. 

(Screenshot of black overlay: http://www.kamletos.si/blackimage4.png)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4280 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 08:25:34 +00:00
ericgfwong@hotmail.com
26a0226f0d Gave Cyborgs flashlights so they aren't helpless in lightless situations
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4279 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 07:22:58 +00:00
Kortgstation@gmail.com
2b55391ed7 Shades name will now be based on the victims real name (so them wearing a gas mask or fake ID won't effect the shades name, and they won't have names like Shade of Unknown (As X).
Also, Shades will be assigned a real name and original name upon creation, to prevent them from getting a random name when ghosted.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4278 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 03:22:37 +00:00
sieve32@gmail.com
2252db76f6 -Borgs can now have 1 key installed into their radio, and can handle channels just like any other headset
-As a result, they also have a button that toggles their headset between station-bounced and subspace transmission. While they are transmitting over subspace, they will be using TComms and have access to department channels. While transmitting over the station-bounced system, they cannot access department channels. Simple
-Changed binary chat for silicon mobs to be ':b' for both consistency and to make the security channel useable for borgs.
-To insert/remove keys, you need to have the cover open and the cell in place, use a key to insert and use a screwdriver to remove keys (Having the cell out will expose the wires when a screwdriver is used)
-Cleaned up mech_fabricator.dm a bit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4277 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 03:02:43 +00:00
elly1989@rocketmail.com
94fd22b762 Resolves issue 725
There were no checks in re-enter corpse for anyone currently controlling the corpse. Meaning any attached client was left mobless and hence garbage collected (DCed).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4276 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 23:02:22 +00:00
giacomand@gmail.com
4b239afe76 Fixed issue 724 - I've also tried to fix the unreported bug where a person cannot hear their radio messages while in the dark. Instead I'll make an issue report and try to work on it more later. I'm assuming it has something to do with BYOND thinking that the user cannot see dark tiles in the viewer proc.
Cleaned up a bit of the broadcasting code.
Made everything use turf's z levels as I find them more reliable, sometimes an item's loc can be null or the z level can be entirely wrong. I hope the high usage of get_turf() will not create problems.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4275 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 22:55:14 +00:00
elly1989@rocketmail.com
fd4cd23084 Forgot to add clean_prints back into clean_blood
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4274 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 19:35:18 +00:00
elly1989@rocketmail.com
187ecee177 Added global lists for chemistry datums.
chemical_reactions_list for storing /datum/chemical_reaction so we don't have to spawn them all everytime two reagents get mixed together.

chemical_reagents_list, unlike reactions it is indexed by id so we can have fast lookup of reagent data. Again, without spawning everytype of that datum everytime we add a reagent to something 

It was making all subtypes of this datum everytime it filled any reagent_container with a single reagent. Considering how many reagent containers there are that's a lot of wastage. Now it only does this once, thank goodness.

Unfortunately I had to stick the initialisation inside the datum/reagents holder object's New() proc, since New() for map ojects gets called before world/New()

Fixed clean_blood() yet again *sigh*. It's probably as good as I'm gonna get it without changing loadsa stuff needlessly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4273 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 19:27:09 +00:00
ericgfwong@hotmail.com
a928428541 Clones come out with messy hairstyles now :3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4272 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 18:33:22 +00:00
sieve32@gmail.com
7d418a1bb7 -Completely removes new_players from the dead_mob_list because it was decided that they shouldn't be there
-MMIs will no longer hear binary chat.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4271 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 16:54:30 +00:00
johnsonmt88@gmail.com
093c76128a Changeling mimes can now speak through hivemind.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4270 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 15:22:39 +00:00
petethegoat@gmail.com
a5c77650d3 Tiny bit of clean up on paperwork stuff, mainly using proper text styles.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4269 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 13:43:16 +00:00
elly1989@rocketmail.com
a9eabb0561 Created global lists for hair and facial_hair datums since they are referenced frequently. This means those datums are only ever created once. Also, the list is indexed by hairstyle name. This means means we only need to store one variable to find the hair datum. It also means admins can change h_style and f_style to the name of the hair and use the Regenerate Icons function in viewvars to update a human's hair icon. If an incorrect f_style or h_style is input it won't affect anything adversely (besides hair not showing for that mob).
The hub will no longer report admins who are stealthminning.

Added a server byond_version check. All it does is tell you if your byond_version is below RECOMMENDED_VERSION and encourages you to update BYOND.

Underwear and bag lists are now a single global list rather than creating the same list for every new player.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4268 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 13:40:43 +00:00
petethegoat@gmail.com
e35a85c5bd Fixes issue 630.
Fixes a grammar error with filing cabinets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4267 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 13:25:46 +00:00
giacomand@gmail.com
dce315dc64 -Added a potato battery sprite.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4266 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 12:49:56 +00:00
giacomand@gmail.com
cf266fca97 I've made some adjustments to the Fireball spell. I've changed it to shoot in the player's facing direction instead of you having to pick a name from a list. It will explode upon contact of a person, if it hits an obstacle or if it shoots for too long. To make up for the fireball not being able to go diagonal I've shortened the cooldown to 10 seconds. It still can hurt you badly and knock you down if you shoot it at a wall. Lastly, it now lights up so it'll show up in dark rooms easily.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4265 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 11:29:29 +00:00
baloh.matevz
53ceed22f2 - Peetie broke bear space movement in r4263 ;-;
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4264 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 09:59:18 +00:00
elly1989@rocketmail.com
066ec983fe Added byond_version checking to client/New(). If a client's installed byond_version is lower than MIN_CLIENT_VERSION then they will be autokicked.
It is not in effect yet (minimum version is v0 :P). However, <b>everyone must update to at least byond version 494 by the end of the month, or they may find themselves unable to connect</b>.

If anyone has a legitimate reason for why they need to use an older version (linux, language-support etc) please get in touch and we'll work something out.

Why is this even necessary? Encouraging the payerbase to keep up-to-date BYOND clients will allow us to implement newer BYOND features reliably. It also makes sure all clients are behaving similarly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4263 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 09:53:00 +00:00
baloh.matevz
f166bd6bb5 - Database now logs admin ranks of players.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4262 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 09:39:19 +00:00
ericgfwong@hotmail.com
ac026993ae Swapped Medical Storage with the Sleeper Room
-Sleepers are closer to the front now
-MD-restricted areas are next to each other

>https://dl.dropbox.com/u/831776/honkbay.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4259 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 05:48:26 +00:00
petethegoat@gmail.com
f295c3ab33 Updated space carp, walking mushrooms and killer tomatos to use simple_animal instead of critter code.
Notify me if any issues with them, or any simple_animal arise.

Fixed a few issues with space bears.

Slightly improved teleporter code, and did a few misc runtime fixes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4258 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 21:22:42 +00:00
elly1989@rocketmail.com
99354f8c71 More gifts from FPstation. This fetches a list of known proxies and stops people from connecting whilst using them. Proxies are often used for nefarious reasons.
It needs to be kept as up-to-date as possible, so it autoupdates every 6+ hours or so to ensure the database is relatively up-to-date.

Like the previous commit, I'd only really recommend it if the other stuff isn't getting the job done.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4257 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 20:42:10 +00:00
giacomand@gmail.com
059df7ef65 -Renamed "acid" to "sacid"
-Sorted the dispensable chemicals list alphabetically.
-Made the chemical dispenser use process() instead of calling itself in a spawn()
-Made the receiver and broadcaster easier to build (less parts)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4256 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 20:38:06 +00:00
elly1989@rocketmail.com
c4dc6fcb0b Committing this because I just merged it into Facepunch code for like the 49548083603th time ;_; - Added the ability to ban somebody by IP-address when giving permabans.
It's not quite as well done as I'd like it but it works and can be helpful.

IP bans are kinda lame so please only use them for multikeyers/extreme-douchebags and such.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4255 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 20:14:21 +00:00
rockdtben@gmail.com
cc0e314925 Fixes Issue 706
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4253 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 17:45:30 +00:00
sieve32@gmail.com
03bdb2de07 Wow, I managed to miss the change to prevent robot chat at the login screen.
Fixes Issue 712

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4251 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 15:54:04 +00:00
giacomand@gmail.com
16919d9d41 -Syndies should spawn next to their sleepers and not ontop of eachother.
-equip_to_appropriate_slot will now return whether it's successful or not.
-Fixed the receivers and broadcasters being the wrong preset.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4250 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 14:20:35 +00:00
baloh.matevz
38a6299d90 - Fixed the trail of black floors error which happened when you ran through a completely dark passage with a light source on.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4249 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 13:38:44 +00:00
baloh.matevz
e66ec13326 - Increased observer invisibility so robots don't see them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4248 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 13:18:37 +00:00
giacomand@gmail.com
63ea1462ca -Fixed message monitor paper not finding a server.
-Updated changelog.html
-Fixed the new room not having the right broadcaster and receiver.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4247 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 10:34:08 +00:00
ericgfwong@hotmail.com
ccb6589e20 A couple of mapping stuff for Giacom
-AI Upload Foyer is now Secure Tech Access, and the outer door only requires Bridge access
-Attached to it are two new rooms: The messaging server room and the communications relay.
-The comms relay room runs off its own SMES unit like the AI, so it won't be affected by powersinks
-Reduced the number of recievers/broadcasters. Only presets now. Giacom will finish them. He also needs to fix the password paper not generating.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4246 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 09:55:57 +00:00
giacomand@gmail.com
2068182fc4 -Removed passive throwing.
-Broadcasters, receivers and relays do not produce heat anymore.
-The station/DJ station's relays only need a single broadcaster/receiver now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4245 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 08:48:21 +00:00
vageyenaman@gmail.com
5dbe1c2458 This fixes an exploit that would let people use ChemMasters to spawn an infinite amount of any reagent.
NEVER trust a clients' href input to be legitimate, always have failsafes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4244 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 07:55:03 +00:00
baloh.matevz
e6f7615342 - Standardized the code in code/modules/research
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4243 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 06:01:55 +00:00
baloh.matevz
a3d9123edd - Added a sprite "7" to the sd lighting file as it was used, even if it didn't exist.
- Piped 3.0.0 a bit.
- Standardized code/modules/power. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4242 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 05:24:37 +00:00
sieve32@gmail.com
8658a64dc3 -Redid admin_list to be based off clients rather than mobs (Why I did it with mobs first, I'll never know). This fixes AdminWho and Asay and such not working pre-game.
-Added in the proper list stuff for changeling stasis
-Added a verb to the debug list (Game Admin+) to check the mob lists instead of requiring the item (Works the same way)
Fixes Issue 708


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4240 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 02:02:30 +00:00
johnsonmt88@gmail.com
6a9b24a178 Runtime fixes:
- Robots being deleted passed the mmi object to the mob list instead of the mmi's brainmob

- DNA injectors were checking for a user, but not for a mob.

- DNA computers would try to modify the dna of a mob that no longer existed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4239 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 01:19:22 +00:00
johnsonmt88@gmail.com
4dc76c7c51 Bit of standardization and optimization for life procs that I wasn't able to finish when I did it to humans a while ago.
Basically if a mob is alive, it'll run a set of procs and if it's dead, it'll skip them.

I've also done a couple minor tweaks to metroids including minimal optimization and moving their targetting stuff out of life.dm() and into handle_targets(). That part isnt really necessary but it helps clean up the life() proc.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4238 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 22:59:54 +00:00
sieve32@gmail.com
7a1a22f8fa -Gets rid of a global list proc that shouldn't be there
-Removes the typecasting from mech fabs so they stop spitting out runtimes, at the cost of making them look even uglier.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4237 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 17:32:26 +00:00
baloh.matevz
31df004737 - Missed two things apparently.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4236 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 16:31:00 +00:00
baloh.matevz
1873aa6607 - Categorized invisibility stuff into #defines. If any errors appear - let me know.
- Hopefully addressed the concerns about the ultra-darkness. Night vision, mesons, thermals and material scanners now make you see through darkness. (Lighting code does not affect you)
- Ghosts get a "toggle darkness" verb, which changes their see_invisibility. When the toggle is enabled, ghosts cannot see other ghosts. This is due to invisibility.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4235 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 16:24:45 +00:00
giacomand@gmail.com
605c234a60 -Added the High Tech Security Airlock's assembly sprites, thanks to WJohnston
-Added the new Mining Borg's jetpack sprite, thanks to WJohnston.
-Sorted the observer list for mobs.
-Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4233 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 11:32:42 +00:00