Commit Graph

9304 Commits

Author SHA1 Message Date
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
Nerezza b6d6dc2574 modified: code/game/jobs/job/engineering.dm
modified:   code/game/objects/closets/wardrobe.dm
2012-07-30 13:09:52 -05: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 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
baloh.matevz c6a445e73d - Added recursive explosions to code. They are not live yet. I want coders to test them out first. From my testing and estimates, they are about twice as fast as regular explosions, despite the fact that they only have minimal optimization done to them at the moment. - Basically only the things I knew from memory.
- Added two max() things to lighting code. This should stop the negative luminosity error, which happens when large explosions happen, resulting in a large blob of permanently black space. Space will be black now, but when you go through it with a flashlight, it will actually be illuminated properly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4232 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 10:25:02 +00:00
baloh.matevz a2d11cf5c7 - Ported some stuff from baystation 12. Mostly sprites.
- Added pajama closets which contain 2 red and 2 blue pj's with 4 pairs of white shoes - for use in medbay and crew quarters. (pj sprites by baystation 12)
- Added the cart, plasma research, engineering and robotics vending machines from baystation 12 - Mostly for the sprites.
- Added science airlocks (sprites by baystation 12), made them work with our door construction / deconstruction mechanic. (those sprites are by me~)
- Added hazard doors, sprites by baystation 12. They're reskinned firedoors.
- Added two more styles of filing cabinets, all sprites from baystation 12.
- Changed the space law book's sprite to the one baystation 12 uses.
- Added a few floor sprites from baystation 12
- Added critter crates, sprites from baystation 12
- Added some surgery sprites from baystation 12
- Added plant sprites from baystation 12

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4229 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 06:50:26 +00:00
Nerezza d8dfc36ec0 Update code/game/mecha/mecha.dm 2012-07-29 23:37:20 -05:00
giacomand@gmail.com 0509b334d5 Added some sprites from WJohnston
-Added the mining borg (no jetpack yet)
-Added the high tech security airlock (no assembly for it yet)
-Added the new telecomm sprites

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4227 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 03:57:28 +00:00
baloh.matevz e3b5ac4628 - Fixed the error which made coloring eggs display the text "You color the crayon rainbow." instead of "You color the egg rainbow."
- Fixed the problem of mousetraps staying armed after a mouse triggered them
- Fixed the problem which made the following text appear when runtime splats a mouse: "Runtime Runtime SPLATS the mouse."

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4225 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-30 01:56:50 +00:00
giacomand@gmail.com b0d2af457e -Added the new Telecomms circuit boards.
-Made the boards researchable.
-Misc things with Telecomms

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4223 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 22:48:35 +00:00
giacomand@gmail.com e6f582a254 All radios now only work in their Z level. This means that the CommSat has a few more additions to work with this change. There is now a new Telecomms Machine called the Relay which allows information to travel across Z levels. It it then linked to a new machine called the Hub, which will receive information from the Relays and send it to the buses. Because every Z level needs these relays, which are linked up with Receivers/Broadcasters, every Z level will get one. There is one in the station, in the RD's office, one in Telecomms as always, one in the Ruskie station which is turned off and hidden from the HUB's linked list. The last one is in Mining but the location for it has not been decided yet.</li>
PDAs now need to be in a Z level with a functioning Relay/Comms Network in order to send messages. It will also send uncompressed (scrambled) messages like you would with the ordinary voice messages.

I've gotten rid of the "in world" check for blackboxes, when there can only be one.

You can now easily send test signals to see if Telecomms is functioning for an atom. test_telecomms()



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4222 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 18:25:16 +00:00
Mloc ba370735ff NULL checks.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-07-29 18:34:12 +01:00
mport2004@gmail.com deca16626e SpaceDust should now work again.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4220 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 16:52:42 +00:00
mport2004@gmail.com 910d48c0c5 Seems the adminwho thing was actually a bug, removing the config option.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4217 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 15:55:03 +00:00
Cael_Aislinn c296286e52 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-07-30 01:26:10 +10:00
Albert Iordache 4f5bdc6c64 Merge branch 'master' of github.com:Baystation12/Baystation12 2012-07-29 15:50:44 +03:00
Albert Iordache 8a340237c6 Merge branch 'master' of https://github.com/comma/Baystation12 into comma-master
Conflicts:
	code/game/objects/items/weapons/surgery_tools.dm
2012-07-29 15:49:56 +03:00
mport2004@gmail.com a4890eaae0 Added a config option for the extended adminwho information because it is generally a bad idea to tell the players what admins are doing.
Also fixed the issue where people on the floor could buckle others in.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4216 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 11:09:07 +00:00
elly1989@rocketmail.com 4fcbd6e169 Removes some seriously confused code regarding transferral of minds to ghosts upon death/gibbing.
The main problem is: if a mind is transferred to a ghost, objectives that have that mind as a target will treat the ghost as the target mob. Which is clearly a problem. This should fix exploits where people could force people to win/lose objectives via ghosting, gibbing, etc.

It should also eliminate any other weird bugs like the one Nodrak fixed a while ago where pais would keep their mind....meaning they were like, a cultist pai or something and could rat antags out to its owner using the HUD.

