Commit Graph

6906 Commits

Author SHA1 Message Date
Aryn
f511ac20c2 Fixed some debug verbs, removed ZASDBG define. 2014-02-21 08:46:56 -07:00
Ccomp5950
b6eacfe385 Merge branch 'dev-freeze' of github.com:Baystation12/Baystation12 into dev
Conflicts:
	code/modules/admin/verbs/mapping.dm
2014-02-20 19:23:16 -06:00
Ccomp5950
63a0f1185e Merge branch 'master' of github.com:Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/ATMOSPHERICS/pipes.dm
	code/game/dna/genes/powers.dm
	code/game/objects/items/devices/PDA/PDA.dm
2014-02-20 19:16:23 -06:00
Aryn
a2d992ef5c Fixed inexplicable reversions. 2014-02-19 17:11:09 -07: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
Mloc
eb593a628f Merge pull request #4449 from Ccomp5950/apc_icon_fix
Code effeciency project: apc update_icons
2014-02-17 15:55:29 +00:00
Mloc
242aae0f97 Merge pull request #4450 from Ccomp5950/dna2-everyone_human_fix
DNA2 fix.
2014-02-17 15:55:07 +00: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
71b41e9ac7 ZAS debug_verb runtime prevention. 2014-02-16 13:31:56 -06:00
Ccomp5950
9c5f96cc58 Code effeciency project: apc update_icons
Before:  It updated the icons quite a bit at the start of the game.

After:  It updates more often and quicker, but now it isn't as expensive
2014-02-16 10:59:19 -06:00
Mloc
52847adce6 Merge pull request #4440 from Ccomp5950/dev-freeze
Supermatter will stop processing when it's in space.
2014-02-16 14:24:05 +00:00
Ccomp5950
db33fb6425 ZAS_Debug verb.
Applys a client side only layer of colors over the various zones to show if they are connected or not.

Green is your current zone
Blue is adjacent zones that are connected.
yellow is zones that are connected but not adjacent to your current zone.
Red is for zones that aren't connected at all.
2014-02-16 02:22:49 -06:00
DJSnapshot
009b4737af fix for semi-annoying typo. 2014-02-15 23:54:32 -08:00
Ccomp5950
2d413966cc Debug verbs are now maintained as a single list
instead of having to maintain them in multiple places.
2014-02-15 18:54:08 -06:00
Ccomp5950
ce6cd1c133 Supermatter will stop processing when it's in space. 2014-02-15 17:20:54 -06:00
Ccomp5950
16e7da35c9 Admin Request: Hide Debug Verbs
Gives admins (and devs) the ability to hide the debug verbs after enabling them.
2014-02-14 03:11:52 -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
Loganbacca
d378eb0692 Chem grenade fix
Missed this in my last commit:
- Added a result amount for chemsmoke so it calculates the created_volume correctly
2014-02-14 15:44:45 +13:00
Chinsky
499e364971 Merge pull request #4416 from Loganbacca/foam
Chem grenade fixes
2014-02-14 01:35:27 +04:00
Chinsky
8e0c06c541 Merge pull request #4412 from Ccomp5950/pai-messenger
pAI messenger bugfix.
2014-02-14 01:32:30 +04:00
Loganbacca
d1b37a5392 Fixed cable colors
- Fixed a couple of lines of code in power.dmi so that cables correctly update their color
- Fixed the contrast of the cable icons
2014-02-13 17:05:07 +13:00
Loganbacca
02810f7e89 Chem grenade fixes
Fixes #3986

- Foam reagent inheritance fixed:
The trans_to() proc in Chemistry-Holder.dm was calling handle_reactions() every time it would add and remove reagents with add_reagent() and remove_reagent(). I've added a safety flag to both of these procs (and copy_to()) so that trans_to will not call handle_reactions() until it has added all the reagents to the target container. This allows foam to reliably take on the properties of other leftover reagents.

- Fixed a bug in effect_system.dm that wasn't applying reagents from foam to the environment.

- Tweaked smoke to apply reagent effects after it has stopped moving
This was causing huge reagent spam at the center of the smoke cloud as it was spawning, since they were being applied every time the cloud of smoke moved. Also changed it to apply the effects 2-3 times at longer intervals (2 seconds).

- Smoke also only effects tiles in a 3x3 grid now, rather than 5x5.

- Summary:
Chem smoke does slightly less damage (if it contains damaging reagents)
Chem smoke proc calls reduced by 60-70% (significant lag reduction)
Foam works properly again
Foam proc calls reduced by 70-80%
2014-02-13 00:15:02 +13:00
Mloc
09bdc9492a Merge pull request #4410 from Ccomp5950/dna2-cherrypick
DNA2 Cherry-pick (Dev -> Master)
2014-02-12 09:54:13 +00:00
Ccomp5950
942ce6ebc7 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev 2014-02-11 18:07:19 -06: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
cba6dac062 Fix for unlocking exploit. 2014-02-09 13:34:40 +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
d50d49cedb Bullet inscriptions
- Can inscribe text into bullets by using a screwdriver on a bullet casing
- Does not work on non-metal type bullets (i.e. rubber bullets, beanbags, stunshots, etc)
- Added weakbullet subtypes "rubber bullet" and "beanbag" with appropriate names
2014-02-09 22:52:27 +13:00
DJSnapshot
cf67b34780 Merge pull request #4401 from Ravensdale/APC
Self-naming APC's! Now even mapped in APC's will rename themselves
2014-02-08 18:18:29 -08:00
DJSnapshot
b47acbbcfb Merge pull request #4396 from RKF45/blob
Readjusts blob random event
2014-02-08 18:17:17 -08:00
Loganbacca
b34ceb5cfd Fixed shrapnel embedding 2014-02-09 14:56:16 +13:00
Ravensdale
677e8a29c8 Tweak APC self-naming so they read better when examined or interacted
with. Thanks Sky for the suggestion and Mloc for the why.
2014-02-08 06:04:33 -08:00
Ravensdale
9d1e160a60 Self-naming APC's! Now even mapped in APC's will rename themselves
depending on what zone they're in. Makes more mapping sanity.
2014-02-07 21:48:37 -08:00
RKF45
64dcb5a693 Readjusts blob random event 2014-02-07 19:57:46 +01:00
Rob Nelson
a8d3c0601b And now tested in game, with some fixes. 2014-02-06 23:52:58 -08:00
Rob Nelson
54e4c48f7d Missed the gene Life() call. 2014-02-06 23:19:52 -08:00
Rob Nelson
3121e4fb2d DNA2 Bug Fixes - Part 2
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.
2014-02-06 23:07:35 -08:00
Zuhayr
27dba28a54 Merge pull request #4394 from Baystation12/master
Removes mechs, removes Roboticist, moves exofabs to R&D.
2014-02-07 13:18:37 +10:30
Zuhayr
353ee43bae Uniform.dmi merge resolution. 2014-02-05 18:35:13 +10:30
Zuhayr
f1b77d0ed6 Master merge. 2014-02-05 18:34:23 +10:30
DJSnapshot
64ff444fa7 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into antag
Conflicts:
	icons/mob/uniform.dmi
2014-02-04 23:55:27 -08:00