Commit Graph

7166 Commits

Author SHA1 Message Date
Aranclanos dae4d37ebe The attack() of cigarette packets is now updated to the storage procs and stuff. It will pick the first object of the contents instead of creating a new cigarette and generating issues. 2013-06-27 23:34:46 -03:00
Giacomand 2360cff577 Quick fix to a smoke runtime. 2013-06-25 22:43:36 +01:00
Giacomand 29faa3c1fc There is a check for an object's turf, in the closet's mouse drop proc. Fixes #854.
Removed unnecessary checks.
Added missing icons for the bins.
2013-06-24 17:09:48 +01:00
Aranclanos b09e81276c Fixes engiborgs deleting their own welder by creating a flamethrower.
The attackby() of flamethrowers can lead to flamethrower_screwdriver() and flamethrower_rods(). Two new procs that handle the creation of a flamethrower.
New object /obj/item/weapon/weldingtool/largetank/cyborg. This new object does nothing on the flamethrower creation procs.

I'm not entirely happy about this.
2013-06-24 04:34:49 -03:00
Aranclanos 245b38e51d Monkeys will now handle storage items like humans. It will be highly noticeable on clicking your backpack while it's on your back slot. It will actually open the contents instead of moving the backpack to your hand without a sound.
Aliens are not included to this change.
2013-06-23 04:52:01 -03:00
Rolan7 98ce355b0b Merge branch 'master' of https://github.com/tgstation/-tg-station into RainbowSwords 2013-06-22 17:03:49 -04:00
Rolan7 e868291dbf Finally finished adding double-toy-swords, emagged double-toy-swords, and improved some of the earlier fixes. Swords no longer have to be turned off before emagging, the player-sprite overlay will update correctly now. 2013-06-22 17:03:00 -04:00
AlexanderUlanH 62110ccc12 Fixes various runtimes
Runtimes created when trying to apply radiation to a mob destroyed by
monkeyizing, trying to add different components to lists of salvage,
attacking non-carbon mobs with lighters, and blending monkies in the
food processor.
2013-06-22 17:35:29 +01:00
Giacomand c9dc4c45b5 Merge pull request #823 from sararar/master
Fixed issue #704
2013-06-21 19:08:38 -07:00
Giacomand be2980a791 Merge pull request #813 from Malkevin/empcrate
Securer secure crates
2013-06-21 19:05:18 -07:00
Giacomand b9c9ac43f0 Merge pull request #743 from caelaislinn/pda_ling_fix
Resolve PDA use while parastung exploit
2013-06-21 18:49:35 -07:00
KazeEspada 67da9e7c93 Merge pull request #819 from AlexanderUlanH/projectile
Changed atom's bullet_act to call the projectile's on_hit, and changed most bullet_acts to call on_hit as well. Removed some now-unnecessary snowflake code.

These changes will make projectiles which should effect non-mobs, such as the gyrojet and the ion rifle, work properly. Inanimate objects can now be empulsed with the ion rifle, whose projectiles used to dissipate on hitting anything but a mob. Gyrojets now explode on most objects, as opposed to just on walls and mobs, and the snowflake code that made them work on walls is no longer necessary. The code for pulse rifles' breaking walls has been moved from a check in turf to a check in pulse beams, and has been expanded to include structures, allowing them to (slowly) break girders. For coders, it means that on_hit is a reliable proc for the effect of a bullet's hitting an object.

