Commit Graph

210 Commits

Author SHA1 Message Date
johnsonmt88@gmail.com
834fe68277 One more quick commit for Sieve:
- Swap hands hotkey (page up) now cycles through borg modules.

Added this to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3748 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-06 05:44:33 +00:00
daniel.cf.hultgren@gmail.com
2ce2243223 Disposal update
* You can now Drag-Drop disposal pipes and machinery into the dispenser, in order to remove them.
* You must now use wrench before welding a pipe to the ground
* You can no longer remove a trunk untill the machinery ontop is unwelded and unwrenched
* You are now forced to eject the disposal bin before unwelding it.

Thanks to whoever said the bugs in OOC. (Sorry, unable to remember names)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3734 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-03 15:35:56 +00:00
joeheinemeyer@gmail.com
e0d605c2eb Readded detective work, with much bugfixing and optimizations.
Any PDA that can access the Security Records can, via the forensic scanner function (that was already there) store data on what was scanned, the same way that the Detective's scanner can.
Scanning a PDA with said stored data in the Detective's computer-o-doom will transfer the data from the PDA to the computer's database.
Made some area names improper as needed (Only ones where it makes sense to be improper.)
Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3713 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-01 20:32:26 +00:00
johnsonmt88@gmail.com
90a621e9e9 Windoors are now constructable
- Steps required to make it:
- Step 1: Use 5 r-glass sheets to make the assembly
- Step 2: Add 4 rods to the assembly to reinforce it (optional)
- Step 3: Rotate the windoor or flip the direction it opens
- Step 4: Wrench the assembly to the floor
- Step 5: Add cable to the assembly
- Step 6: Use screwdriver to adjust wires (and access)
- Step 7: Use crowbar to finish

Airlock assembly
- Replaced sleep()s with do_after()s to properly detect whether the user has moved away from the airlock or has put/throw away their tool while using it

Glass and Reinforced Glass sheets
- They now properly detect windows currently placed on the ground
- Removed unintentional (extra) for loops

Changelog updated

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3710 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-01 16:31:23 +00:00
ericgfwong@hotmail.com
9df6b92054 -Added cameras to engineering storage and conference room
-Updated changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3699 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 21:51:16 +00:00
johnsonmt88@gmail.com
3e3c9d4739 Window doors are now breakable
- Window doors currently have 200 health, this can and will change if break ins become too common.
- They still do not have wires, so you can not 'hack' them that way.
- As always, emags still hack open window doors

Changes to the hidden mining room treasures.
- Added quality pickaxes, jackhammers and drills as a possible treasure.
- - Higher quality tools are rarer of course
- - Plasma cutter is possible but rare
- Added a ripley (equipped with a drill and hydrolic clamp) as a possible treasure.
- - There is a chance for the ripley to have a diamond drill instead of a regular drill. 

Modified the resource crate.
- - It no longer always gives you multiple stacks of every mineral.
- - It now gives you a chance to get each mineral based on rarity.
- - The size of the mineral stack is also partly based on rarity.
- - There is a very small chance to recieve nothing in this crate.
- - There is a very small chance to recieve a jetpack in this crate ontop of the metal.

Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3696 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 20:35:32 +00:00
d_h2005@yahoo.com
cb2ba1a0e3 -Adjusted balaclavas and added luchador masks. They replace the boxing gloves in the fitness room.
-Tweaked fake moustache. It shouldn't work as internals, but it disguises your identity.
-Fixed a couple flags for the sake of logic.
-Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3691 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-28 21:32:12 +00:00
daniel.cf.hultgren@gmail.com
589267fabf Revolutionary update!
You can now dispense Disposal Bins, Outlets and Chutes from the disposal dispenser. These are movable and you can attach them above open trunks with a wrench, then weld them to attach them completely.
You can remove Bins by turning off their pump, then screwdriver, then weld, then wrench. Same with outlet and chute except for the pump part.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3690 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-28 20:51:15 +00:00
ericgfwong@hotmail.com
4a968cb73c -Supply shuttle timer displays SPPLY for clarification
-Added a couple more status displays in cargo

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3685 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-27 21:51:44 +00:00
ericgfwong@hotmail.com
6b9895ecb4 -Ported over Flashkirby99's RIG suit sprites from Bay12: http://dl.dropbox.com/u/4911780/spriting/more4/stuffz.png
-Updated changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3678 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-26 23:10:14 +00:00
baloh.matevz@gmail.com
fd48ee5e8b - Added a character setup option which allows you to pick between the Midnight, Orange and Old icon sets for the user interface.
- Deleted most of the unneeded icons from screen1_Midnight.dmi Use that as the reference for making new icon sets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3647 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 19:11:08 +00:00
baloh.matevz@gmail.com
293e8cf53a - User interface updates.
(Screenshots do not use the right icon set.)

