Commit Graph

5297 Commits

Author SHA1 Message Date
Erthilo
caf88d81eb Merge pull request #1666 from SkyMarshal/master
Fixes for ZAS, including fire, geometry, rebuilding consideration, and atmospheric lockdowns.
2012-08-21 06:44:27 -07:00
SkyMarshal
d41ffc18fd Fixes for ZAS, including fire, geometry, rebuilding consideration, and atmospheric lockdowns. In addition, improved supermatter, and humans now absorb all the oxygen they inhale, due to the ludicrous volumes of air normally encountered (Does not reduce effectiveness of air tanks) 2012-08-21 01:18:01 -07:00
baloh.matevz
067b474cca - Um... sometimes I just need two commits to fix something tiny. Proper fix for what I wanted to fix in r4500.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4501 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-20 03:36:54 +00:00
baloh.matevz
80682c88c5 - Hopefully fixed the annoying 'your savefile is incompatible and has been deleted' message bug.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4500 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-20 03:32:40 +00:00
baloh.matevz
b6061bdeeb - Added an indicator for cold damage that is displayed to humans when they're taking cold damage. Monkeys don't react to cold anyway.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4499 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-20 00:42:44 +00:00
baloh.matevz
dd6288f26a - Removed the changes done to space suits in r4497. They were aimed at fixing Issue 827, which had the symptoms of randomly getting hurt in space while wearing a space suit. Sieve assumed it was due to not having high temperature protection, but it was the opposite.
- The problem was actually down to an ancient bug, which wrongly calculates the temperature of tiles with very little gas on them - tiles exposed to space. Space suits protect down to a temperature of 2.0K, space is 2.7K, which I assumed to be the lowest temperature anywhere. Unfortunately I forgot about this bug at the time, which can cause the gas temperature on tiles with little air to even hit negative kelvins (Nobel prize, plox). This happens relatively often, each floor tile that meets the criteria experiences this about once every 50 ticks and if you're standing on it when it happens, your cold protection will be 0%, because the temperature on the tile will be lower than 2.0K. Everything will be fine in the next tick cold-protection-wise, but your body temperature is already lowered to under the damage threshold by then.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4498 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-19 22:58:17 +00:00
sieve32@gmail.com
307a951566 -Fixed space suits not being space-worthy. This was due to them not having a define for heat protection, which meant you'd roast at the slightest provocation. Made a MAX_HEAT_PROTECTION define for space helmets and space suits, so they can be changed later if needed. Currently, space helmets have the same heat protection as every other helmet, and space suits have the same protection as every other armor (600K for each.)
Fixes Issue 827
-Added a sound to conjure spells for artificers, to provide feedback and be less confusing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4497 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-19 21:21:24 +00:00
baloh.matevz
44fb70ffd4 - Changed all "male" and "female" assignments to use the constants MALE and FEMALE.
- Added a message_admins() message which is sent if a character setup mismatch is detected to help diagnose the problem.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4496 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-19 17:56:51 +00:00
SkyMarshal
4da0bc8873 Merge pull request #1657 from Erthilo/master
HUD updates, roach nerf
2012-08-19 00:03:07 -07:00
Erthilo
6a6a97b551 Reduces roach damage. 2012-08-19 03:58:39 +01:00
Erthilo
72822c8978 SecHuds and MedHuds can now view appropriate records. MedHuds can now set Physical Status. 2012-08-19 03:57:44 +01:00
SkyMarshal
33f9beb560 Merge pull request #1654 from Erthilo/master
Mining lag reduction, sleepy pen, xenos, centcomm console
2012-08-18 18:34:10 -07:00
Erthilo
08b2b326e9 Ores now stack when released from ore box. Should help reduce some mining lag. 2012-08-19 01:59:53 +01:00
baloh.matevz
e476b418be - Reagent code reorganization commit 5 (Some big errors... Yeah, renaming files in explorer and expecting SVN to understand is a bad idea.)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4494 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 22:06:04 +00:00
baloh.matevz
54f3bf84bc - Reagent code reorganization commit 2 (removing old file structure)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4492 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 21:51:10 +00:00
baloh.matevz
9c28e82428 - Reagent code reorganization commit 1 (adding new files and file structure first)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4491 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 21:49:36 +00:00
Erthilo
a93db06afb Rebalanced sleepy pen, takes about 30 seconds to fall asleep, and 2 minutes total from stabbing to wear off. Fixes aliens, can no longer be pushed over by airflow, and all their powers work correctly. CentComm console has a 5 second cooldown now. 2012-08-18 21:32:21 +01:00
Mloc
f7d1790608 Merge pull request #1652 from Erthilo/master
Lots of Fixes
2012-08-18 12:07:55 -07:00
comma
737c96a1e6 Added FABULOUS white suit. 2012-08-18 21:58:00 +04:00
Erthilo
88e41b1db1 Fixes mice not being able to ghost when using Re-enter corpse. 2012-08-18 18:31:18 +01:00
Erthilo
a8c3cdbe42 Fixes some derpy naming with 's. 2012-08-18 18:30:58 +01:00
Erthilo
f521a4b739 Fixes alien whitelist popup for those not using the whitelist. 2012-08-18 18:28:26 +01:00
Erthilo
e68e49fdb9 Fixes simple_animal me command and mice making clonking noises in disposals. 2012-08-18 18:26:39 +01:00
Erthilo
6fed058680 Fixes Tajarans and all mutant races spawning with no hair, etc. Partially fixes morph mutation. Fixes mutations. 2012-08-18 18:25:23 +01:00
elly1989@rocketmail.com
4073ac9b00 Replaced all 'file.extension' references with 'relativepath/file.extension' using a script by thvortex of ss13-daedalus.
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.

