Commit Graph

9456 Commits

Author SHA1 Message Date
Whitellama
f3e3ce7429 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-21 04:01:32 -08:00
Whitellama
71b8045ee4 Added banging against windows with harm intent 2012-11-21 04:00:52 -08:00
Whitellama
900b931c34 Readded Xenobiology shuttle, readded combat shotguns to armoury (with beanbag shells), Removed Roboticist's access from command-clearance tech storage 2012-11-21 04:00:31 -08:00
giacomand@gmail.com
fb90b18664 -Added new buttons to smart fridges which will let you take out more products at once. The buttons are x5, x10 and x25.
-Increased the fridge capacity to 2000.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5149 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 11:29:13 +00:00
giacomand@gmail.com
83193eaa95 -Committing Zelack's fix for retrovirus and committing his work on converting checking names to checking types when playing ambient sounds.
-Committing SuperSayu's fix for allowing robots to quickly empty items that they carry.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5148 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 10:45:17 +00:00
Kortgstation@gmail.com
2533d8066f Added a new shadow person mutant race sprited by Majorsephiroth. If it is too bright, they take damage, dark enough, they heal.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5147 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 09:03:10 +00:00
elly1989@rocketmail.com
1aaf44e076 Moved a lot of preference related toggles to the Preferences verb tab.
You can now modify specialrole candidacy mid-round and it will save changes to your savefile.
Added a BE_NINJA flag. Doesn't do anything yet. If somebody wants to implement it, go for it.
Moved prefrences stuff from new_player to the folder /code/modules/client/
Renamed toggles so they appear in a nice order.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5146 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 08:06:44 +00:00
Kortgstation@gmail.com
28db1ef2f7 Added medical rigs, sprited by Majorsephiroth. Right now their only special "medical" feature is holding medkits in the suit storage slot, I'll try to figure out more stuff to give them.
Added two of them to EVA (replaced two normal suits).

Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5145 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 07:02:19 +00:00
elly1989@rocketmail.com
2e68af07c1 Merged listen_ooc, seeprayers, STFU_ghosts, STFU_radio, deadchat, sound_adminhelp, ghostears, ghostsight, canplaysound, midis, no_ambi and lobby_music into client.prefs.toggles as bitflags.
Toggling these preferences in-game will update your savefile. Meaning that your preferences will persist between rounds.

Added some savefile_version updating stuff. It's pretty crude. If you're changing any of the savefile stuff just ask and I can change it/help.

Removed some unused client vars

Ghosts no longer hear ambience. Simplified ambience code.

Simplified lobby music code. It will no longer cause a massive queue of events (which would eventually balloon in memory use)

Moved ooccolor and sound_adminhelp back to prefs. It's easier and allowed me to remove the setupclient() stuff completely.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5143 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 05:58:04 +00:00
Chinsky
965efe9d23 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-21 08:19:36 +04:00
Chinsky
59a31bab86 Added delay to vessel repair surgery.
Fixed metroid core surgery exploit.
2012-11-21 08:19:10 +04:00
giacomand@gmail.com
ba4e25b97d -Added some new helper procs.
-Used some helper procs in my advance diseases.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5142 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 02:01:39 +00:00
petethegoat@gmail.com
02c12a5877 Updated nuke mode a bit. The main changes are to the nuke shuttle.
The nuke shuttle now has no restrictions (except a cooldown) on movement, and can be piloted to any location. It also travels through hyperspace.
Nuke lockers and such now start on the shuttle, rather than spawning on landmarks. (with the exception of the bomb, and the uplink locker)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5141 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 01:28:14 +00:00
giacomand@gmail.com
d0ca8fcd54 -Fixed an issue with corpses appearing in the living_mob_list.
-Added a maths.dm with useful math procs. I've taken the math procs from a resource library from BYOND called dmMath ( http://www.byond.com/developer/Nickr5/dmMath ) thanks Nickr5 for the useful procs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5140 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 01:02:56 +00:00
petethegoat@gmail.com
92d41a543f Removed unused and unneeded sprites from gun.dmi
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5139 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 19:47:44 +00:00
petethegoat@gmail.com
c6b8a3b009 Fixed some L6 issues.
Added a pistol that can be silenced for future nuke op use.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5138 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 18:57:14 +00:00
giacomand@gmail.com
16c78488bc -Ghosts can eavesdrop on people with headsets again.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5137 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 17:56:42 +00:00
RavingManiac
e31e117315 Package wrappers can now be put inside backpacks or other storage containers if the container is being held or worn. 2012-11-21 00:48:03 +08:00
giacomand@gmail.com
9250be52a7 -Got rid of a redundant del() in the PANDEMIC. Fixes Issue 1116.
-Added a new symptom. Voice Change will randomly change the voice of the affected mob. It isn't obtainable by Mutagen and I'll likely put it in the virus crate when I have more dangerous viruses.
-Added two new symptom procs. Start() will be called once and it'll be called when the advance disease processes. Allows you to setup stuff for your symptom. End() will be called before the disease is deleted.
-Diseases that spread by blood won't spread by contact anymore. You will need to directly inject someone to get them to catch the disease.
-Put a limit on shivering and fevers.
-Added a specialvoice variable. You can use SetSpecialVoice() to set a special voice that the player will say instead. To unset it, use UnsetSpecialVoice(). GetSpecialVoice() will return the player's special voice value.
-Added two DEFINEs for the limit which is how much a human can take before taking burn damage from heat or coldness. 
-Some symptom value changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5136 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 16:39:11 +00:00
elly1989@rocketmail.com
333e4015d5 I am stupid. A Typo in warn code meant it wouldn't work.
Thanks EliteIxHitman

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5135 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 16:18:14 +00:00
petethegoat@gmail.com
6db2d55bbd Improved rigged crate code for some anon on /vg/
Made syringe guns do no damage on behalf of coderbus.

