Commit Graph

2962 Commits

Author SHA1 Message Date
vageyenaman@gmail.com
9a3abc1e84 Committed for Giacom, thread:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=9043

Basically adds multi-line input to papers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3846 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 21:01:55 +00:00
johnsonmt88@gmail.com
5bcef5af65 Removed the rd-core computer's process()
- All it contained was some anti-griefing protection.
- The protection is now only called when needed, not every tick.
- This should eliminate hundreds of proc calls every tick.
- Note: There will likely be no noticeable lag reduction from this change, but every little bit helps.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3845 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 20:10:22 +00:00
d_h2005@yahoo.com
6c998fa177 This is the final part of the 3-part update, brought to you by the letter 'A'!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3844 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 18:17:17 +00:00
baloh.matevz
b0a05ab52b This part of a three part commit is brought to you by: The letter 'P'.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3843 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 18:14:29 +00:00
johnsonmt88@gmail.com
1554e2800c This part of a three part commit is brought to you by: The letter 'k'.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3842 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 18:12:05 +00:00
ericgfwong@hotmail.com
361e829e96 -CO2 Jetpacks now spawn with distribute_pressure 0
-Tanks in your suit storage, belt, and pockets take priority over tanks on your back when using the internals button on the HUD
-Added an extra set of vents and scrubbers to the prison wing

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3841 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 10:17:36 +00:00
vageyenaman@gmail.com
449610bee2 Committing a patch for Giacom. See details here:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=9018

Also some very small metroid changes to make them more balanced and less KILL KILL KILL.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3839 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 06:11:14 +00:00
ericgfwong@hotmail.com
fa0a3efa34 Ported over a couple of very nice ponytail sprites from Baystation
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3838 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-16 05:09:13 +00:00
baloh.matevz
9cda710f6e - Added a confirmation message to the takeover verb in malfunction mode which warns the malf AI that the station will get alerted if he continues.
- When an AI initiates the takeover, the delta alert level is enacted.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3836 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 23:17:34 +00:00
elly1989@rocketmail.com
e517e27554 This commit is a load of pants.
Credits to PowerfulStation devs for a few of the sprites which are not made by myself. Credits to Cheridan for the kinky stuff.

Minor runtime fix where target was becoming null...somehow.

Moved unused dmis into the icons/unused directory. They won't even be searched through if you are using resources.dm and have 'dream-maker > build > preferences > Automatically set FILE_DIR' off.
Should save a megabyte or two from the resourcefile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3835 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 23:16:05 +00:00
baloh.matevz
21f99dd0c5 - Got rid of the browser tab
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3834 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 18:16:42 +00:00
baloh.matevz
a80a08f457 - As approved by head coders this revision is a revert of DMF vending machines. The interface was restored to the html driven one from before that. The reason for the revert is the lack of a fix for the DMF-related vending machine UI bugs which include the splitting of the interfaces across the DMF screen and the browser window when hacking. The 2nd bug is the lack of a proper update to the items in the DMF list when coins are used. I also personally think the DMF UI was really, really ugly, but that's just personal taste.
(The chemical dispenser continues to use the DMF interface as there is nothing broken with that)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3833 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 17:58:59 +00:00
johnsonmt88@gmail.com
b92b1ef9a7 Quicker explosions:
- This is more of a fix for the current method of explosions, not a fix to make explosions more efficient as a whole.
- Explosions used circlerange() which had improperly named vars. At a glance, it looked like it was just returning turfs in range, but in reality it was returning all atoms in range.
- Explosions now use circlerangeturfs() which only returns turfs

