Commit Graph

6922 Commits

Author SHA1 Message Date
Mloc
78a507b752 Merge pull request #1640 from caelaislinn/master
fix for hearing through walls >.>
2012-08-17 11:39:28 -07:00
Cael_Aislinn
aa43ad116c fix for hearing through walls
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-18 04:38:15 +10: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
f9d80e12ce - Fixes issue 811. A warning was sent if there weren't enough cable pieces left, but the proc did not return at that point.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4477 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 14:51:27 +00:00
baloh.matevz
ff55c845c1 - Fixed issue 810. reagent assignment in the harvested goods is now delayed by 0.5s, so the proc that creates the harvested goods upon harvest actually has the time to set the correct potency value and other values which affect the amount of reagents that harvested goods have.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4476 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 14:34:57 +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
baloh.matevz
c8d4064206 - Fixes issue 807. pAIs and any other mob that is located within another mob (IE being held by) will also get sounds played. There are some limitations: It is 1 level deep, so if a pai is on a mob, which is in a closet, they won't hear sounds. Also, if there are two mobs held by the same mob, only the first found will get sounds played to it. Limitations are in-place due to how often this code is called.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4474 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 13:56:42 +00:00
Mloc
43def17087 Merge pull request #1623 from caelaislinn/master
misc
2012-08-17 06:55:37 -07: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
rockdtben@gmail.com
5a4927a000 - Fixes issue 786 .
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4472 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 11:11:58 +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
4c245f81cc - Fixes issue 415. The problem with the moving of the syndicate shuttle was a condition bomb_set, not being properly set in all cases, where a bomb was timing. I added the setter for the bomb_set variable in nuclearbomb/process(). So if at least ONE nuke is ticking it means the bomb is set. The bomb_set variable gets reset in the appropriate places now. The places are if either the safety is enabled again or if the timer is disabled. Enabling the safety now automatically stops the timer. The timer cannot be enabled without the safety being off.
The condition that caused the bad result before this fix was if the timer was enabled before the safety was turned off.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4470 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 09:28:44 +00:00
baloh.matevz
6b1a3e46a0 - Fixes issue 804. valve networks were not properly built during initialization, which resulted in both nodes beings et properly, but only one network to be set for both nodes, despite each of them having their own network. A call to build_network() fixed the issue.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4469 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 08:38:40 +00:00
baloh.matevz
097aae989c - Fixes issue 675. I just added a few Move() -s and it works fine.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4468 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 08:01:13 +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
f0f803407a - Fixed a potential problem where the random teleportation thing that teleporters have a chance of doing would teleport you to a tile that is behind the transition edge.
- Fixed issue 470. You can now teleport while using the chameleon projector.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4466 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 07:05:03 +00:00
baloh.matevz
3a511d5462 - Fixes issue 787. Hacked mulebots can still be loaded with lots of stuff, including unanchored structures, machinery, items and mobs. They however cannot be loaded with screen, hud or effect-type objects. They also cannot be loaded by anything that is not placed on a turf tile to prevent loading things from your inventory, which would cause issues.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4465 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 06:43:18 +00:00
baloh.matevz
6a268decf4 - Fixed issue 779. HOPEFULLY FOR THE LSAT TIME!
There was a if(world.time - M.last_bumped <= 60) check, which attempted to prevent airlock bump-spam, by limiting it to one bump per 6 seconds getting processed, but the kicker is that M.last_bumped was never actually set, making the check irrelevant. I fixed that and changed it to one bumpopen per second.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4464 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 06:00:59 +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
baloh.matevz
d7c1882e16 - Fixes issue 463. Changeling clowns will now be able to return to their clown names.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4461 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 05:00:40 +00:00
baloh.matevz
892ead02de - Fixed issue 702 and issue 716
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4460 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 04:43:50 +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
Kortgstation@gmail.com
e8f4ce561f What did I even do
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4456 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 03:12:58 +00:00
Kortgstation@gmail.com
6800f6aaf2 Gave titles to the manuals to stop the incomplete messages when reading them. Which fixes some issue or another but I dunno how to link that so whatever.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4455 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 02:53:19 +00:00
baloh.matevz
f5024b5d05 - Fixes issue 752
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4454 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 02:19:09 +00:00
baloh.matevz
bdd6324d9a - Fixed issue 798
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4453 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 02:04:22 +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
e984c8b9bc - Fixes handcuffing and legcuffing errors that the inventory overhaul broke.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4448 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 19:48:43 +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
0fab5964e3 - Fixes issue 790. A supply order's cost is now subtracted from the total points cost only once you close the comment window. The order is also added to the list of orders once it's paid for, after the list is closed. And yes, I did do a check to see if there are still enough points after you close the comment window to prevent people from opening a million windows and going into negative supply points.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4446 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 19:09:44 +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
petethegoat@gmail.com
0970e6c55d Standardised reagent colour mixing a little bit. Fixes issue 785.
Changed the path of large beakers, so they're actually a subtype of beaker (wtf)

Moved new_year.dm to unused.
Updated Carn's sequential master controller to not have tension stuff, for potential live testing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4444 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 18:33:34 +00:00
baloh.matevz
bdee209b43 - Fixed issue 776. Answering a messages sent to Centcom via the command console by using the RPLY link will echo the message to admins.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4443 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 18:32:51 +00:00
baloh.matevz
b946fa1d81 - Moved the r-wall define to after the definition of wall. It always bugged me and I must have fixed that 20 times in my local repors by now... Strange how I never committed it.
- Fixed issue 738 Hidden walls now properly update when adjacent tiles are changed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4442 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 18:19:21 +00:00
baloh.matevz
26314e1310 - Fixed a small noize-bug
- Fixed issue 783 Unstable mutagen now only reacts to mobs with dna.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4441 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 17:57:27 +00:00
baloh.matevz
c0465614da - Mutantraces are no longer a variable tied to human mobs, but rather a variable tied to dna. As such, changelings who absorb people with a mutantrace will now transform back into the mutantrace when they transform into their DNA.
- Fixed issue 784.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4440 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 17:13:28 +00:00
johnsonmt88@gmail.com
0b59c8dbd1 Detective's armor once again allows him to fire his revolver. Fixes issue 797.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4438 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 15:54:17 +00:00
giacomand@gmail.com
b8548bb3d4 Fixed issue 796. I've also made sure that you can only emag the shuttle computer once.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4437 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 15:52:43 +00:00
baloh.matevz
955df8216c - Fixed issue 491. Locked air alarms can now be interacted with by both AIs and cyborgs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4436 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 15:16:42 +00:00
baloh.matevz
dafcc596e8 - Station alarm computers now properly clear power alarms. Fixed issue 267. It was a case of an argument not being passed into the trigger alarm proc.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4435 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 14:51:27 +00:00
baloh.matevz
c7f959d34f - Changeling stings now utilize the AStar algorithm to determine whether you can actually reach the target. Fixed issue 351.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4434 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 14:13:40 +00:00
giacomand@gmail.com
fcc532053f -Fixed issue 788. Mushroom's water levels were not being checked to see if they were below 0.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4433 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 08:12:35 +00:00
baloh.matevz
df9e07d9fd - Fixes issue 689. Power alerts are now only relayed to computers, AIs and cyborgs located on the z-level, which contains the APC or whatever that triggered the alert.
- Added the body temperature changes to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4432 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-16 04:54:19 +00:00