Commit Graph

9456 Commits

Author SHA1 Message Date
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
SkyMarshal
4f7f3e5d7f Adds more runtime checking and makes zones exploit the garbage collector to be destroyed, which is more resource efficient. 2012-08-02 11:47:05 -07: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
Cael_Aislinn
1f0d8d7db0 modified the changelog, and made roaches die on bump()
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 21:56:26 +10: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
Cael_Aislinn
f3180fed6d possible fix for recent crash /shrug
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 18:47:14 +10: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
Cael_Aislinn
e9d68bd249 vermin spawn randomly in maintenance (plus a couple of other areas) at a rate of one every 10-15 mins.
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 15:39:00 +10:00
Cael_Aislinn
1e9d218e16 fix indentation errors, etc
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 15:22:40 +10:00
Cael_Aislinn
3b3a41053e new supply packs, modified existing ones slightly (http://baystation12.net/forums/viewtopic.php?f=5&t=5056&p=97631)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 15:16:58 +10:00
Cael_Aislinn
4a9383b5af reworked id spawning, added some fixes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 14:33:19 +10:00
Cael_Aislinn
3c168305ed reworked equip_if_possible to be a bit better 2012-08-02 14:33:00 +10: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
Cael_Aislinn
b535890090 Merge branch 'capspace' of https://github.com/FireFishie/Baystation12 2012-08-02 04:58:16 +10:00
Cael_Aislinn
7ae269f38f some tweaks to mice and roaches, tried to get the gameticker to periodically spawn them but failed (will come back to)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 04:56:48 +10: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
Cael_Aislinn
469a8bb601 ported over the majority of /tg's simple_animal code and changed a lot of things for simple_animals and critters
- added bears, mice (cats will chase mice, mice squeak occasionally)
- removed some unique simple_animals (ian and runtime will be the only ones for now)
- structure improvements, tweaks and cleanup for simple_animals and critters
- space carp should work fine now
2012-08-02 03:22:44 +10: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
FireFishie
8a9962a234 By vote, space proofed captain armor and changed the memo
Vote link and new memo message in the comments!
2012-08-01 03:58:50 -04:00
CIB
e9937050aa Merge pull request #1558 from FireFishie/closets
Some minor changes, mostly related to wardrobes and fluff text
2012-08-01 00:23:05 -07: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
Albert Iordache
c3c6b6b557 Fixed a ChemMaster exploit. Thanks to Doohl for fixing, and LLA admins for letting us know 2012-07-31 17:22:43 +03: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