Added some new book sprites and updated some books.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5134 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 16:06:14 +00:00
Kortgstation@gmail.com
f2c1898b6a Added Exile Implants.
Someone implanted with an Exile Implant will be able to enter the away mission, but unable to return from it. Not only can they be used for getting rid of dangerous criminals, but revs/stationheads count as dead while on the away mission, and traitor/changeling/wizard assassination targets count as dead if they're on the away mission at round end, allowing for those objectives to be completed peacefully.

Added a locker of exile implants to the gateway room.

Added a health analyzer to virology.

Replaced the teleport scroll in station collision with a cultist space suit/helmet. This is both because a teleport scroll is sorta overpowered in general and because it would allow people to easily return from exile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5133 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 14:34:29 +00:00
giacomand@gmail.com
5b8b1b3302 -Added some visual hit indication by having a variable be set to 20 when the mob takes brute or fire damage. It will then be added to the health calculation, in the overlay code, and then it will reset to 0. Thus making a cool effect.
-Removed the waiting for light replacers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5132 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 12:23:51 +00:00
Whitellama
f0be63eaa1 Allowed more mobs to emote with me verb 2012-11-20 03:09:42 -08:00
Kortgstation@gmail.com
7b048f5604 Fixed the NT cruiser areas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5131 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 08:12:47 +00:00
Kortgstation@gmail.com
2bf072ba28 You can now throw objects and mobs through the gateway.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5130 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 07:38:54 +00:00
elly1989@rocketmail.com
99d3d9c900 Fixes a runtime caused by observing a round. eek
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5129 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 07:08:27 +00:00
petethegoat@gmail.com
0691220aec Committing fancy teleportation step triggers for Intigracy.
Moving tensioner.dm into unused.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5127 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 20:55:29 +00:00
Travis Whitehead
5ad12e5c95 WIP: Porting gun targeting 2012-11-19 12:32:36 -08:00
SkyMarshal
0644ac9af0 Merge pull request #1974 from CIB/master
Medical fixes and balancing
2012-11-19 11:19:10 -08:00
elly1989@rocketmail.com
27a53e211b removed client/var/be_alien and client/var/be_pai, everything now uses client.prefs.be_special
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5126 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 18:35:14 +00:00
giacomand@gmail.com
6d05ae60de Balance change: Malf AIs can't shunt from APC to APC and must first return to their core. They can also start a takeover from their APC now. This is a test run with it and if people don't like it I'll remove it.
General work to advance diseases.
-Changed the possible cures to a list which is ordered from easiest to cure to -hardest to cure.
-Some tweak valuables to symptoms.