circlerange()
- Changed the variable names to reflect what they actually use to prevent this kind of confusion again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3832 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 17:19:33 +00:00
baloh.matevz
3cf25d8137 - Changed changeling objective: They now have to absorb 2 or 3 people, but always get one assassinate and one steal objective. The fourth objective is either an escape alive objective (80% chance) or a survive objective (20% chance)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3831 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 13:03:31 +00:00
baloh.matevz
dfcb1ffdb7 - Looks like I failed to properly update one of the files before commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3830 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 09:38:18 +00:00
baloh.matevz
2091f8b014 - Reduced the max amount of damage high pressure does from 20 to 7.
- Added a flag called STOPSPRESSUREDMAGE. When this flag is applied to headlmets/hats it reduces the amount of pressure a mob feels by 40%, when applied to suits it reduces it by 80%. (The max it can reduce pressure is obviously 100%) These coefficients are defines in setup.dm called PRESSURE_SUIT_REDUCTION_COEFFICIENT and PRESSURE_HEAD_REDUCTION_COEFFICIENT and can be tweaked as needed.
- Added a calculate_affecting_pressure(var/pressure) proc to all mobs which takes in pressure and returns the adjusted pressure which takes into account the clothes they are wearing. Currently used for monkeys (where it just returns pressure, since monkeys can't wear protective clothes) and humans, where it takes into account the stuff on the human's head and suit storage. 
- Somewhat standardized human and monkey life file code.
- Added the pressure stuff to the changelog
- Removed a provocative entry from the changelog by carn.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3829 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 06:50:20 +00:00
elly1989@rocketmail.com
1b6b13b6b4 Quick fix for resisting out of cuffs
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3827 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 06:10:35 +00:00
johnsonmt88@gmail.com
0ab6eda79b Fixing a mistake on my part. Even though canisters are a child of machines, they should not use the machine's topic() as that checks for power, which the canisters don't use.
Also adding carn and I's name into the admin.txt so we don't have to keep unticking the file every time we want to commit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3826 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 05:33:48 +00:00
elly1989@rocketmail.com
5b76469b98 First update for update_icons stuffs:
Fixed husking and fatties
Fixed floor tiles still appearing in hand when laying them
Fixed a possible runtime with FAT people

Fixes for pre-existing bugs:
Fixed being unable to put belts & backpacks on other people
Tweaked the damage procs a bit. Mainly adding in sanity checks to prevent negative damage and such. A few optimisations here and there.
Fixed ratios for brute-burn damage being applied to organs simultaneously
nodamage==1 now prevents all organ damage. It does not stop healing however.
In-line with the sanity stuff mentioned above, clamp-values for brute/burn were removed as requested by Rockdtben


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3825 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 04:11:14 +00:00
johnsonmt88@gmail.com
c36e6d57d4 Mining mechs, which currently only spawn in secret asteroid rooms, no longer have tracking beacons
Changes to windoors.
- Secure windoors now require 2 plasteel sheets instead of 4 rods
- Windoors and secure windoors have reduced health.

Added checks for proximity, canmove and death on:
- Library scanner
- Library computer
- Library public computer
- Bookcases (Fixes issue 564.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3824 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 02:16:59 +00:00
kortgstation@gmail.com
30cb4ae5c3 Added Ausops new cult robes, hood, armour, shoes. These now spawn from the armour talisman.
Moved the red magus robes to be a wizrobe variant, put the red robes on the wizard shuttle.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3823 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-15 00:01:15 +00:00
petethegoat@gmail.com
9831e63ca5 Fixed stunbaton sound. Thanks Pas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3821 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 22:58:53 +00:00
elly1989@rocketmail.com
ba545bbee9 Added some #undef (undefines) to try speed compile times up a little bit.
Added resources.dm where FILE_DIR can be defined manually. It should speed clean-compiles up by reducing the number of places the compiler searches for resource-files to put in the resource-cache (stuff in ' ' quotes. e.g. icon='human.dmi').

To use manual FILE_DIR defines go to: 
Build > Preferences for tgstation
in dreammaker. Then un-tick "Automatically set FILE_DIR for sub-directories"

It also means you have less crap to clean up in the .dme before every commit C:

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3820 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 21:47:45 +00:00
elly1989@rocketmail.com
34cb1473bf Removed some damage-overlay updates from apply_effect(). It doesn't need to be there.
All credits to Pete for spotting this.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3819 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 20:35:20 +00:00
johnsonmt88@gmail.com
883b290064 Server crashing and exploit fixes
Added a cooldown to the containment field shocking players
- If a containment field was set up in a small room, it was possible to crash the server by jumping into the field with no way to escape it. This was likely due to the hundreds of spark effects being generated every second, on top of all the other calls it had to make.

Used the existing parent proc to check for proximity, canmove and death on:
- Atmos pumps
- Atmos mixers
- Canisters. (This should finish off issue 397.)
- Crew monitering computer (This one probably didn't need it but it shouldn't change the way it works.)

Added admin checks to:
- datum/mind
- tensioner
If either of these fail an admin check an admin log will be entered into the server logs and a message will be displayed to admins.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3818 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 19:31:15 +00:00
elly1989@rocketmail.com
ee853b5740 You can store a pen in your PDA to compensate for the lack of a hat-storage slot.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3817 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 10:55:23 +00:00
d_h2005@yahoo.com
a923a8f722 -Added Lezowski's overalls to hydroponic supply closets. 50% chance per closet for them to replace the apron.
-Removed some tags from things that made no sense to have them. Waistcoats and aprons don't cover your arms, guys.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3815 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-14 00:35:21 +00:00
petethegoat@gmail.com
c27676e0e1 Fix for borg batons running out of charge. Thanks Invisty for reporting this.
They now consume 50 charge per stun.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3814 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 22:50:34 +00:00
ericgfwong@hotmail.com
be39fe38a1 Added surgery crate to cargo for 20 points. Contains surgery tools that were, up till now, irreplaceable.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3813 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 22:07:27 +00:00
elly1989@rocketmail.com
8961bd96d0 WARNING: This has been thoroughly tested and I'm happy that it's -stable- (it shouldn't runtime). However, it might have a few niggly bugs caused by specific items using no-standard or weird code. Most bugs will be stuff like it not updating overlays and such and can be fixed simply by dropping the item. That being said, if you're not comfortable with this, I'd suggest waiting to update past this revision.
update_clothing() has been broken up into it's key parts. A full explanation can be found in code/modules/mob/living/carbon/human/update_icons.dm
the tl;dr of it is that overlay updates are no longer called by the gameticker. Instead they are called by procs such as u_equip db_cick etc. This means faster updates (although admittedly, more of them can be called per tick). This however is offset by the fact that specific overlays can be updated now, vastly improving its efficiency. This will especially help when there are large numbers of dead mobs.

Fixed the throw code for TKgrab so it can be toggled.

Cloaking for aliens/humans/ninjas was changed. It's very crude at the moment and for that I apologise. But it works and is very efficient.It also stops cloaked individuals becomming invincible due to people being unable to hit them (even when they know exactly where  they are)

Fixed a bunch of bugs with damage-overlays. They  were updating FAR FAR to frequently. They were also horribly inefficient. They should now be virtually seamless when updating and only use cached icons, so they aren't affected by lag as badly. This may help with explosions lag a little.

There's still a tonne of stuff I need to refine with this. I'll be refining it down into some helper procs to reduce on code duplication and such

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3811 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 19:03:25 +00:00
ericgfwong@hotmail.com
e8161929d1 -Removed QM office maint door. Too many doors in that area.
-Mesons can now be produced at R&D

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3810 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 03:45:04 +00:00
baloh.matevz
083e00c60e - World debug output in the game's master controller anyone?.... anyone? No? Okay then, I'll remove it...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3808 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 02:01:22 +00:00
baloh.matevz
b6a6b8614d - Added Cheri's lizard and monkey pelt sprites for tanning
- Added a 'time between ticks' status display for admins as well as this being calculated.
- Made the malf countdown take this into account. Now if you hacked 3 APCs, which means you'd normally have your points reduced by 0.5 per tick, you get it reduced by 0.5 * last_tick_duration

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3807 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 23:13:37 +00:00
quartz235@gmail.com
c9451df024 Some small changes to shock logging
- As per erro's request, doorshocking is now also logged in the mob's attack log var
- shockedby is now a list and entries are timestamped

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3806 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 17:41:24 +00:00
quartz235@gmail.com
760f26c6ef Added the ability to track who last electrified an airlock
- the shockedby var shows the IC name and ckey of who last electrified it, it doesn't clear out once electrification ends to prevent the ability to conceal who did it by shocking and then unshocking the doors

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3805 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 13:10:52 +00:00
baloh.matevz
2296cfd331 - Full revert of r3803, approved by project leads.
r3803:
- Contained many bugs, first of which was that it didn't really... work.
- Split the HUD and code into separate objects, thus creating a fork in code. This implies that any changes need to be mirrored on the fork objects, thus doubling the amount of code maintenance we have to do.
- The UI should be one of the most standardized things around. Giving choices here is bad design practice.
- Double the amount of defines does not equal to double the amount of fun.
- The revision does not adhere to our coding standard. See the changes to  /trunk/code/modules/mob/hud.dm in r3803 as an example.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3804 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 12:31:14 +00:00
mport2004@gmail.com
91a4708544 The old style UI can now be selected via the player preferences before you join a round.
The hud object has been moved to modules and now has two children, slim and retro.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3803 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 09:16:30 +00:00
baloh.matevz
c2ba751e13 - Added feedback logging for cookie spawning, because WHY NOT...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3802 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 06:08:46 +00:00
baloh.matevz
02474a04e0 - Forgot to remove some world << "" debug outputs. Removed them now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3801 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 04:48:40 +00:00
johnsonmt88@gmail.com
3ae7acf8f2 Committed for Sieve:
Fixed an error in door_assembly.dm regarding glass doors not getting sprites.

Cleaned up astroid floor code.
-Bombing astroid floors (sand) will now 'dig' up sand.

TK users no longer get shocked while bashing grilles using TK.
- Range check on grille shocking. Fixes Issue 419.

Added to the lighting checks for Plantmen. They should no longer starve on the shuttle. Fixes Issue 471.

Bombs now affect people inside lockers. Fixes issue 208.
- Modified Sieve's original change so that the contents of the locker get severity+1. Meaning a weaker severity meaning the locker offers some protection.

Vending machines and mass driver buttons now leave fingerprints. Fixing issue 542.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3800 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 04:45:38 +00:00
baloh.matevz
0f457ae7fc - Added the leather sprites by Cheri.
- Making single pane windows now makes them in the direction you're facing. If a window already exists in that direction it makes it 90 degrees to your left, if one exists there too, then another 90 degrees, etc.
- The resist verb and UI button can now be used to escape from welded or locked lockers. It takes the standard 2 minutes to get out of a locker. If this is a secure locker, the locker is broken in the process (same effects as if an emag was used on it).

Added the window thing and resist thing to the changelog. Leather still not available ingame.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3799 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 04:36:08 +00:00
vageyenaman@gmail.com
4aa00077d2 Removing some half-finished bullshit that makes throwing things ULTRA DEADLY.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3798 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-12 02:06:09 +00:00
daniel.cf.hultgren@gmail.com
838ad266d9 * Fixed being able to lock yourself in or out of a locker using the verb
* Added lightfixture creating by Xerux!

To those who update changelog, don't put stupid shit in it, make it actually proper.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3797 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 19:51:42 +00:00
baloh.matevz
fb29642e48 - Fixed a bug where the removal of cable-cuffs with wirecutters displayed the "you have removed..." message to everyone and the "X has removed Y's cuffs..." to the person whose cuffs got cut off.
- Added the tanning micro-mechanic. Hide still not available in-game yet tho until sprites are added and some use for leather is made. I'll get on that soon<TM>

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3794 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 17:36:03 +00:00
baloh.matevz
68aface68a - Added the cloth and leather stack types, they are however not yet present anywhere on the map. Sprites by Ausops
- The sheet stacking machine in mining can now also stack cardboard, wood, leather and cloth.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3793 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 15:45:42 +00:00
baloh.matevz
b2e51d55ef - Fixed the problem with cable handcuffs where you could not make a pair from a cable coil with exactly 15 lengths of wire.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3791 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 13:58:41 +00:00
ericgfwong@hotmail.com
837a126f46 -Rewired power cables in arrivals so they don't go through walls
-AI Integrity Restorer circuits can now be made via imprinter
-Changes to Tech Storage inventory
--Removed teleporter circuit. It was intentionally moved to the RD's office to prevent nuke ops from stealing them.
--Added Protolathe, mining station monitor, and atmos alert circuits
--Added crew monitoring circuit to secure tech
--From the earlier commit: Added autolathe circuit and moved ID computer circuit into secure tech

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3789 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 08:05:17 +00:00
johnsonmt88@gmail.com
6db801b2f1 Renamed 'Secruity Barriers" to "Security Barriers"
Fixed plastic flaps not letting small creatures pass (An if-statement was partly backwards)

Re-added the teleporter circut board to secure tech storage.
- I think someone accidentally replaced it with a duplicate cyboard upload at some point.

Lowered the chance for Perriot's Throat to HONK words.
- Max chance before was 4*20% chance now it's 4*12%

Perriot's throat will no longer HONK words when you're dead so that deadchat is spared.

Portable flashers no longer ignore certain eye protection. Fixes issue 535.
- They now use the mob's eyecheck() proc instead of using its own out-of-date proc

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3788 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-11 01:04:11 +00:00
baloh.matevz
da06918446 - Removed the "Traitor (XY) has died." admin message. This was important in days of yore when there was only one traitor, so the traitor dying meant no more antagonists, but it is now just metagame information which unwillingly reveals the game mode to admins without actually providing any useful information.
- Fixed a problem where the adminhelp parser would give a "adminname attempted to override the admin panel!" when clicking the links in (?)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3785 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-10 15:41:15 +00:00
baloh.matevz
10b29f5265 - The adminhelp sound is now a character setup option for admins of any rank.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3784 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-10 11:02:34 +00:00