Commit Graph

4002 Commits

Author SHA1 Message Date
baloh.matevz
ef493f3b51 - Made the number of deciseconds someone has to be inactive to be considered AFK a define (AFK_THRESHOLD) which defaults to 3000ds = 300s = 5m, which is the same as it was before. This is still only used when an admin uses 'adminwho' to tell if admins are AFK.
- send2irc will now only send adminhelps to irc if there are no admins online or if all the admins online are AFK. If will add a "- No admins online" to the end of the message if there are no admins online or a " - All admins AFK (X)" with X being the number of admins currently online.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4038 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 17:39:16 +00:00
baloh.matevz
05926c8e58 - Added the adminhelp cool-down to the changelog.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4037 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 17:09:43 +00:00
d_h2005@yahoo.com
eb197ceb4a New sprites for Nodrak's shield projectors. Hooray for fixing up things that have been in the code forever.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4036 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 17:05:28 +00:00
elly1989@rocketmail.com
f69f054f41 More fixes by Giacom.
"Bug Fixes

Fixed a HTML typo in job preferences, thanks Gamer_cad
Made the Message Console not list PDAs that are turned off or are not owned by someone.
Forgot to mention this: I changed preference since the jobs are now sorted after the round has started."

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4035 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 09:46:54 +00:00
elly1989@rocketmail.com
3257bf9d4f Bugfix for target stakes. Credits to Giacom for pointing out where the bug was and everything <3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4034 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 09:01:30 +00:00
elly1989@rocketmail.com
31f589b67d Committing Giacom's pill updates:
Pills can now be ground up in reagent grinders. You can now put custom amounts of reagent into things using chemmasters. Can now load pill-bottles into chemmasters for mass pill-production.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4033 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 08:10:19 +00:00
elly1989@rocketmail.com
f92bec2a22 Resolves issue 594 - You can no longer use Mech-drills/clamps/etc to interact with your hud items.
Fixed an old feature that diverted clicks on a hud inventory-slot (say, the place you put your bag) to the object in that slot (i.e. making it easier to click small items and also making it possible to remove things that have borked and turned invisible

Fixed admins being able to change their own rank via chgadlvl.

Insignificant tweaks to DblClick() just removed some useless bits near the top.

Known issues:
Can't put straight jackets on aliums anymore for some reason
Aliums can remove straight jackets from themselves.
Can still mecha-drill a few things you shouldn't be able to >_>

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4032 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 07:48:14 +00:00
johnsonmt88@gmail.com
ff2ac76177 Bugfixing the bugfixes:
Updated paths for flashbangs:
- Flashbangs fit in sec belts once again
- Fixes issue 648

Removed the distance check from shift+click examine:
- I was hoping we'd be able to alter this so that we could.. say.. require people to be closer to something to examine it... but it's just causing problems
- Fixes issue 646.

A bit more work on shield generators
- Shield generators are now called "Emergency Shield Projectors" to help tell them apart from Field Generators and Shield Wall Generators
- The as per Cheridan's advice, the shield bits now use the old cloaking animation as a sprite since it's much easier to click on then those tiny dissapearing stars.
- They now shut off when unsecured by a wrench.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4031 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 05:39:51 +00:00
baloh.matevz
4c4153f248 - Added a 2 minute cool-down for adminhelps. You may now only adminhelp once per 2 minutes. So write the information you want to write in one adminhelp and then reply via admin PM-s! This obviously does not apply to PM-s.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4030 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-11 00:47:44 +00:00
quartz235@gmail.com
5884da6fb1 Quick commit to remove some extraneous bot commands/KHAAAAN
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4029 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 20:49:00 +00:00
johnsonmt88@gmail.com
eaebb1873e Moved last_x_used into the master_controller datum so that they will show up when using the debug_master_controller verb. Note: they're still global vars.
Ghosts can once again shift+click... What the hell was I thinking?

Condensed the flashbang kit's description. There is no reason it needs to chatspam a player's entire chat window full of redundant information.

Fixed up shield generators (not currently in-game)
- They create a shield on any space tile in range, helping to contain hull breaches
- They can malfunction through damage or, of course, by being emagged.
- The shields they create can be damaged and destroyed.
- I'm not adding these to the map until shield generators and the shields themselves get new sprites (which are currently being worked on.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4028 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 20:13:07 +00:00
ericgfwong@hotmail.com
d2fc8b2689 Updated message AIs and Cyborgs get when they spawn
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4027 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 19:02:03 +00:00
elly1989@rocketmail.com
bd4233ec8c Fixes projectiles breaking when hitting a non-mob.
Fixes the chance to miss stuff because the trig was wrong :S

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4026 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 11:18:55 +00:00
elly1989@rocketmail.com
3643f57cc9 Fix for no-name mobs. I should have thought of this before. Resolves issue 644
Thanks for reporting it sivartholmberg

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4025 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 08:16:33 +00:00
ericgfwong@hotmail.com
120738a91c Added a large beaker to robotics so chemists don't have to worry about giving up one of theirs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4024 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 07:58:16 +00:00
johnsonmt88@gmail.com
6f4a311cf9 I'm far too used to unticking the .dme... Sorry about that.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4023 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 06:20:21 +00:00
johnsonmt88@gmail.com
8231234a64 Pile of bugfixes
Nodrak:
- Bags of Holding can no longer be brought to the clown planet
- Made a quick new sprite for broken telescreens
- Removed the clusterbang from the HoS safe. It is currently bugged and not in presentable condition, however, someone is working on it. 
- Added a machine check to shift+click. Partial fixes issue 534 (see Zek's stuff for more.) I'm not really sure of a better way to fix this that wouldn't involve a whole pile of coding...
- Cigarettes now evenly distribute chemicals injected into a pack of cigarettes. Partial fix for issue 548 (see Zek's stuff for more.)

Commit for Zekkeit/39kk9t
- The gibber now provides attack logs of who the mob gibbed, or who the mob was gibbed by. How can you tell who a mob was gibbed by when the mob gets destroyed? Well read the next enhancement!
- Attack logs now transfer to the ghost of the mob who dies
- You can no longer survive cold by cooling yourself down before jumping into space. Fixes issue 206.
- Ghost() is now a client proc, not a mob proc. Fixes issue 442
- Fix for issue 493.
- Added a range check to shift+click. Fixes issue 534.
- Cigarette packs are now limited to (15*number of cigarettes) units of reagents. Fixes Issue 548.
- Added organ inaccuracy to guns. This means, for example, that you wont hit the mob's chest with 100% accuracy. You may end up hitting the mob's arm, or head instead. Accuracy is directly related to distance.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4022 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 06:10:22 +00:00
d_h2005@yahoo.com
11e69586c5 -Plant-b-gone is now poisonous to ingest.
-Plant-b-gone now kills space vines.
-Plant-b-gone no longer causes a runtime error when sprayed at a human.

-New kitchen recipe, designed with those filthy traitor chefs in mind~
-Adjusted chaos donuts to require 5 of each chemical instead of 3 (Condiment bottles dispense 5 units at a time, forcing you to empty out a salt shaker if you wanted to make them previously).
-Added some trash items to cake slices where appropriate. Consistency.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4021 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-10 01:43:26 +00:00
johnsonmt88@gmail.com
58e2093744 Fixes hydroponics not producing food if there is no mutmod in the nutrient
Removed process() from machinery/lights as it was not being used.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4020 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-09 16:33:06 +00:00
CIB123@gmail.com
b687b75bca Optimized radio code broadcasting code.
Rather than calling a function on every single radio object which expensively collects hearers(in closets etc.), the proc will now instead build a list of radios. This list is then passed to another proc, which iterates through all clients in the world, and checks if the client's mob can hear the message.

Note that I did shallow testing, but deeper issues may still be present with stuff like pAIs which I wasn't able to test on my single player server. If any other problems are found, please notify me.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4019 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-09 15:16:00 +00:00
ericgfwong@hotmail.com
ae23259f3e Fixes Issue 639. Old Note was using old text code
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4018 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 22:44:35 +00:00
johnsonmt88@gmail.com
52dd7b3af5 Cleaning up machine process()s
But first! Unrelated to process():
- Only humans and monkeys can move into sleepers.
- Immovable rods no longer delete themselves if they hit a shuttle. Instead they act as if the shuttle doesn't exist. This should help cut down on rods deleting themselves before going through the station.

And now back to our regularly scheduled programming...

Removed process() that were doing nothing from:
- Dispenser(the one that dispenses O2 and Plasma tanks)
- Robotic Fabricators
- Crew Monitoring computer

Reworked hydroponic's process(). 
- Merged if statements together since most of them lacked "else if"s or were duplicate checks.
- Changed a while loop into a for loop as sloppy coding or an admin var-editing could cause an infinite loop.

Removed a sleep(100) { process() } from the operating table's constructor as the MC will call process() regardless.

Cleaned up shieldgen.dm
- Changed a while loop into an if statement. The loop was unnecessary
- Moved some stuff around so it's not nearly as confusing.
- Standardized the proc and variable definitions.
- These are not currently in-game but they are amazing items. I'll see about sorting out their bugs and getting them in proper working order.

Removed a for(var in world) from
- cleanbot process()
- floorbot process()

Removed computer/engine/process() from robot/computer code
- /obj/machinery/computer/engine does not exist in the first place...

Note: These are only some of the machinery process()s. I didn't want to potentially break too much at once. More to come.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4017 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 19:40:10 +00:00
quartz235@gmail.com
2e4504ba00 Quickfix to make adminhelp relay bot not throw out mile long href links due to the parser
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4016 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 16:01:18 +00:00
ericgfwong@hotmail.com
0bb39c3c7d -Prevented players from cheating by hiding basketballs in their bag and pockets
-Fix for basketball inhands showing up on the wrong hands

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4015 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 09:03:51 +00:00
sieve32@gmail.com
71ca4efcbc -Cleaned up and improved PA icons
-Fixed an unlisted issue involving RD consoles. Now you can use a screwdriver to change the access protocols on the board itself, to be either a core console or robotics one
-Fixed Issue 546, the part of the AIize() that cleared the music was a part of human code, but at round-start it is 'new_player' that is AIized. Moved that part to mob/AIize()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4014 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 06:40:33 +00:00
ericgfwong@hotmail.com
d35de12757 Another fix for hats
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4013 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 02:00:45 +00:00
ericgfwong@hotmail.com
070ce4f118 Adds basketball simulation to the Holodeck
Credit to Ausops for the ball sprites
Credit to Sly for the Hoop sprite

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4012 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-08 01:08:23 +00:00
ericgfwong@hotmail.com
303fe6fb62 Forgot to set sprite names for non-flipped rainbow hats.
Fucking hats. Leave me alone.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4011 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 22:19:09 +00:00
ericgfwong@hotmail.com
de4e5b49d3 Small fix for security softcaps
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4010 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 21:03:38 +00:00
ericgfwong@hotmail.com
fd082a5e4e -Added a new /area/ to Telecoms so turrets wouldn't try shooting people inside the control room
-Engineering and Security escape pod doors are now opaque

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4009 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 20:04:51 +00:00
johnsonmt88@gmail.com
22c872a2a3 Fixed damagetypes not working in admin investigate (The (?) button when someone adminhelps)
Committing for Zekkeit/39kk9t
- Attack logs now display the reagents the pill/snack had when you forced it down someone's throat.
- List entries can now be edited and deleted! (don't try editing any of the contents list entries, it spits a runtime and I don't know how to make it uneditable)
- Fix for issue 598. Now pAI carriers can re-enable the pAI radio settings.
- Adminmoreinfo now displays the status of the mob.
- Added a confirmation message to unjobbanning from the Display Job bans panel.
- When being exposed to a virus, resistances are now taken into account. In addition, list entries that contained a virus that has been cured are now deleted.

Proposed commit: http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=9262

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4008 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 19:32:31 +00:00
ericgfwong@hotmail.com
a7baf04430 -Cargo bay conveyor belts made one-way
-Readded fire door to sec checkpoint by request
-Fixed rainbow softcaps for real this time

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4007 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 09:31:22 +00:00
ericgfwong@hotmail.com
53b1495438 Fix for rainbow softcaps
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4006 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 07:13:50 +00:00
elly1989@rocketmail.com
60c313aa77 Fix by Giacom for duplicated PDA messages.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4005 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 05:06:29 +00:00
elly1989@rocketmail.com
3764390174 Fixed station_explosion_cinematic. Cause: recent tidying of mob code broke it because I forgot an istype in my code. :/ silly me. fixed now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4004 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 01:50:36 +00:00
elly1989@rocketmail.com
23bb27645e Resolves issue 635: cause, no checks for mob/M being null even though M = locate([ref]) in world >_> so basic
simplified armour rune code a little bit.

Added IP and ID fields to the unban panel. because I told somebody that I'd add it for them aaaages ago but forgot.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4003 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-07 01:17:20 +00:00
johnsonmt88@gmail.com
4cc6222d86 Moved the bottle's force var into attack() so that it is not stronger than hatchets -all the time-.
Added an isGlass var to bottles meaning milk cartons and such can no longer be broken over people's heads.

Mech teleporters and wormhole generators no longer work on z2

You can no longer sneak telebeacons or the nuke disk to the clown planet
- I just added a check for now as this is a rather game-breaking bug and I don't have time to make teleport datacards use the proper teleport procs. I'll come back to this when I have a little more time.

Cult swords:
- They now do a random amount of damage between half of the swords force(20) and the full force(40) as the current 40 damage for picking up the sword is a little high on its own.
- A non-cultist player will recieve a warning when picking up the sword and will be dizzy for a short time.
- They now only damage the user when attacking another mob

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4002 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 19:49:01 +00:00
sieve32@gmail.com
916bb8e617 Fix for the RnD consoles/servers become Ramp'D Machines, for some reason it appeared that the instances on the map were being automagically sanitized, but making them instances in the code seems to have fixed it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4001 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 12:15:29 +00:00
d_h2005@yahoo.com
9a89c08fcf -Added myself to admins.txt.
One less file to untick~

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4000 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 06:49:43 +00:00
ericgfwong@hotmail.com
52cd7e7097 -Fixed the external construction area using the wrong access
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3999 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 06:14:19 +00:00
johnsonmt88@gmail.com
fa1d2bb873 Commit for Giacom:
Breaking bottles over people's heads!
- The bottle will be destroyed and a broken bottle will replace the old bottle
- There is a chance for a glass shard to be created
- The regents of the bottle get splashed onto the mob who got hit
- This affects alcoholic bottles, not to be confused with pill bottles or chemistry bottles.
- - Technically milk cartons and lime juice cartons, so they break as if they're glass.

Names in the PDA list are now ordered alphabetically.

Changelog updated

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3998 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 04:31:35 +00:00
sieve32@gmail.com
00a4219bec Sorry about that, messed up a var in the Syndicate Intercom instance that made the TCOMM system reset their freq
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3997 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 04:06:42 +00:00
ericgfwong@hotmail.com
9e00848c42 -Fixed vent in the upload room using the wrong /area/, creating an exploitable safe spot against turrets.
-A couple of aesthetic fixes for the map

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3996 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 02:59:50 +00:00
ericgfwong@hotmail.com
cd4de04f64 -Made the kitchen a bit more visible from the hallway
-A couple of doors have been made non-transparent

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3995 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-06 00:08:27 +00:00
d_h2005@yahoo.com
069ea9a27a -You can now use the Eject Occupant verb to release yourself from cryo tubes. The process takes 2 minutes, mostly to prevent cryo self-healing from becoming the new standard for treatment.
-Nuke Op personal closets updated: Red spacesuits replaced with syndicate hardsuits. Bulky riot shield replaced with collapsible energy shield. Plain breathmasks replaced with face-hiding syndicate gasmasks. (For those worried about the mask's impact on stealth, you still start with a normal breathmask in your internals box.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3994 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-05 23:25:01 +00:00
petethegoat@gmail.com
84b9929282 Comitting for Giacom!
In short:
AI messaging
Time of death for health scanners
Most lists are sorted alphabetically

See http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=9220 for detailed information.

I wasn't able to test this as thoroughly as I'd like, but what I could test seems fine.
I don't forsee any issues popping up with this stuff.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3993 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-05 22:47:30 +00:00
sieve32@gmail.com
937a499108 Removed the step_x and step_y in the map
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3992 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-05 22:11:21 +00:00
sieve32@gmail.com
9e35d8cda8 Changes to Syndicate Radios, which fixes Issue 595. Now if a an radio doesn't have the Syndicate encryption on it, it won't receive any messages over the Syndicate channel(If I can learn TCOMMs a bit better I'll try to make it a per-message basis)
Changed 'traitor' headsets to 'syndicate' headsets to have it make a bit more sense. Syndicate encryption is tied to the keys, so anything with a Syndicate Key can hear the Syndicate Channel. 
Also, added 2 intercoms to the Nuke OP shuttle that are on the Syndicate frequency and have the needed encryption.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3991 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-05 21:36:15 +00:00
johnsonmt88@gmail.com
3bd93d58a8 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3990 316c924e-a436-60f5-8080-3fe189b3f50e 2012-07-05 21:06:44 +00:00
sieve32@gmail.com
93e4d2c1ff Quick bugfix for falsewalls, defined an update_icon() for them that is called by smoothwalls to keep the icons from de-syncing.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3989 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-05 19:21:27 +00:00