Removed some conditions from objectives (like those pertaining to the thunderdome) as they were bait for meta. >ghost >teleport to thunderdome >antag fails the objective she completed

Resolves issue 662

Fixes a few instances of original_name becomming null (there's still loads)


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4214 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 09:21:57 +00:00
elly1989@rocketmail.com 1120fb50c9 put_in_hands() now makes objects behave like they were just dropped when it dumps them on the floor due to there being no free hand to put it in. (i.e. it calls object.dropped() and resets the layer.)
Fixes issue 699 - in-hands for pipes are removed when placing a pipe back in the dispenser.
Fixes issue 684 - Evidence bag code simplified a bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4213 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 07:19:53 +00:00
baloh.matevz 8d500dfdf0 - Added MICE! Sprites by our insanely talented Cheridan :)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4212 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 07:14:59 +00:00
comma b2522daa5d Surgery bugs.
Stopped attacking patient during head surgery with hemostat.
Was caused by try_bone_surgery called twice in code.
Removed one redunant call.

Fixed runtimes during face surgery.
Null organ was caused by not being 'mouth' organ there.
Made it select 'head' as affected organ.
2012-07-29 08:21:37 +04:00
elly1989@rocketmail.com 919677e2d5 Finally fixed those clean_blood() calls so they update mob-overlays properly. Resolves issue 681. Fixes space-cleaner grenades/splashing/spraying, Soap (work-around), Showers (again) and Janitor-borgs.
Fixed putting ammo in RCDs, resolves issue 696. Removed a little spam-text from RCDs too.
Removed some dyslexia from spesscash.
added an undef for LEGCUFF_LAYER


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4209 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 04:04:24 +00:00
TurboCamel 005b5ec1e5 Added new circuit boxes
Added power control module box and airlock electronics box.
2012-07-28 16:37:17 -05:00
johnsonmt88@gmail.com 24ec69ac7a It is now easier to modify UI's through genetics:
Instead of the subblock picking a random value far from the current value, the player can select a 'target' value to aim for and subblock will try to zero-in on that target.

This affects UI's only, SE's don't do this. This will not be added to SE's because superpowers don't need to be made easier to obtain.

Hitting the arrows to change blocks/subblocks will now loop around once you've hit a limit. 
- For example if you're on SE block 14, clicking higher will bring you back around to block 1.

Commented out the scan console process() as it was just doing meaningless checks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4204 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 19:16:58 +00:00
Cael_Aislinn 1ecbc5c950 modified lockdown computer and blast doors / shutters on antiqua and exodus, now has increased usability etc.
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-07-29 03:28:50 +10:00
sieve32@gmail.com 082c7a13ce Welp, fix for me accidentally re-adding the MC failsafe, and a stat check for metroids, so now they won't process targets, their friend list, or any of that other shit when dead.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4202 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 16:36:22 +00:00
CIB 2d333b743c Merge pull request #1532 from headswe/master
Firedoors are now "emergency shutters" and have a new sprite.
2012-07-28 09:33:13 -07:00
Head ee6c81dc47 Firedoors are now "emergency shutters" and have a new sprite. 2012-07-28 18:30:57 +02:00
CIB cae467ce39 Merge pull request #1531 from headswe/master
Fixes a few runtime errors
2012-07-28 08:55:22 -07:00
Head f814d99249 Added condition to the rest of the code in effect_system.dm 2012-07-28 17:53:13 +02:00
Head 04fac7a528 Fix for the fix!, God i hate byond code. 2012-07-28 17:46:25 +02:00
Head 3a1f30ece4 A few fixes. 2012-07-28 17:16:22 +02:00
Albert Iordache 3cf5cb0d3d Merge pull request #1522 from caelaislinn/powerchanges
powerchanges
2012-07-28 00:23:27 -07:00
sieve32@gmail.com 6b1073f610 Fix for me breaking AdminWho
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4196 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 23:11:40 +00:00
johnsonmt88@gmail.com 7d1b47e482 Mimes can no longer whisper without breaking their vows. Mimes don't talk!
Lockers and crates now holy a maximum of 20 objects. 
This is to prevent players from dragging a locker into a populated area and opening it; resulting in clients with a weaker connection to lock up and crash. I realize this is an inconvenience for botanists but players being able to intentionally crash other players takes priority.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4195 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 18:31:28 +00:00
sieve32@gmail.com 0705168f1b Alright, a quick fix for 2 things. Firstly, it adds transparency to the YouTool's broken sprite, and a del call for turret's bullet_act(), Fixes Issue 691
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4194 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 16:49:50 +00:00
baloh.matevz c948e15873 - Added UI buttons which appear only when you have certain items on you to make toggling some stuff easier and lessen the need to juggle a million items all the time.
Screenshot: (Upper left)
http://www.kamletos.si/object%20ui%20action%20buttons.png

There can be a maximum of 5 of these buttons shown at any one time.

Currently the following items have a UI button associated with them:
- Flashlights
- Hardhat
- RIG suits
- Welding masks
- Jetpacks

