Commit Graph

5039 Commits

Author SHA1 Message Date
elly1989@rocketmail.com 5bc379fa40 Removed a debug message Gia left in =p k
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5162 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 09:21:40 +00:00
Kortgstation@gmail.com afe9e93c05 Fixed name of the medical rig
Fixed the exile implant locker.

Made syndicate simple animals slightly squishier (block chance lowered).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5160 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 08:15:07 +00:00
cib 6fbff77163 Re-nerf lung capacity due to problems with internals. 2012-11-21 22:41:35 +01:00
Mloc 2f3b3f84c3 Merge pull request #1995 from CIB/master
Fixes and stuff
2012-11-21 13:30:32 -08:00
giacomand@gmail.com 5f4d0a2de9 -Changed the Resurrection "verb" to a "proc" so that nobody starts with it.
-Fixed a small error with the say() code trying to do a bitflag operation with the preference datum and not the toggle variable in the datum. Added a check for the mob speaking having a client so that ghosts with ears toggled on won't keep hearing mice and other animals talk.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5156 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 21:27:12 +00:00
petethegoat@gmail.com 541ae72099 Added Phol's sprites for fat and female (oh god) mutantraces.
Carn, feel free to revert the update_icons.dm changes if this messes up your work.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5155 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 21:23:23 +00:00
cib 966f78f1ab Fixes #1993
Bleeders now stay dead after being killed by blood loss..
2012-11-21 20:51:57 +01:00
cib a6c1b5356c Lungs now can only be damaged when breathing from a turf. 2012-11-21 20:41:50 +01:00
cib e6af3afd42 Fix to breathing inside objects. 2012-11-21 20:33:24 +01:00
Kortgstation@gmail.com e9c901a6c6 Shadow mutantrace can see in the dark.
Updated Brotemis's map with his final changes. This involves shuffling about the final room and adding a bunch of diary papers to explain what is going on. He also fixed the meatgrinder.

Personally, I completely overhauled the wildwest wishgranter. You can now actually choose from multiple wishes. Maybe I'll update the basic wishgranter at some point as well to be less terrible.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5153 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 18:34:12 +00:00
Chinsky c686245263 Fixes issue #1981
Only secborgs are THE LAW.
2012-11-21 20:54:50 +04:00
Kortgstation@gmail.com 8fcff0ac65 Updated the faithless health/damage and the wildwest map to have rig suits on the miner corpses. I'd already edited this locally on the /tg/station servers, so our players shouldn't notice any difference.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5150 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 14:25:30 +00:00
Whitellama f3e3ce7429 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-21 04:01:32 -08: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
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
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
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
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
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
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
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
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
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
Ispil d6505fd064 Fix to Issue #1972. Humans now spawn with full SE length, as do monkeys. 2012-11-18 15:40:55 -07:00
elly1989@rocketmail.com 796726543e message_admins() now only has one argument. The message you want to send. The find and replaces for %holder_ref% -> src=\ref[C.holder] and %admin_ref% -> src=\ref[C] are no longer needed. Instead we will be using _src_=holder to direct to holder and src= to direct to client (not needed, you can just omit the src parameter completely in your link)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5112 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 19:30:25 +00:00
cib 7b74e199c5 Fix to breath pressure tresholds.
This also increases default breathing speed a good deal.
2012-11-18 18:12:37 +01:00
Chinsky 56c20b7fb3 Fixed couple of runtimes 2012-11-18 19:32:58 +04:00
cib 8947dc7a0e Lung damage now occurs pressure-based, not oxyloss-based. 2012-11-18 15:48:38 +01:00
RavingManiac 7c76e0758d Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-18 22:04:20 +08:00
Chinsky ffe541adec Fixes issue #1970
Did not unlock CPR in case CPR was not completed successfully.
2012-11-18 11:05:21 +04:00
petethegoat@gmail.com 06ef565d4d Some runtime fixes for the med data computer and hopefully the mule cart.
Fixes issue 526. MMI-Mech issues
MMIs can now change intent. There's no feedback, but they can at least function properly now in mechs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5098 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 17:44:29 +00:00
elly1989@rocketmail.com 0bca943424 Fixed OOC color being missing from the preferences screen (was using the wrong flag, changed from FUN to ADMIN)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5097 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 16:00:52 +00:00
Chinsky 6017e8c5db Can never have too much nullchecks. 2012-11-17 19:46:44 +04:00
Kortgstation@gmail.com 121e8fa1d9 Split corpses into corpse and mobcorpse. Corpse is still used for decorating maps, mobcorpse is used for simple animals dropping human bodies.
Committing Brotemis's updates to his Wild West map/fixes he had for the associated code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5093 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 01:43:13 +00:00
giacomand@gmail.com 32a855049f -Cyborgs can use Page Down to activate an item in their held module.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5092 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 00:08:37 +00:00
Chinsky ea4f34d53c Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	code/ZAS/FEA_system.dm
2012-11-17 00:20:23 +04:00
Chinsky beb028d196 Using spawn in proc that deletes self was not so smart... GC outrun me. 2012-11-17 00:17:50 +04:00
petethegoat@gmail.com b30abb014f Added a large variety of the alien queen for testing and feedback.
Thanks to WJ and Cawoijfaoiw for the sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5090 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 19:21:35 +00:00
Chinsky f520a79384 Added logging for what I believe to be cause of CPR failing.
Apparently SOMEHOW it goes into shake proc where it quietly returns meeting check for health being above zero.
I ahve no idea why it is not stopped bu check right before the shake proc call, that's what logging is for, maybe health was computed incorrectly, or threshold for crit is wrong.
2012-11-16 21:12:55 +04:00
Chinsky 650dc3dab8 Changed way CPR lock works, no dependancy on world time.stored time now.
When someone starts doing CPR, it locks. After 3 ticks after CPR is done it unlocks. No other mobs can do CPR on same mob while it is locked.
((also it's one of places that can make CPR not start so I wanted ot replace timer with more simple semaphore))
2012-11-16 20:11:28 +04:00
aranclanos@hotmail.com 0258d5be22 -Changed all minerals path from /obj/item/stack/sheet to /obj/item/stack/sheet/mineral. (This change excludes glass, Rglass, metal and plasteel)
-Reduced the chunks of code about minerals in door_assembly.dm

Preeeetty much this commit is just to update all the files to the new path of the minerals. From here, if I can, I'll start changing one by one to remove the huge chunks of code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5087 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 15:00:09 +00:00
Ater Ignis 8c5b8f8d50 final pass of merging with my branch
I hope I have not forgot anything
Still, it compiled for me at least, and passes test cases i did
2012-11-16 18:54:43 +04:00
Ater Ignis 4ed9b40cb9 tajarans see_in_dark -> 8, disembodied organs rendering correction 2012-11-16 18:41:26 +04:00
Ater Ignis 7f55f25ead comments, and better hulk color 2012-11-16 17:06:47 +04:00