Commit Graph

3548 Commits

Author SHA1 Message Date
Ccomp5950 e72c584ac8 Reapplys this runtime fix when dead /mob/living would not have a client. 2014-02-22 03:47:46 -06:00
Ccomp5950 8ef2e10237 This reverts commit all the say code changes over the last couple of days.
Except for the removal of the redundant get_mobs_in_view used for bolding ghosts text.
2014-02-22 03:46:10 -06:00
Ccomp5950 6dc330a398 Bugfix: get_mobs_in_view won't allow AIeyes to hear chat.
Also:  Added a client check to saycode for now that stops runtimes when you have a dead body with no client and removed colons from it.
herp derp.
2014-02-21 21:29:34 -06:00
Ccomp5950 d29a7fb260 pAI / MMI emote fixes.
Fixes #4191
2014-02-18 06:47:06 -06:00
Ccomp5950 5909abb080 This is rather ironic...
My VERY FIRST PR, I used it to make ghost chat be bold, instead of using viewers() to figure out
what ghosts could see the mob, I used get_mob_in_view() which sounded pretty descriptive.

Unfortunately for me it was one of the most CPU intensive ways of determining who could view the speaker for this.

So yeah, removing the second get_mobs_in_view and replacing it with viewers()

Yes this code has been in since Oct/Nov time frame :(
2014-02-18 05:40:06 -06:00
Ccomp5950 de865875cb DNA2 fix.
Before:  If you shoved a skrell, cat, or any species other then human in the cloner, they came out human.

After:   Cloning works like it should.
2014-02-16 14:18:30 -06:00
Ccomp5950 b392ab8e0e Code effeciency project: handle_embedded_objects
Before:  EVERYTIME someone moved their character this proc would be called and loop through every organ looking for implanted items to see if it needs to apply damage.

After:  We create a flag that is set when an item embeddes, only when that flag is set do we do that loop through organs upon movement.  Also every 10 ticks while that flag
is set we will check to see if we need to unset it.
2014-02-13 21:56:58 -06:00
Chinsky 8e0c06c541 Merge pull request #4412 from Ccomp5950/pai-messenger
pAI messenger bugfix.
2014-02-14 01:32:30 +04:00
Mloc 09bdc9492a Merge pull request #4410 from Ccomp5950/dna2-cherrypick
DNA2 Cherry-pick (Dev -> Master)
2014-02-12 09:54:13 +00:00
alex-gh 841333bc30 Fixed halloss not slowing you down 2014-02-11 18:01:37 +01:00
Ccomp5950 62b70bb827 Bugfix: AI Camera light toggle
Fixes #3676

Before:  Toggling would get stuck where it wouldn't toggle the camera until you reset your view.

After:  Camera light toggles, you have to toggle off before turning on a new camera light though.
2014-02-11 03:20:22 -06:00
Ccomp5950 87cf8bb219 pAI messenger bugfix.
pAI has to be a special little snowflake and have it's own messenger proc instead of letting a AI-PDA handle it.

So, updated it with the newest tnote variable functionality so it can participate.
2014-02-11 01:55:32 -06:00
Rob Nelson 64f83c51ad And now tested in game, with some fixes. 2014-02-10 22:47:29 -06:00
Rob Nelson 9d33964061 Missed the gene Life() call. 2014-02-10 22:47:08 -06:00
Rob Nelson fa20b9c2ee DNA2 Bug Fixes - Part 2 (CHERRY PICK)
We discovered that most of the problems were were having was because of BYOND passing lists (e.g. SE and UI) by-ref instead of the assumed by-val.

This commit adds dna.Clone() and (UI|SE).Copy() where needed.  These should be used where DNA or SE/UI lists are COPIED, otherwise changes made in the reference will affect the real strand.

This change also messes with the gene activation logic.

Conflicts:
	code/game/dna/dna2_domutcheck.dm
	code/game/dna/genes/powers.dm
2014-02-10 22:46:28 -06:00
Rob Nelson 1088888791 DNA2 EPISODE 2: Revenge of the Bugs
Made after DNA2 hit /vg/'s main server after no one tested anything.

* Gene activation/deactivation made modular, refactors domutcheck.
* Standardized genetics disks and injectors a bit in response to buffer corruption issues. (Untested)
* Lots of major bug fixes.
* Skin tones fixed.

Still needs further testing. All I did was mess around with monkeys.

Conflicts:
	code/game/dna/dna2.dm
	code/game/dna/dna2_domutcheck.dm
	code/game/dna/dna2_helpers.dm
	code/game/dna/genes/disabilities.dm
	code/game/dna/genes/powers.dm
	code/modules/mob/living/carbon/monkey/monkey.dm
2014-02-10 22:43:05 -06:00
Segrain 26f40359fc Fix for unpinning humans. 2014-02-10 01:38:32 +03:00
Segrain 5bead0c183 Adding blood to humans. 2014-02-09 13:32:42 +03:00
Segrain 8e11dabf96 Bloody feet. 2014-02-09 13:30:28 +03:00
Loganbacca b34ceb5cfd Fixed shrapnel embedding 2014-02-09 14:56:16 +13:00
Ccomp5950 9665e8c4df Mouse Attack_Logs disabled. Admins rejoice.
No more mice in disposals spamming the hell out of admins everytime someone flushes items.
2014-02-05 00:14:45 -06:00
Chinsky e7c22c28c7 Merge pull request #4379 from Segrain/master
Smallfix.
2014-02-04 01:44:32 -08:00
Segrain 83246df6d5 Fix for #4297. 2014-02-03 07:32:53 +03:00
Ccomp5950 35f534854a Commented out the AI Announcement verbs
Now the AI won't get it's hopes up that it can have the
CAPTAIN REPORT TO THE BAR FOR JOHNSON INSPECTION
2014-02-02 16:57:07 -06:00
Ccomp5950 e72c824b90 Deadchat sanitized so players can't use HTML. 2014-01-31 16:41:12 -06:00
DJSnapshot 810de4ddaa Merge pull request #4337 from Baystation12/dev-freeze
0.1.8 Staging [Do not merge]
2014-01-31 12:40:15 -08:00
Segrain ece3556143 Smallfix. 2014-01-31 16:31:17 +03:00
Segrain 4df59faf76 Surgery tracking. 2014-01-31 16:28:24 +03:00
Segrain 93a29c60b3 Verb category. 2014-01-31 16:22:31 +03:00
Segrain b9b6a6d5be Check for verb removal. 2014-01-31 00:31:41 +03:00
Ccomp5950 f208f05534 Merge pull request #4356 from Loganbacca/bayfix-devfreeze
Non-standard dropped item layer bug
2014-01-30 10:59:38 -08:00
Ccomp5950 975433f898 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev-freeze
Conflicts:
	icons/mob/back.dmi
	icons/mob/mask.dmi
2014-01-30 12:14:44 -06:00
Zuhayr 8850a43dcb Fixes #3847 2014-01-30 23:21:00 +10:30
Zuhayr b38e1a71be Fixes #4223 2014-01-30 22:06:57 +10:30
Zuhayr bc48240fff Generalized yank_out_object(). 2014-01-30 21:56:33 +10:30
Loganbacca cbd73c9845 Fix item drop layer bug
Similar to the handcuff resisting layer bug.

When removing an item from your inventory that has associated inventory slots, items that were dropped from the extra inventory slots would be dropped with incorrect layer variables (set to 20 so they were rendered over the UI).
Now when the extra items are dropped, it calls the drop_from_inventory() proc, which correctly changes their layer back.
2014-01-30 23:42:21 +13:00
Loganbacca 48e4b9a698 Fix handcuff resist - layer bug
Fixes #4324

Resisting out of handcuffs was leaving the handcuffs layer set to 20 (over top of the UI).
Changed it to use the drop_from_inventory() proc so it handles the drop event correctly.
2014-01-30 21:35:38 +13:00
Chinsky 6da9f68a7a Merge pull request #4329 from Ccomp5950/gun_fixes
Sniper Rifle fixes
2014-01-23 09:07:53 -08:00
Ccomp5950 c028db481e Merge branch 'master' of https://github.com/Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/modules/mob/living/carbon/monkey/diona.dm
	code/modules/reagents/Chemistry-Machinery.dm
2014-01-23 00:05:53 -06:00
Ccomp5950 b260d511fb Gun fixes.
You die, you are zoomed out

You have welding equipment on, you can't zoom in.
2014-01-22 23:40:32 -06:00
Ccomp5950 fbcf162416 Sniper Rifle fix.
You have no HUD when zoomed.  None, I'm unable to move every HUD element while zoomed in so you lose it.  Consider it part of your concentration while zoomed in.

If you move while zoomed in you automatically zoom out, you lose concentration.

If the rifle isn't in your active hand you can't zoom in.
2014-01-22 22:40:21 -06:00
DJSnapshot e76838bd6e fix for muting deadme as well. 2014-01-20 22:42:56 -08:00
DJSnapshot 64e3c3d6b9 Admin requested addition of a global dsay toggle. 2014-01-20 18:27:12 -08:00
Ccomp5950 78c032b317 AntagHUD restrictions, disallow players becoming mice.
If antagHUD respawn restrictions are enabled, players will no longer be able
to use the "become mouse" verb if they have enabled their antagHUD's.

Observers were able to use antagHUD then become mice and die resetting their "has_used_antagHUD" variable allowing them to respawn bypassing the restrictions by becoming a mouse as well as respawning later.
2014-01-15 03:25:13 -06:00
Mloc 57a83eae70 Fix for #4194
Signed-off-by: Mloc <colmohici@gmail.com>
2014-01-13 14:27:44 +00:00
Mloc e25c60f930 Fix for #4289
Signed-off-by: Mloc <colmohici@gmail.com>
2014-01-12 23:23:04 +00:00
Ccomp5950 83ef93c41c Merge pull request #4270 from Baystation12/master
Merge master into Dev
2014-01-11 18:18:03 -08:00
Zuhayr adaccb3c3e Merge branch 'master' of https://github.com/Baystation12/Baystation12 2014-01-11 10:45:57 +10:30
Ccomp5950 bc6561b9e4 Runtime fix for people that jump back in their body before hitting respawn or just stay in their body for 30 minutes.
Who does that?  People that cause runtimes, that's who!

(Jerks)
2014-01-10 15:59:40 -06:00
Mloc 6f01e97161 Merge pull request #4248 from Zuhayr/dev
Dionaea changes (microwave recipe, holder procs) and resist verb.
2014-01-10 13:47:46 -08:00