Screenshots:

The new minimal interface can be seen here:
http://www.kamletos.si/hud%20update%204%20-%20minimum%20interface.png

The full interface can be seen here: (except the nutrition indicator is not visible)
http://www.kamletos.si/hud%20update%203.1.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3646 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 17:57:42 +00:00
petethegoat@gmail.com
523245e7cd Fixed the changelog. (please try and keep to one date format!!)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3645 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 16:46:13 +00:00
d_h2005@yahoo.com
b4135fe726 -Medical borg overhaul. Instead of a dozen random one-use pills and syringes, they get an advanced hypospray that can switch between auto-replenishing tricordrazine, inprovaline, and spaceacillin.
-Janitorborgs get a mop again, because without it they had no way of hitting anything.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3644 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 16:41:55 +00:00
d_h2005@yahoo.com
ee64a4014e -Reverted default UI sprites to Erro's old-style. Retina-scalding Orange and new Midnight UI scheme are now found in screen1_Orange.dmi and screen1_Midnight.dmi, respectively.
-Driest Martinis will no longer be invisible.
-Braincakes are now able to be cut into slices.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3641 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-23 01:32:24 +00:00
ericgfwong@hotmail.com
8c11377249 HoP says: "Stay the fuck out of my office!"
-HoP office remapped and is now private
-Conference room is now accessed from the main hall.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3640 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-22 22:08:12 +00:00
ericgfwong@hotmail.com
146475ebbd RIG helmets can now be used as flashlights, just like hardhats. Credit to Sly for the sprites.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3638 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-22 20:24:52 +00:00
baloh.matevz@gmail.com
88888ed5ab - Fixed some odd behavior with storage items when you drag-dropped them from the floor without ever picking them up.
- New hotkeys: Delete is the 'stop dragging' button and insert cycles through intents.
- Added some user feedback messages to the drop, throw, stop-dragging and cycle-intents hotkeys.
- Added the hotkeys thing to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3631 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-21 00:50:13 +00:00
baloh.matevz@gmail.com
3394098496 The new 'sleek' user interface is going live.
Screenshots:
Humans:
http://www.kamletos.si/ss13%20hud%2018%20human%20standard.png
http://www.kamletos.si/ss13%20hud%2018%20human%20full.png

Borgs:
http://www.kamletos.si/ss13%20hud%2018%20borg.png

Aliens:
http://www.kamletos.si/ss13%20hud%2018%20larva.png
http://www.kamletos.si/ss13%20hud%2018%20alien.png

Monkeys:
http://www.kamletos.si/ss13%20hud%2018%20monkey.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3630 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-21 00:04:08 +00:00
baloh.matevz@gmail.com
d14ae05f19 - PDA messaging reworked a bit. If you receive a message with your PDA somewhere on your person (so not in a backpack), the message will be displayed to you in the text box along with the name and rank of the sender. A reply button will be next to this to make replying easier. The PDA beep will still appear and the PDA must not be in silent mode for this to work.
Screenshot:
http://www.kamletos.si/PDA%20communication%203.PNG

Added this to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3628 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-20 21:10:52 +00:00
vageyenaman@gmail.com
7b6a5e8c1f - Added a middleclick function that swaps your hands.
- Some reorganization of DNA display in DNA modifiers. It's much easier to see where blocks start and end now.
- Tried to clean up some mob stuff, mostly dead humans unnecessarily grabbing their atmosphere.
- Made turret controls emaggeable.

