Commit Graph

6438 Commits

Author SHA1 Message Date
Malkevin eb5a282d90 Thermal Protection Overhaul.
Shortened the defines for cold & protection because I thought they were overly long
Updated all references to defines to match the new names
Added missing defines for protection ratings that were missing (firesuit cold and spacesuit heat)
Added cold protection to firesuits to restore they ghetto space suit functionality
Restored the CE RIG's firesuit equivalent protection
Added heat protection and cold to protection to items that only had one aspect
Fixed incorrect thermal coverage for armors that covered more than the groin and torso

Bombs suits are pretty useless atm so I made them into ghetto riot gear; my line of thinking being that its a big heavy suit with lots of padding, its going to be half-decent against people trying to beat you.
2013-04-10 21:06:02 +01:00
Giacomand f49bef35ba * Added a two config options which allows you to disable the AI and Cyborgs from being able to vocally speak, except for AIs using the holopad.
* Added a new proc called IsVocal(). Only used by the new system so far but it will allow you to use it to stop mobs from being vocal.
2013-04-08 21:53:41 +01:00
Cael Aislinn de4a906c25 Merge pull request #329 from Carn/Issue304
Resolves Issue #304
2013-04-08 00:28:50 -07:00
carnie 6a98fc89d0 >datum/event and datum/event_control were renamed to datum/round_event and datum/round_event_control. This is because datum/event was already used by a different/more-general event queue system (used primarily on mechas)
Removed overriding of event values via feeding in an associative list into datum/round_event/New(). Instead you can do basic initializations (i.e. feed it constants) by doing new /datum/round_event{variablename=5;}(). This method is handled well by the compiler (it's the same method the maps use), so it will detect unrecognized variablenames etc.
More complex initializations for post setup() stuff can be done by accessing variables directly Event.variablename = whatever;
round_events now have a processing variable, which effectively pauses them.
2013-04-08 07:42:46 +01:00
Cael Aislinn 2f2bda3adf Merge pull request #302 from Nodrak/parrot_fixes
Parrot fixes
2013-04-06 07:29:35 -07:00
Nodrak c29a358d85 Moves the copy/pasted code into a function. 2013-04-06 09:45:03 -04:00
Nodrak 570d6d3a7a Parrot fixes
- Parrots will now reset to wander after being stuck for long enough.

- Attacking a parrot will no longer give the attacker a "you have nothing to drop" message, that was a typical 'usr' error, woops.

- Fixed some typos in the comments.. What? That's totally commit log material!
2013-04-05 21:08:48 -04:00
Tastyfish 2480e4f485 Fixed robots having a low charge getting their equipment state and UI out of sync. 2013-04-04 15:04:20 -04:00
Pete Goodfellow 33e9dca33a Added two if(stat == CONSCIOUS) checks and a comment to human_defense.dm. Stops dead/unconscious people giving 'x was knocked unconscious' style messages. 2013-04-04 00:20:25 +01:00
Cael Aislinn 5c53a7a36f Merge pull request #208 from Carn/Issue114
Closes Issue #114 - Placing paper/pda to a camera will now print a link ...
2013-04-03 03:03:53 -07:00
carnie 6c44ab7130 Closes Issue #114 - Placing paper/pda to a camera will now print a link to AI's chat, where they can view the message.
This is far from the best solution, but it was all I could think of.
2013-04-03 08:35:34 +01:00
Cael Aislinn bdfc088f91 Merge pull request #181 from Carn/Issue105
Partial solution to #105. Will fix a bunch of mislinks in admin toolpanels + PM system.
2013-04-02 19:05:47 -07:00
Cheridan 255fe983dd Hair Update Attempt 2
makes some hairs look better
adds fiveoclock shadow beard
2013-04-02 12:15:39 -05:00
Cael Aislinn 861084061e Merge pull request #167 from Petethegoat/implantdiskfix
Cavity implant disk fix, steal objective finding fixes
2013-04-01 10:32:17 -07:00
Cael Aislinn 91c15c13dc Merge pull request #173 from Petethegoat/runtime_fixes
Runtime fixes
2013-04-01 09:56:25 -07:00
Pete Goodfellow 842d9028d3 Merge branch 'master' of github.com:tgstation/-tg-station
Conflicts:
	code/modules/mob/new_player/new_player.dm
2013-04-01 16:29:36 +01:00
Pete Goodfellow 6831ab046c Added a configuration option to force random names. This replaces the gameticker var/random_players. The 'Make everyone random' verb works as it did before. 2013-04-01 00:17:15 +01:00
carnie 66e6a2dbf0 Mobs each now have a unique tag which are not after they are deleted (unlike byond's \ref[] macro)
Since tag replaces the output of the \ref[] macro, this means that menus which use hrefs with \ref[mob] will no longer be able to accidentally link to the wrong mob.
The tags are of the form "mob_475" etc

Admin_pms now use ckey instead of client-reference. This means that PMs will no longer accidentally get sent to the wrong people.
There is no risk of players using hrefs to send adminhelps to known admin ckeys to see if they are online (as I'd already changed the PM system to not tell non-admin users whom received their message).

key_name() now accepts text input (key or ckey) - it is slightly more efficient to feed it a client or mob however!
This functionality is provided to allow certain admintools to become more robust when we want to talk about e.g. a griefer whom has just DCed whom no-longer has a corpse (no client/mob...just a ckey reference).
key_name() now reports DCed players properly.
2013-03-31 11:26:22 +01:00
Pete Goodfellow f09166bd8f Added feedback when grabbing someone fails because they're buckled. 2013-03-29 17:11:23 +00:00
carnie 732d72e227 Merge branch 'master' of github.com:tgstation/-tg-station into pr/151
Conflicts:
	code/modules/mob/new_player/new_player.dm
2013-03-28 18:35:37 +00:00
Giacomand 8318743b04 Merge pull request #169 from Petethegoat/appearanceban
Adds name/appearance bans. They're based on jobban code, but prevent the...
2013-03-28 11:01:07 -07:00
Giacomand c9dc653e88 Merge pull request #157 from Aranclanos/Second
Fixes reactive armor issues with buckled users
2013-03-28 10:32:05 -07:00
Giacomand 720a2a3b12 Merge pull request #153 from Petethegoat/forcesayfixes
Fixes forcesay working on dead people, and on asay/dsay.
2013-03-28 10:31:16 -07:00
Pete Goodfellow d6267edab2 Fix for null.synch() grab runtime. 2013-03-28 17:15:24 +00:00
Giacomand 1673f79e0b Merge pull request #165 from aranclanos/Fifth
Slime extracts fingerprint fixes
2013-03-28 09:33:48 -07:00
Pete Goodfellow fe3cc313f6 Adds name/appearance bans. They're based on jobban code, but prevent the banned player from using their preset names and appearances.
Also corrects a spelling error (Indentity) in the char prefs panel.
2013-03-28 15:51:35 +00:00
Pete Goodfellow 078e119f33 Fixes Pun Pun dying as 'The Pun Pun'. 2013-03-28 13:06:53 +00:00
Pete Goodfellow 3496310ec3 Removes /obj/item/weapon/gift from the code, as it was completely unused.
Also removes the smallDelivery loop in /mob/proc/get_contents(). It's amazing that proc worked at all, it really does do what it's described as doing. I'm leaving it for now, as the game seems to have gotten on well enough so far, and it'll probably just increase processing for no gain if I fix it.
2013-03-28 13:02:46 +00:00
Aranclanos 3b4de0f276 Slimes will now save fingerprints, they had the flag FPRINT missing.
Injecting chemicals to a beaker, slime extract, etc. will now save your fingerprints on the target.
2013-03-28 08:30:58 -03:00
carnie 5ca166cae0 Refactored underwear to use datum/sprite_accessory/underwear similar to hair and facial_hair.
People may select any underwear (regardless of gender) at a dresser, but not in preferences.
random_underwear(gender) will return a random pair of underwear suitable for your gender.
Removed an unused variable in sprite_accessory

The new_player preferences screen now randomizes character slots for which there is no data (so no more bald, fat, white guys in diapers greeting new players)
datum/preferences character settings are randomised at New().
replaced /datum/preferences/proc/randomize_appearance_for(human/H) with /datum/preferences/proc/random_character(), it does the same stuff without the copying to a mob. Basically, now when you want to make a random character you just do var/datum/preferences/A = new(); A.copy_to(human_mob), randomisation of appearance and name will already be done. Easy.

Reworked the savefile updating/versioning code to make it easier to work with. I've used it to update underwear preferences to the new system as an example.

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-28 11:11:40 +00:00
Aranclanos 37100ddd28 The reactive armor will now unbuckle the person if this was buckled, just like on the wizard spells. 2013-03-27 20:29:08 -03:00
Pete Goodfellow 2c9283dd05 Merge pull request #154 from aranclanos/Second
Surgery bugfix without other commits.
2013-03-27 12:52:36 -07:00
Pete Goodfellow 3a5166fbf7 Fixes forcesay working on dead people, and on asay/dsay. 2013-03-27 17:47:01 +00:00
Cheridan 10bd174a03 Underwear update! Adds two new undie styles, a modest tankini for ladies and red briefs for the guys.
Adjusts a couple hardcoded lines to make adding more undies in the future easier.
Adds dressers! Similar to mirrors, they let you change your underpants.
2013-03-27 00:08:45 -05:00
Pete Goodfellow a389835a30 Abstract items no longer show up on examine. 2013-03-24 23:43:58 +00:00
Aranclanos 327d3db770 Fixes items calling their afterattack() proc when they are used on surgeries, for example, inserting a syringe inside of a person and then starting to inject the contents of the syringe on said person.
afak, surgeries can't be handled on the afterattack() of the different surgery tools because of cavity implants, so this is a semi-decent fix that can be used for future features too. But I do not like touching this code. I appreciate any feedback about this.
2013-03-24 08:53:29 -03:00
Giacomand 005ea828ac Merge pull request #56 from aranclanos/master
Fixes for screen HUD object icons.
2013-03-19 16:06:15 -07:00
carnie 2819651811 Very minor optimization to MrPerson's changes.
Replaced some ifs with a switch statement.
Replaced an uneeded loop through a list (list.Remove() does this anyway)

Signed-off-by: carnie <elly1989@rocketmail.com>
2013-03-18 03:15:31 +00:00
MrPerson 8448fc0104 Remove that annoying ass "is_special_character used on an unknown silicon" debug message. 2013-03-17 16:34:49 -07:00
Aranclanos eeb0e1dbe3 Same change here, but with monkeys. 2013-03-15 06:39:46 -03:00
Aranclanos dcfa1fcfab Fixed items not appearing on the HUD if they are given to a mob by another player with the strip panel.
This should also swap under the carpet (kinda ugh because the problem is still there and it might affect some other things) the problems with the roundstart problems with player's icons on high populated servers.

This should be the first step to reduce the amount of calls on the different icon update procs, but for the moment I'm focusing on more CPU expensive procs.
2013-03-15 06:08:48 -03:00
MrPerson eb95e92d78 Err... ok so now is_special_character() is good. Sorry. 2013-03-11 11:59:18 -07:00
MrPerson 520a9cfdcd Tweaked is_special_character() to be meaner, leaner, and less buggy
Not that those bugs matter, they only effect traitor cyborgs.
2013-03-11 10:10:19 -07:00
MrPerson a88b30ab31 Removed mind.original
All usage of it on silicons is replaced by is_special_character()
is_special_character moved from admin.dm to mob_helpers.dm
Also fixed a runtime having to do with objectives.
2013-03-11 05:40:21 -07:00
Pete Goodfellow b02c459505 Adding google code commits r5836 to r5849. RIP in peace google code. 2013-03-11 04:26:54 +00:00
d_h2005@yahoo.com a0045477be -Committing a slightly changed version of Startoad's bureaucracy crate patch.
-Dualsabers now come in the alternate colors, sprites courtesy of mjrseph.
-Adds the Vealrender, a harmless and goofy version of the veilrender, courtesy of supersayu. You can possibly find it in mining asteroid surprise rooms.
-*flap and *aflap are gender sensitive now, whoa!


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5834 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-09 06:00:40 +00:00
petethegoat@gmail.com 97e0f9b6f7 Smallified Centcomm and removed a large amount of the unused machines. This affects most stuff on z2.
Removed the administration shuttle and the stupid alien dinghy.
Removed the beach (hey, it's an away mission now).

Removed syndicate deathsquads on account of them being stupid and redundant.
Temporarily removed regular deathsquads- search for "DEATH SQUADS" to find the locations to uncomment. Additional code is in unused/specops.dm and unused/specops_shuttle.dm.

Added a single tile fake window for unsim windows.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5831 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-09 04:35:37 +00:00
petethegoat@gmail.com 6ff8d60a15 New sprites for alien zone selection from Cheri~
Slightly updated how zone sel picks icons to enable this. First bit of OOP in hud code, I think.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5828 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-08 23:10:24 +00:00
petethegoat@gmail.com 1af9267159 Fixed the plasmafire theme active left hand sprite.
Fixed the baton text styling.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5827 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-08 22:13:54 +00:00
petethegoat@gmail.com 8ff7285645 Updates HUD stuff!
The main goal was to remove all the pointless shit in the UI style dmis, but this commit actually goes a bit deeper than that.

Formally renames the "hurt" intent to "harm", in line with everything else in the world.

Removes the old screen1_... .dmis. They've been replaced with screen_... .dmis. They function much the same.
screen_gen.dmi is used for things which apply to multiple UI styles, such as storage slot sprites, or the intent selector. (These can still be overridden in HUD code, though.)

Item action buttons have been changed to use a template from the UI style, and the icon_state of the item.
var/icon_action_button has been removed- varvar/action_button_name must be used instead to add action buttons for items.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5826 316c924e-a436-60f5-8080-3fe189b3f50e
2013-03-08 21:32:00 +00:00