-Air alarms will update their window when you cut/pulse wires.
-Re-added analysers to mechanical (blue) toolboxes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5125 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 18:30:05 +00:00
elly1989@rocketmail.com
14ed3f155b Mutes are now in datum/preferences. That means they are persistent! You can't avoid them by logging out you naughty little spammers.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5124 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 17:09:05 +00:00
elly1989@rocketmail.com
599430c3ff Re-added warnings. Admins can now give players formal warnings via the player panel. Even when they are offline. These warnings can no longer be reset by logging out.
The number of strikes a person gets is a define so hosts can modify it to their liking (I should probably move this to a config option but I can't be bothered to test it again). It defaults to 3 strikes, on the third strike you're out. It'll autoban you for 10 minutes.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5123 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 16:48:03 +00:00
petethegoat@gmail.com
3847c3d638 Photocopiers work properly with photos once again.
Updated gateways a bit, they use a few less globals now.

Added some new snow icons.
Added a wip away mission.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5122 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 16:28:52 +00:00
elly1989@rocketmail.com
30357d18ce SANITY: Created a series of generalised sanity procs. They can be found in code/__HELPERS/sanitize_values.dm
They include such procs as sanitize_integer(num, min, max, default) which will check num is a number, round num to make it an integer, then check if it is between min and max (inclusive). If it fails the bound-checks it will return default. There are others, have a look.

PERSISTENT PREFERENCES: Every ckey which connects to the game gets its own persistent /datum/preferences datum.
It is archived in var/list/preferences_datums = list("ckey" = datum)
At connect it is automatically associated with the client defines.dm (or a new one is created if it can't find an archived prefs datum). This means clients will ALWAYS have a var/datum/preferences/prefs which references this datum. So you can use it without checking if(client.prefs)
This has simplified only a few bits of code. It will however, allow us to make preferences like see_deadchat ghost_ears etc, persistent. So they will not reset when you DC.

SAVEFILES: Changed the player savefile code a lot. Hopefully I've not fucked it up too much. Every single variable loaded from saves is now sanity checked using the new sanity procs. This should help prevent savefiles becomming obsolete by sanitizing input to meet current requirements, without deleting all the ok variables and making you start from scratch >_> NOTE: I still need to sort out the savefile version stuff. I'll probably figure it out before the server updates anyway. It sees to be fine without it.

You can no longer choose your blood type. It is randomised (with each bloodtype having a realistic probability of occuring). This is to make blood analysis (detective/medical) less pointless. It is chosen as soon as you connect. It remains persistent throughout each round so you won't be able to change it by logging in/out over and over.

Replaces some copypasta code with is_afk() (still a fair bit to do)

There are new hyperlink shortcut things. _src_=vars will direct your hyperlink to viewvars. _src_=prefs to your preferences datum. (These are the only way to access those bits of code via links). This means that the overall amount of operations in almost every Topic has pretty much halved and is much prettier.

Replaced and removed adminplayervars from datum/admins/Topic. It was superfluous. They now all point directly to the viewvars code using _src_=vars

Removed the changelog popup at round start. Instead a button on your game-window will glow white if there are new updates. To peruse at your convenience. This will speed up connect times.

Removed the AFK_THRESHOLD define. It is integrated into is_afk() now.

TODO: remove the prefs stuff from mobs and clients and update code to use client.prefs to access that info.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5121 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 15:13:57 +00:00
cib
c5d35839ba Fixes issue #1959
Crew transfer shuttles now force the mode to finish, even if the mode has other finish conditions.
2012-11-19 12:24:14 +01:00
petethegoat@gmail.com
b39b1417cc A bit more bugfixing and clean up for new cameras.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5120 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 02:13:10 +00:00
Whitellama
77b6f1e6fc WIP: Porting gun auto-targetting + suicide 2012-11-18 17:40:39 -08:00
SkyMarshal
ae3cd42c76 Merge pull request #1973 from comma/master
Runtimes
2012-11-18 17:07:39 -08:00
johnsonmt88@gmail.com
1ea9aaa7ef Extra file got added.. That's the last time I trust the little TortoiseSVN checkmark icon on my folder.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5119 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 01:03:01 +00:00
johnsonmt88@gmail.com
7dad5e0af2 Moved shuttle_engines.dm to the unused folder as it has apparently been unticked for ages.
Moved the modified wish granter and meat grinder from Brotemis' away mission map (wildwest) into wildwest.dm in the random z-level folder. This way if we get to rotating through different maps, we wont have leftover unused code laying around.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5118 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 01:00:32 +00:00
Whitellama
a9e3300a73 Disabled automatic spawning of space ninjas 2012-11-18 16:45:53 -08:00
ericgfwong@hotmail.com
4078732bd3 Secure Construction Area is now the Gateway room. Access restrictions changed to require Teleporter access.
Removed light switches from individual dorms.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5117 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 23:58:51 +00:00
Ispil
a4074de7b0 Adds a /The to the holstering and drawing a firearm messages, for when the name of the user is improper or not capitalized. 2012-11-18 16:47:52 -07:00
petethegoat@gmail.com
b67262b32b Ported over BS12 style cameras, which photograph a 3x3 area. It's fuckin radical.
Removed /obj/item/weapon/camera while I was at it (unused).
New cameras are in modules/paperwork/photography.dm.
Standardised folder and paper naming a leetle bit.

Added a new gamekit sprite, also from BS12.

Path changes!
/obj/item/weapon/camera_test > /obj/item/device/camera

Updated all maps with the path changes, excepting oldstation.dmm.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5116 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 23:41:37 +00:00
Ispil
afe7e4642a Fix to Issue #1978. Removes the extra "t" in "the." 2012-11-18 16:38:01 -07:00
Ispil
d6505fd064 Fix to Issue #1972. Humans now spawn with full SE length, as do monkeys. 2012-11-18 15:40:55 -07:00
petethegoat@gmail.com
0a610c3df6 Fixes issue 1063. Catatonic revheads count as alive in terms of the round not ending
Catatonic players now count as dead for assassinate and mutiny objectives.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5115 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 21:43:53 +00:00
petethegoat@gmail.com
f9c4ce17e7 Added A WINTER WONDERLAND to the map. But on z2 this time.
Shuffled around the pod retrieval shuttle and the syndie shuttle a little bit.

Added fake unsimulated glass windows.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5114 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 21:16:08 +00:00