I've also committed Invisty's new ending station animations. They're pretty cool, check them out!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3621 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-19 17:05:55 +00:00
baloh.matevz
8e3a2630cb - Wallets once again spawn in the satchels in the cabinets in the dorm.
- Wallets now fit in pockets
- If you are clicking on a storage item in your pocket with an empty hand it will return that item to your hand

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3610 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-18 20:07:25 +00:00
baloh.matevz
1b3be12c3d - Removed hat storage.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3608 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-18 19:15:21 +00:00
ericgfwong@hotmail.com
08e5f0a08e -New sprites for Cargo, HoP, and Captain's lockers
-New glass airlocks for science and supply departments
-Added more department-specific door sprites to map

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3605 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-18 07:33:42 +00:00
ericgfwong@hotmail.com
44cf5ee86d -Individual dorms now have a button inside that bolts/unbolts the door
-Door control buttons give the user a message if they lack the access
-Virology door controls now properly restrict access
-Large beaker cost reduced to 5000u glass
-Shooooorts! They're comfy and easy to wear!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3602 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-17 20:10:22 +00:00
ericgfwong@hotmail.com
b54822362a -Added WJohnston's scrubs to Medical Doctor lockers.
-Added two new syndicate bundles
-Reduced cost of thermals to 3 telecrystals (formerly 4)
-Singularity Beacons are now spawned from a smaller, portable device.
-CMO and QM jumpsuits made more unique.
-Updated Cargo Tech jumpsuit and sprite
-Edited Warden's jumpsuit striping to match his jacket
-Added WJohnston's CMO bio hood
-Bug fixes for Nodrak's Random button

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3599 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-16 06:09:32 +00:00
johnsonmt88@gmail.com
d336b65d1b Random button added to traitor uplinks.
- All traitor items are available in the random button so long as you have the crystals to purchase it.
- This means it's possible (though very unlikely) to get 5 sets of revolver ammo.
- It's RANDOM, don't expect great stuff every time.

Made startSinglo() a game-master only verb in the debug tab.
- It is incredibly useful and time saving when testing stuff out before committing.

Added borgs, AIs and dead players to the list of protected paths in the delete all verb. 
- Unless someone can give me a valid reason as to why an admin would delete all ghosts.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3595 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-15 00:32:26 +00:00
ericgfwong@hotmail.com
c5e5a83a08 -r-table parts are now made by using four metal rods on regular table parts.
-Removed r-table parts from the plasteel build menu.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3594 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-14 23:11:26 +00:00
ericgfwong@hotmail.com
333ad1f318 -Fixed broken piping in DJ station
-Added a shower unit to virology's clean airlock
-Removed access requirement for Toxins Test Chamber, as it was before
-Courtroom witness box made easier to use
-QM now has full access to the departments he commands (mining)
-Beakers, small and large can now be made/recycled in autolathes. Large beakers are significantly more expensive

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3592 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-14 08:30:12 +00:00
petethegoat@gmail.com
bec8e2cf37 Renamed access_medlab to access_genetics.
Gave the RD his genetics access back.

Added Invisty's hyperspace tiles.
Added Icarus's map updates (Sec, gateway room, genetics/RD access) ((this is a big overhaul to sec)).
Added Flashkirby99's SMES sprites.

Updated the changelog.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3576 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-11 12:28:02 +00:00
johnsonmt88@gmail.com
6951ec37ed Committed for Sieve:
Reverted dismemberment
- This is the majority of the files

Reverted the gun change
- You wont shoot yourself putting your gun away
- You don't have to fire off all of your shots before hitting someone with your gun

Reverted Tarajans
- As requested