While it does mean a number of needless procs of on_hit, it's not too much more proccing than is already done by the gun code, and the removal of the snowflake code that was used to mask the issue, such as the two checks every time a shot hit a wall, should mostly if not more than offset the extra procs
2013-06-21 17:19:42 -07:00
Cael_Aislinn 8aec1fffa1 added additional checks to pda/proc/can_use, added additional calls to can_use in pda.dm where appropriate
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2013-06-21 12:27:13 +10:00
AlexanderUlanH 4f66da54f1 Fixed some more
Fixed gyro rounds not exploding on windows and grilles.
2013-06-20 21:14:02 -04:00
sararar ffa7b2f2e7 Issue #704. added a fix so that g# will now work on the space piano. tested and works.
Signed-off-by: sararar <sarajfarr@gmail.com>
2013-06-20 13:13:50 -04:00
Cheridan 5a83f85c83 Merge pull request #804 from Ikarrus/tplog
Traitor Panel Improvements
2013-06-19 21:08:14 -07:00
AlexanderUlanH 2fcf26667c Overhauled Projectiles
Changed atom's bullet_act to call the projectile's on_hit, and changed
most bullet_acts to call on_hit as well.  Removed some now-unnecessary
snowflake code.

These changes will make projectiles which should effect non-mobs, such
as the gyrojet and the ion rifle, work properly.  Inanimate objects can
now be empulsed with the ion rifle, whose projectiles used to dissipate
on hitting anything but a mob.  Gyrojets now explode on most objects, as
opposed to just on walls and mobs, and the snowflake code that made them
work on walls is no longer necessary.  The code for pulse rifles'
breaking walls has been moved from a check in turf to a check in pulse
beams, and has been expanded to include structures, allowing them to
(slowly) break girders.  For coders, it means that on_hit is a reliable
proc for the effect of a bullet's hitting an object.
2013-06-19 23:24:00 -04:00
Giacomand 35ad4210d4 Merge pull request #682 from Petethegoat/taperecorder
Updated Taperecorders
2013-06-19 15:39:12 -07:00
KazeEspada daf6d202b9 Merge pull request #756 from AlexanderUlanH/master
Allows ghosts, seers, and reveal runes to see hidden runes.
Fixes consecutive emps with cameras
Fixes consecutive emps with radios.
Fixed lings not requiring a choke grab.
2013-06-19 15:04:28 -07:00
Pete Goodfellow aaa70a994b Added slot_flags = SLOT_BELT 2013-06-19 17:11:04 +01:00
Pete Goodfellow 972a5cdc50 Merge branch 'master' of github.com:tgstation/-tg-station into taperecorder
Conflicts:
	icons/obj/device.dmi
	tgstation.dme
2013-06-19 17:05:47 +01:00
Malkevin 096351d52e Securer secure crates
Increased the health of secure crates by a factor of ten.

Originally I was going to null out the projectile proc and add an emp_act instead, but one already exists.
The increased health of the secure crate will allow them to still be broken open from gun fire, but will make it inconvenient enough to dissuade cargo arming up every round, hopefully... (it will take 17 buckshot or 50 lasers to break open a crate)
2013-06-19 15:41:52 +01:00
Cheridan 7104d14141 Merge pull request #801 from Ikarrus/bomblog
Improved logging of syndicate bombs and grenades
2013-06-18 18:10:18 -07:00
Ikarrus 26becb3937 Traitor Panel Improvements
-Added logging for admins editing objectives
-Added logging for admins adding new antagonists
-Changed the antag role assignment buttons to something more appropriate for the game modes. Will now tell you if someone is loyal (implanted).
-Added a isloyal() proc to check if a mob is loyalty implanted.
-Made the headrev message more noticeable
2013-06-17 22:39:32 -06:00
Ikarrus 1518d285e7 Standardized spelling of all instances of "Centcom"
Centcomm/CentComm -> Centcom
centcomm -> centcom
2013-06-17 20:49:01 -06:00
Ikarrus 2f92f67ae6 Improved logging of syndicate bombs and grenades 2013-06-17 20:42:20 -06:00
Pete Goodfellow 3365e92eb0 Removed unintended changes 2013-06-15 19:09:22 +01:00
Pete Goodfellow c7c3bd48de Merge branch 'master' of github.com:tgstation/-tg-station into assemblyfun
Conflicts:
	code/game/objects/items/weapons/grenades/chem_grenade.dm
	html/changelog.html