To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"

If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 16:33:40 +00:00
Erthilo
7da0507c8a Hotfix for mice being able to use MouseDrop, fixing mice stripping people, donut boxes, etc. Also allows mice/parrots/kobolds/cats to die from low air or heat/cold. 2012-08-18 17:08:53 +01:00
comma
f782298006 Fixes headless monkey curse (issue #1450) 2012-08-18 16:13:47 +04:00
comma
558e6a8b7f Added wedding dress, formal woman wear and STRIPPER GEAR. 2012-08-18 15:50:09 +04:00
sieve32@gmail.com
94ea00b5a7 Clearing out a bad leftover that prevented MMI's from understanding AIs/borgs
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4487 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 03:11:45 +00:00
sieve32@gmail.com
03e199e30a -Makes the lobby music a config option, as per Erro's feature request.
Closes Issue 816

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4486 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 02:02:45 +00:00
baloh.matevz
e45aec98e7 - Fixed ore boxes not being properly loaded from mining satchels.
- Fixed it being possible to drag-drop any storage item to either hand from.. anywhere... You can now only do that if the backpack is somewhere on you.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4485 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 01:44:00 +00:00
baloh.matevz
ca02f37a6e - Fixed issue 814. Added a obj/screen/inventory object type, which is for screen objects that can hold other ones. This will stop clicks on other UI slots from attempting to equip whatever is in your active hand to them.
- Fixed an issue where the monkey's slot_l_hand and slot_r_hand slot identifiers were being assigned to the two pieces of the 'swap hand' button instead of the actual hand screen items. Not tomention them being the wrong way around...

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4482 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 00:26:47 +00:00
baloh.matevz
96645c8726 - Proper fix for issue 803
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4481 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 00:00:34 +00:00
baloh.matevz
bdae39686f - Fixes issue 808. You won't get flashed by anything if you're blinded.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4479 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 16:30:42 +00:00
baloh.matevz
3be7d6d8ef - Fixes issue 812.
- Adds logging for throwing. Pulling and grabbing does not need to be logged in detail, since kill-intent grabbing is logged already.
- Something broke throwing, which made it runtime. This also fixes that.
- Fixes the problem of applying wires to a stack of glass, which only contains one piece of glass using wires, deleting the glass piece and not spawning a light tile. A call of the glass' use(1) was misplaced, which had the chance of deleting the object, thus stopping the proc, before it spawned the light tile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4478 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 16:19:04 +00:00
baloh.matevz
4ac7df8917 - fixed issue 809. Nodamage checks are now done on all the lowest level procs as well as the higher level brute and burn damage procs for humans.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4475 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 14:08:55 +00:00
rockdtben@gmail.com
c8feb9f493 Fixes issue 529
Now if someone busts out of a mob it will gib and the contents of its stomach will fly out as intended

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4473 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 12:39:20 +00:00
baloh.matevz
4ce5a0d405 - Fixes issue 653.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4471 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 09:44:48 +00:00
baloh.matevz
c2734300b2 - fixed issue 803. Admins will be able to hear deadchat no matter what... unless they shut it off with the toggle-hear-deadchat verb, that is.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4467 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 07:23:17 +00:00
baloh.matevz
7b572e4ca7 - Fixes issue 760 The AI's machine variable did not get reset properly upon failure. The machine variable's interact() proc is normally called once per tick. In the case of an APC it printed the fail message, but did not reset the variable to null, meaning the same machine's interact() proc would get called the next tick, giving the same error.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4463 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 05:48:16 +00:00
baloh.matevz
adbc74a942 - Fixes issue 748. Pulling restrained monkeys now behaves as it's supposed to.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4462 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 05:37:11 +00:00
CubeJackal
66f0fab77e Set icon for dart shells to new sprite 2012-08-17 05:22:59 +01:00
sieve32@gmail.com
626cb74704 -Metroids will now feed when 'content' (But not as quickly), meaning they will evolve and reproduce properly
Fixes Issue 765
-It is now possible to weld secure lockers shut
-Lockers now have a welded overlay (Expect in some cases, such as cabinets)
Thanks to Pete for the sprite

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4459 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 04:22:53 +00:00
baloh.matevz
f3996dfc5e - Fixed issue 657. Attacking someone at a distance (using TK) will no longer make you get smeared in their blood.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4458 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 04:18:08 +00:00
baloh.matevz
9062d7fb23 - Added a real_name variable to DNA, which gets assigned when mobs are created and when preferences are copied as well as when changelings absorb mobs. This is so I could drop the dictionary-style list from changelings, which went list(real_name = \ref[dna]). What this meant was that if you absorbed multiple people whose real_name was "Unknown", you'd only have one dna to show for it. Now all of them will show and will be available to transform into.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4457 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 03:55:09 +00:00
johnsonmt88@gmail.com
852b838e4e There were a bunch of boxes that had their own special code when they all do the same thing. So I've merged them into proper storage items.
Boxes affected:
- Donut boxes
- Egg cartons
- Candle packs
- Match boxes
- Snap pop boxes
- Monkey cube boxes

Items I didn't merge:
- Pizza boxes
- Cigarette packs

Pizza boxes are a whole new kind of 'special snowflake code' that is best left the way it is. Cigarette packs involve some stuff I'm unfamiliar with so that can wait until I learn what I need to learn.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4452 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 00:35:01 +00:00
baloh.matevz
cac628a640 - In preparation of fixing issue 585, which extends far further than just the things listed there, as well as to standardize the many incarnations of satchel-type code (pill boxes, mining satchels, hydroponics satchels, etc.) I have added some functions to storage type items:
New variables:
var/use_to_pickup = if 1, the storage item also works like satchels, which means you can use it on something else to pick it up.
var/display_contents_with_number = if 1, the items in the storage item are grouped by type with the number of items being displayed. See the screenshot.
var/allow_quick_empty = if 1 on creation, it adds a verb that allows you to empty the item with one click
var/allow_quick_gather = if 1 on creation, it adds a verb which allows you to switch between pick-up methods. one-per-click or all-on-tile. Same as satchels worked. use_to_pickup must be 1 for any of that to matter.
var/collection_mode = 1;  //0 = pick one at a time, 1 = pick all on tile

New procs:
/obj/item/weapon/storage/proc/can_be_inserted(obj/item/W as obj, stop_messages = 0)
- Returns 0 or 1, depending on whether the item W can be inserted
/obj/item/weapon/storage/proc/handle_item_insertion(obj/item/W as obj)
- Inserts the item into the storage item and calls all the procs it needs to. Doesn't check whether the item can fit tho, tha'ts what can_be_inserted() is for.
/obj/item/weapon/storage/proc/remove_from_storage(obj/item/W as obj, atom/new_location)
- Removes item W from the storage object and sets it's loc to new_location or get_turf(src) if one is not provided.
/obj/item/proc/on_exit_storage(obj/item/weapon/storage/S as obj)
- Called after the object has been removed from the storage item S. The object's loc is already set to the new one.
/obj/item/proc/on_enter_storage(obj/item/weapon/storage/S as obj)
- Called after the object has been inserted into the storage item S. The object's loc is already set to S.

I made satchels work on this new code. The rest will be added to it soon. See the screenshot.

Screenshot:
http://www.kamletos.si/new%20satchels.png

This is yet another big change and it is very possible that bugs will come from it. Please report them to me or on the tracker.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4451 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 23:35:53 +00:00
giacomand@gmail.com
be76c3afcc Fixed issue 645.
I changed how uplinks worked. Instead of there being a duplicate item which would switch out when it activates, there's an item called "obj/item/device/uplink/hidden". It is a hidden uplink which you can place in any obj/item. In "hidden" is where it will generate menus, check for triggers to show the menu and etc.. No need to switch out with duplicate items or add the menu onto the PDA's notes.

How to create a new uplink item in 3 easy steps!

1. All obj/item 's have a hidden_uplink var. By default it's null. Give the item one with "new(src)", it must be in it's contents. Feel free to add/remove "uses".

2. Code in the triggers. Use check_trigger for this, I recommend closing the item's menu with "usr << browse(null, "window=windowname") if it returns true. The var/value is the value that will be compared with the var/target. If they are equal it will activate the menu.

3. If you want the menu to stay until the users locks his uplink, add an active_uplink_check(mob/user as mob) in your interact/attack_hand proc. Then check if it's true, if true return. This will stop the normal menu appearing and will instead show the uplink menu.

I've given the recharge station's verbs a category so they don't create their own tab.
I've added a mob/proc called put_in_any_hand_if_possible. Name speaks for itself. Returns true if successful, false otherwise.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4450 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 21:57:27 +00:00
baloh.matevz
d8ec97e76e - Fixes an equip_e related runtime error
- Fixes storage items not updating when you put something in them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4447 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 19:36:43 +00:00
baloh.matevz
6e776a54c4 - Fixes the issue of simple animal attacks not logging in attack logs. There's a billion places where these attacks are copy-pasted to... seriously, who coded this? Fixes issue 795
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4445 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 18:52:34 +00:00