Hotfix for the Holodeck.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3574 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-11 02:21:00 +00:00
d_h2005@yahoo.com
f2dba4a5aa -Emergency Toolboxes now contain smaller, lighter fire extinguishers that actually fit inside them!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3568 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-07 23:03:57 +00:00
d_h2005@yahoo.com
8afca8ac7f -New booze sprites for the drinks that were removed. Re-enabled the recipes for the removed drinks.
-Drinking the Antifreeze booze makes you warmer. Duh.
-You now need 10 sheets of metal instead of 2 to make a gas canister, people can't FILL ENTIRE ROOMS WITH THEM. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3564 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-07 01:56:25 +00:00
petethegoat@gmail.com
3eb03d4664 For Icarus: map updates to medbay & sec, ID computer updates and clarification
For Pete: made chemistry and genetics fully part of medbay, research can go die. Added cheri's hydro closets to hydroponics.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3561 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-06 21:22:49 +00:00
d_h2005@yahoo.com
b0d3396262 -Added fat jumpsuit sprites for orange, owl, pink, security, warden, and yellow jumpsuits. Made the placeholder for suits that don't have a fat sprite a normal grey jumpsuit instead of having the person naked with FAT SUIT written over them.
-Tweaked the way the Somatoray works on trays. Hopefully this will make it more useful and less buggy.
-Botanical leather gloves tweaked. Can now remove lights without getting you burned, basically.
-Botanists given morgue access to better clone people via replicant pods.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3557 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-04 16:44:15 +00:00
petethegoat@gmail.com
cfb6ead371 Added Ikarrus's latest map updates. Changes to genetics, medbay, research and security.
Updated operating tables to search for adjacent computers, rather than using an ID.
Switched back to the old bodybag sprites.
Slightly updated the Oddy destroyed sprites, and updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3547 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-03 15:26:48 +00:00
VivianFoxfoot@gmail.com
d54289d410 Adds to the changeling, makes greater ling possible. We'll see how it goes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3538 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-01 15:52:10 +00:00
baloh.matevz@gmail.com
e3c8258c8c - Added a 'remove ID' verb to PDAs which attempts to remove the ID from a PDA. If your active hand is empty it puts it there, otherwise it puts it on the floor under you
- Added this to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3531 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-30 01:07:07 +00:00
d_h2005@yahoo.com
7edcb92d08 -New sprites for lemons, oranges, and walking mushroom critters.
-Added a new chemical: lipozine, a weight loss drug. Made with sodium chloride, ethanol, and radium.
-Added Invisty's new blob sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3522 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-27 06:54:10 +00:00
petethegoat@gmail.com
21387370c9 Tonnes of stuff, please check the changelog.
In short: massive updates to security, the library, hydroponics, the kitchen and the bar, by Flazeo and Ikarrus
Massive updates to the PA, with Invisty's new sprites, done by Sieve
New sprites for field gens too, also by Invisty
Borg and battery updates by Sieve
Fake gloves by Sieve
I messed around with some pressure_resistance stuff on Dumpdavidson's suggestion (only in paperwork)

PROBABLY A BUNCH OF OTHER SHIT

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3505 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-25 19:28:40 +00:00
VivianFoxfoot@gmail.com
0361469168 Changes rev objectives to use the proper objective so heads being off station actually works
Changelings faking death can no longer have their brains cut out.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3501 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-24 17:18:39 +00:00
d_h2005@yahoo.com
41ba8a7ae6 -Added soil to plant seeds in. Make it by crushing up sandstone. Soil does not have indicators like trays do! Watch your plants carefully!
-Added money trees. When life gives you lemons, mutate them into cash.
-RnD can create a new tool for botanists: The floral somatoray. Has two modes. Use it on your plants to induce mutations or boost yield.
-Raised the passive species-mutation chance slightly.
-Fixed a goof I made before when I was editing poppies. Woops.
-Changed the name of "Generic Weeds".
-Normalized grass harvests.
-Couple of typo fixes.
-Updooted my changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3495 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 05:55:33 +00:00
petethegoat@gmail.com
52f4217874 Big ol' changelog update. And by that, I mean that I trimmed it the fuck down.
Removed the javascript, but kept the fancy formatting.

All old changelog updates are in archivedchangelog.html.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3494 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 03:57:18 +00:00
petethegoat@gmail.com
f91dfe2e0d Updated the barman's shotgun, it acts like a double-barrel now, and he can saw it off.
Added Khodoque's new shotgun sprites.

Added my new gasmask sprites. Removed emergency gasmasks, as the distinction is non-existent.

Very slightly reshuffled some mask stuff around, but it's still godawful.
Medical masks are now /obj/item/clothing/mask/breath/medical