To add more buttons, add a button icon_state to icons/mob/screen1_action.dmi, then set the variable icon_action_button to the icon state of the icon you just added. This is all you need to do if you want the default action to be taken when the button is clicked, which is attack_self(). If you don't want the default, you can redefine the ui_action_click() proc. A call of ..() will call attack_self(), so mind when you use that.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4193 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 15:20:44 +00:00
SkyMarshal 62dcb7be1b Adds caching to dummy objects, seems to work great. 2012-07-26 17:14:31 -07:00
SkyMarshal 54ce48fb9d Connections no longer are deleted when a door closes, instead persisting until merged or a wall is built there or something. Better runtime detection, and no more searching through world for fires to process. 2012-07-26 15:33:21 -07:00
giacomand@gmail.com 296d21251f Renamed the Space Shroom to Reishi.
Fixed some mistakes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4186 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 19:04:43 +00:00
johnsonmt88@gmail.com 58910a2318 Secure closet 'Toggle Lock' verb now takes into account whether the locker is broken. Fixes Issue 683.
The admin 'Spawn Xeno' verb will not longer state that an admin spawned a xeno when they cancel out of the operation. Fixes Issue 688.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4185 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 15:51:33 +00:00
giacomand@gmail.com ec8a7d7bcb -Added a new mushroom, the space shroom! (Original Title Do Not Steal) It has relaxing properties with a small amount of space drugs and sleeping toxin. I added this to allow the cutlery jobs (Chef & Bartender) a secondary access to anaesthetics; instead of having to ask Chemistry all the god damn time.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4183 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 13:34:50 +00:00
Albert Iordache 0b8a75d6f9 Players who've disabled OOC no longer hear admins 2012-07-26 15:55:04 +03:00
Albert Iordache 9187ad48d6 Because atmos techs also get two pairs of magboots now, I removed them from the steal objective list 2012-07-26 12:25:33 +03:00
Cael_Aislinn 353396f2cc tripled default computer power usage, tripled default machinery power usage (both active and idle), doubled emp power drain, tripled SMES starting power (from 30% to 90%)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-07-26 18:54:46 +10:00
johnsonmt88@gmail.com c930622bea Attack verbs!
Instead of 'x has been attacked with y by z' it now reads 'x has been 'y.attack_verb-ed' with y by z'!
Example:
Monkeyman has been bashed in the head with a riot shield by Nodrak!
or
Monkeyman has been stabbed in the chest with an energy sword by Nodrak!

- Every obj now has a list named "attack_verbs"
- When declaring an object, just use attack_verb = list("verb1", "verb2") and so on to initialize the list for that specific item.
- I've added a bunch of these to a ton of items already, feel free to modify or add more. Just try to stay away from gimmicky verbs (clown stuff being the exception.)

clothing.dm and spawner.dm only had a single definition in each of them, so their definitins have been moved to obj.dm and their original dm files deleted. I'm not sure about spawner but clothing had all of its other definitions removed recently.

radio.dm was a completely blank file, so it was removed.

Changelog updated

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4182 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 05:21:24 +00:00
sieve32@gmail.com 7bf6788082 -OPTIMIZATION TIME
-Almost every instance of 'for(mob in world)' has been killed. Because GODDAMN was it being run a bunch. Instead, a series of global lists have been made, and they are all handled auto-magically through New()'s, Del()'s, Login()'s, death()'s, etc...

Lists are as follows:
-mob_list : Contains all atom/mobs by ref
-player_list : Like mob_list, but only contains mobs with clients attached
-admin_list : Like player_list, but holds all mobs with clients attached and admin status
-living_mob_list : Contains all mobs that ARE alive, regardless of client status
-dead_mob_list : Contains all mobs that are dead, which comes down to corpses and ghosts
-cable_list : A list containing every obj/structure/cable in existence
Note: There is an object (/obj/item/debuglist) that you can use to check the contents of each of the lists except for cables (Since getting a message saying "a cable," x9001 isn't very helpful)

These lists have been tested as much as I could on my own, and have been mostly implemented. There are still places where they could be used, but for now it's important that the core is working. If this all checks out I would really like to implement it into the MC as well, simply so it doesn't check call Life() on every mob by checking for all the ones in world every damn tick.

Just testing locally I was able to notice improvements with certain aspects, like admin verbs being MUCH more responsive (They checked for every mob in the world every time they were clicked), many sources of needless lag were cut out (Like Adminwho and Who checking every single mob when clicked), and due to the cable_list powernet rebuilding is MUCH more efficient, because instead of checking for every cable in the world every time a powernet was broken (read: A cable was deleted), it runs though the pre-made list, and even with a singulo tearing all the way across the station, the powernet load was VERY small compared to pretty much everything else.

If you want to know how any of this works, check global_lists.dm, there I have it rigorously commented, and it should provide an understanding of what's going on.

Mob related in worlds before this commit: 1262
After: 4
I'm helping


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4179 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 03:04:05 +00:00
giacomand@gmail.com 365cdb4a60 -Added an "inuse" check for the Light Replacer.
-The Light Replacer will drop the replaced lights once again.
-Fixed a runtime with the Plantbag and the All-In-One grinder.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4175 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 23:28:45 +00:00