2013-06-15 18:58:11 +01:00
Rolan7 c8cbf58b57 Adds WJohnston's rainbow esword and dual-esword sprites. Also corrected a few bugs involving esword sprites, mainly involving the player sprite not updating when they construct dual-eswords. It turns out that player-sprite updating is magnets, so the eventual solution was for the player to drop both swords before they're deleted. Since dual-eswords were already created on the ground, this changes very little.
A dual-esword inherits the emagged state of the esword being attack_by'd.
2013-06-13 15:51:42 -04:00
AlexanderUlanH 6c478acf50 Updates radios to use the fixed camera EMP logic
Allows multiple EMP's on the same radio to extend the duration normally.
2013-06-12 10:21:18 -03:00
Cael Aislinn 56f577dc7c Merge pull request #754 from MrPerson/tablefix
Hulks punching tables now break into table parts, not rack parts. Fixes ...
2013-06-12 04:54:01 -07:00
MrPerson ed1cccdf25 Hulks punching tables now break into table parts, not rack parts. Fixes issue #640 2013-06-11 02:40:20 -07:00
Cael Aislinn cc66ec46db Merge pull request #552 from dumpdavidson/monkeyize
Monkey - Human transformation
2013-06-10 02:27:52 -07:00
dumpdavidson 87a28b67e0 Merge remote-tracking branch 'remotes/origin/master' into monkeyize 2013-06-10 10:54:09 +02:00
Carnie 968ce3bde1 Merge pull request #747 from KazeEspada/grilles
fixes issue #742 - grilles now drop the correct number of rods when destroyed.
2013-06-10 00:44:00 -07:00
KazeEspada 804f509639 fixes issue #742 2013-06-09 19:06:15 -07:00
Cael Aislinn bfe509a345 Merge pull request #734 from Incoming5643/syndibombs
Adds the Syndicate Minibomb and Syndicate Bomb to traitor PDAs
2013-06-09 12:11:16 -07:00
Cheridan b817a79836 You can no longer create batons with functionally infinite charge, by first rigging the cell and then hitting someone to blow it up.
golly
2013-06-08 20:58:07 -05:00
Cael Aislinn 2febaa4da9 Merge pull request #712 from dumpdavidson/EMP_radios
Radios more vulnerable to EMP (Issue #711)
2013-06-08 17:53:34 -07:00
Cael Aislinn 6531edd757 Merge pull request #576 from SuperSayu/camerabug
Fixes 'Camera Bug' item and makes it a viable tool.
2013-06-08 17:43:18 -07:00
incoming 3cfc4c6203 *Fixed a few errors in the sprites and gave the syndicate bomb unique inhands (thanks again to teh_wolf)
*Added isliving and in_range checks to settings() so you couldn't open the dialog boxes, run across the station, then prime the bomb from there
*Default timer setting has been raised to 60 seconds, minimum timer setting has been raised to 30 seconds
2013-06-08 13:47:17 -04:00
incoming f4f743e0a9 Adds the Syndicate Minibomb and Syndicate Bomb to traitor PDAs
The minibomb is based on grenade code with a blast radius of 1,2,4 and is found in syndieminibomb.dm. This is the same power as the default tank transfer bombs spawned on the syndicate shuttle.
It features new sprites by teh_wolf and existing inhands (the default grenade) and is a tiny item.
As a result of introducing an explosive grenade, grenade priming are now logged.
Its crystal cost has tentatively been set at 3.
---
The Syndicate Bomb is all new code contained in explosives.dm with additional wires code at syndicatebomb.dm. It does not make use of any tank transfer valve or grenade code.
The bomb has a blast radius of 2,5,11. This is the same power as the tank transfer bombs in the syndicate shuttle if they are boosted with oxygen.
It features new sprites by teh_wolf and existing inhands (currently using “electronic”) and is a bulky item.
The bomb is set by touching it in your hand or touching it on the ground if it has been wrenched down, allowing first to set a timer (min 10 seconds) and then giving an option to start the countdown. When the bomb is activated it states so to everyone within sight of it, giving a time to detonation in the process.
The bomb can optionally be wrenched to solid ground to foil would be spacers. When the bomb is set to countdown the bolts lock in, and cannot be removed by wrench alone.
The bomb includes a robust wires system for pulse pounding defusal attempts. Once a bomb starts ticking using the wires is the only way to stop it (it is not immune to del of course, but is unacidable).
The wires are as follows:
*Boom: Will detonate the bomb if cut/pulsed while the bomb is live, but will defuse the bomb on cut when it's not timing. Mending this wire is the only way to make a defused bomb potent again.
*Unbolt:  If the bomb has been locked to the floor cutting this will free it. Pulsing will hint at its function
*Delay:  Adds time (+10) to the timer when pulsed (it does not matter if the bomb is live or not). No function on cut.
*Proceed: Lowers the time when pulsed. If the timer is above 60 it will set it to 60, if it’s between 60 and 21 it will reduce the timer by 10, if it’s between 20 and 11 it will set the timer to 10. This will detonate the bomb when cut if it's timing. Note that this makes randomly cutting more dangerous than pulsing as there’s twice the number of wires that will explode.
*Activate: This will activate the timer if pulsed when the bomb is not timing, or will stop and defuse the bomb if it's cut while it IS timing. Pulsing it on an active bomb will hint at its function and add a little time (+5).
All syndicate bomb primings are logged.
Its crystal cost has tentatively been set at 5.
---
Misc
The “screwed” traitor uplink kit has had its tank transfer bombs replaced with one of each of these two bombs.
2013-06-07 21:39:56 -04:00
dumpdavidson 9fffa15f8f - Replaced EMP frequency scrambling with a 20 seconds forced shutoff
- Made headsets have a 'power button' (toggles listening) and disallowed them from broadcasting with listening = 0.
2013-06-07 16:30:03 +02:00
supersayu 5a385a1159 Final? values for camerabug expansion item types
There wasn't much feedback, so I just threw together something acceptable, not being able to think of anything particularly clever.
- Universal bug: atmos analyzer or subspace analyzer
- Sabotage bug: Igniter, infrared tripwire thing, or subspace amplifier
- Network bug: Radio, signaler, or subspace transmitter
- Advanced bug: Detective scanner, pAI card, or scanning module stock part
2013-06-06 20:14:06 -04:00
dumpdavidson 9ed31bf0d9 - If they are turned on, radios inform the person they are on if they overload due to an EMP. 2013-06-06 19:46:16 +02:00
dumpdavidson c5ce541e96 Makes radios more vulnerable to EMP:
Department channels that are turned off now cannot be broadcasted into.
EMPs will now shift the frequency of a radio a bit.

This is supposed to make EMP a viable option for a traitors or nuke agents that are looking to take someone out without the entire station knowing about it.
Signed-off-by: dumpdavidson <gtb.schmidt@gmail.com>
2013-06-04 02:27:29 +02:00
supersayu 0f8b28bf53 Combines the prototypes back into one finished camera bug.
Adds an associative list sorter to the helper procs.  This will sort a list while maintaining the key=value structure.
The tracking functions of the camera bug will now auto-refresh if you keep the window open.  The functionality was there but broken previously.  This allows you to creepily stalk someone or observe a sensitive area.

The camera bug is now extensible.  If you add an extension of certain types, the bug will have additional functionality.  A screwdriver will remove the existing extension.  Additionally, an admin/testing version of the camera bug can be created with the research admin spawnable item.

This is not the final version of this code; sane item types for the extensions must be chosen.  I do not have any that are feasible right now.
2013-06-02 00:54:04 -04:00
Cael Aislinn 1ab959dc4f Merge pull request #562 from Ikarrus/hudicons
Updated Hud Icons with department colors
2013-05-31 23:42:26 -07:00
Cael Aislinn 1a539fd3f4 Merge pull request #643 from Ikarrus/hopradio
Removed HoP's security radio access
2013-05-31 23:25:18 -07:00
Cael Aislinn 871b775100 Merge pull request #655 from Carn/HelpersTidy
*Small tidy-up of various helper procs*
2013-05-31 23:24:38 -07:00