Removed the define for HALFMASK, as it was completely unused.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3493 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 03:18:17 +00:00
baloh.matevz
f87eefbd95 - Fixed the maintenance door outside tech storage to require either maintenance OR tech storage access to open.
It used to require maintenance AND robotics. Not sure what robotics access has to do with it since you can't access tech storage without tech storage access, so I switched it to tech storage OR maintenance.

Added this to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3485 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-21 15:13:48 +00:00
elly1989@rocketmail.com
575654babb Rewrote the cinematic system to be centralised and controlled by the gameticker, rather than handled per mob with like, 3 loops and a seperate process for each mob.dmPlease report any bugs/derps to me asap. I've tested it as much as I can locally, but because it relates to events that require a large number of players it's very hard to test.
TODO: I was intending to use dust to kill players off on a nuclear-loss. However dust() is very very broken. So I've hardcoded everything to die until I can fix dust().

Added an adminverb for 'Game Master's. It was a debug verb so I could test cinematics but I've left it in as it might be handy for events, especially if we get more cinematics. To access it type "cinematic" in full into the input bar as a Game Master, then follow the prompts. At the moment, it only handles nuclear stuff (that's all there is anyway). You can choose where the nuke detonated 0= on station; 1= near station but in space; 2= off the z-level. You can also force a cinematic from another game-mode to play with the prompt after that one.

Note: All mobs are buckled to a bed located inside the gameticker (odd I know) whilst a cinematic is playing. The bed is deleted afterwards releasing all players. If off_station=0 then all mobs will be killed too. This is to stop people running around and doing stuff during the cinematic. I really didn't want to add more variables/checks to mobs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3481 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-19 20:33:19 +00:00
kortgstation@gmail.com
38957e7d46 Updated the changelog with some of my recent changes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3477 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-17 21:28:54 +00:00
petethegoat@gmail.com
fc50dd0303 Updated the map with a modified version of Sieve's robotics remap. http://i.imgur.com/PFVGR.png
Removed r-walls from the librarian's hiding place.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3451 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-13 18:43:29 +00:00
polyxenitopalidou@gmail.com
276db7f50f •Fixed Issue 440 and made sleep work as intended.
http://code.google.com/p/tgstation13/issues/detail?id=440

◘The problem:
People being able to move while resting/lying

◘What caused it:
When a user decided to press "rest", a single variable, resting, was switched from 0 to 1. Through life.dm procs, when the handle_regular_status() proc saw the mob resting && his weakness being 0 or less, it would just give him 2 seconds of being-weak, through Weaken(2). Later on, the proc called update_canmove() to see if the guy had the ability to move due to weakness but also due to reagents/drugs/sleep etc.

At every tick, this proc also reduced mob.weakness by 1.

The chain that led to the problem was:
○User decides to rest
○resting is set to 1, handle_regular_status_updates() runs
○Proc sees that the user's resting var == 1. Does mob.weakness = 2
○Proc handles weakness. mob.weakness -= 1. It is now 1.
○update_canmove() is blind to resting, though sees that there's weakness. Sets canmove to 0
○Proc runs again the following second
○Proc sees user is resting.
○mob.weakness <= 0 fails, since it's 1 from the last run. Weakness stays at 1.
○Proc handles weakness, mob.weakness-=1. It is now 0.
○update_canmove() now sees that there's  no weakness, and sets canmove to 1, even though the user is still resting & lying
○For a second, the user is able to roll around on his lying butt
○Proc runs again, giving Weaken(2) and disables movement again, and the circle repeats.

◘How it got fixed:
Made update_canmove() not blind to resting. I don't like this solution, as resting still equals weakening and there's wasted processing, albeit miniscule. I will try to work on something better.

◘Sleep can now go over 1 again, some dumb shit did not realise this and led to sleep being weak as hell. You can now put people to permanent sleep through anaesthetic gasses and toxins. Deciding to sleep will put you out for 20. Deciding to faint will put you out for 10.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3442 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-12 15:31:46 +00:00
VivianFoxfoot@gmail.com
af91cffbe6 Change to secret room spawning to make sure there's actually an asteroid to spawn them in
Headwear that covers the eyes now protects drop droppers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3436 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-11 15:26:50 +00:00