Commit Graph
6672 Commits
Author SHA1 Message Date
Chinsky cd5715650b Merge pull request #4553 from Ccomp5950/hud_rewrite
Code effeciency project: HUD items rewrite.
2014-03-10 15:54:41 +04:00
Chinsky 0d06f80c84 Merge pull request #4545 from Ccomp5950/apc_rewrite
Effeciency Project: APC / Machinery power usage.
2014-03-10 15:53:29 +04:00
Joey Haas e862e013e7 Smartfridges are now hackable. Also fixed a bug where one could not properly access the fridge in chemistry. 2014-03-10 02:14:57 +01:00
Ccomp5950 084c0754ad Code effeciency project: HUD items rewrite
Before: Every tick each HUD item would recalculate and redo images for every mob in view. For items like the secHUD where we're transversing implants and the various records this gets very expensive.

After: Mobs use their hud_list variable to store varius huditem images, when conditions change for those specific huditem images it updates the specific ones on demand. As a backup every 30 ticks or so the mob will update all of their hud_list.

Also: moved proc/RoundHealth() from 2 seperate locations into __HELPERS/mobs.dm
2014-03-09 10:25:36 -05:00
Ccomp5950 bb9a66cc3a Effeciency Project: APC / Machinery power usage.
We no longer run auto_use_power() on every machine every tick.
We now have a global list of areas, and areas that have an APC in them (all_areas and active_areas) no more looping through world bullshit.
A bunch of snowflakey as fuck machines won't use_power() in their process, you get two options, active and idle, use them!
This means a lot of machines won't double dip on power as well so power usage for the station has dropped about 20%

Because everything is snowflakey as fuck we're going to have some machines that don't force an update on their power usage.  Fuck them.
We should catch them with the root obj/machine/proc's forcing updates.
2014-03-08 03:42:44 -06:00
Ccomp5950 e0e1bd9cfb APC Area update initial commit. 2014-03-07 23:42:28 -06:00
Joey Haas 38d43fa971 Medbay, Xenobiology and Virology now have secure smartfridges. 2014-03-07 21:39:06 +01:00
Joey Haas 78e4f7e126 We now have secure smartfridges. More changes:
Changed xeno smartfridge to a secure smartfridge.
Added a chemistry/medical smartfridge for easy chemical storage.
Smartfridge usage now leaves fingerprints.
Secure smartfriges are emagable, by the way!
2014-03-07 21:32:13 +01:00
Ccomp5950 c24ee718d4 Merge pull request #4527 from RavingManiac/dev
Chemistry, bar and virology smartfridges. Ingestion reagent transfer delay. Piano
2014-03-07 10:21:54 -06:00
Chinsky fa88663c23 Merge pull request #4513 from Aryn/master
Space Lighting Fixes
2014-03-07 17:51:55 +04:00
RavingManiac f022a19452 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into dev
Conflicts:
	maps/tgstation2.dmm
2014-03-06 19:22:06 +08:00
Ccomp5950 e8d04262a5 Merge pull request #4524 from Ravensdale/PROTECITON
Define spelling correction
2014-03-04 23:11:43 -06:00
Ccomp5950 c066232ab3 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev 2014-03-04 18:29:03 -06:00
RavingManiac 727b87730b Smartfridge variations added to chemistry, bar and virology. One of the virology windows didn't have sides, so I fixed that. 2014-03-05 00:03:57 +08:00
Vetinari 1d62ceddaa Merged Upstream
This is a big one.
2014-03-04 22:19:09 +11:00
Mloc f4ca9631b5 Merge pull request #4504 from MrLeebo/severed-limbs-drop-cuffs
Fractures and severed limbs cause cuffs to fall off
2014-03-04 10:15:42 +00:00
Ravensdale 9561635942 Merge branch 'dev' of https://github.com/Baystation12/Baystation12 into PROTECITON 2014-03-03 20:26:58 -08:00
Ravensdale 50a45b32ae Fixes a define spelling error. 2014-03-03 20:23:21 -08:00
Jeremy Liberman c5261a2796 Wearing masks or straight jackets blocks chewing on your wrists 2014-03-03 20:24:09 -06:00
alex-gh 1c596f2ff2 Despawning in cryo pods no longer prematurely end rev rounds. 2014-03-03 08:57:46 +01:00
Jeremy Liberman d41d3b2b9e Fixes UI glitch when losing cuffs from fractures, resisting, or cult magic 2014-03-02 15:08:55 -06:00
Mloc-Argent d53263a49b Optimizes of /obj/New(), by removing access generation.
Previously, every single /obj would parse the req_access_txt and req_one_access_txt strings and turn them into a list of numbers for the access system.
This is now done the first time check_access() is called, so only objects that actually use the system will have the lists generated.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-02 15:12:56 +00:00
Aryn 2c947e135f Fixed supply shuttle bug wherein the area types were actually tags. 2014-03-02 06:53:11 -07:00
Jeremy Liberman 4025ccbee5 Fractures and severed limbs cause cuffs to fall off. Deranged spessmen can chew their own wrists to break free. 2014-03-01 22:56:47 -06:00
ZomgPonies 61fe10fe3d Efficiency: Joblist
Conflicts:
	code/__HELPERS/global_lists.dm
2014-03-01 13:38:55 -05:00
Ccomp5950 5c482f1c8c Merge pull request #4494 from yashaldie/master
Fixed Borg toggling broadcast mode
2014-03-01 11:07:41 -06:00
Ccomp5950 77767db800 Merge pull request #4487 from zekesulastin/laser-scalpel
Laser Scalpels Ver. 1
2014-03-01 10:55:18 -06:00
DJSnapshot 4492648491 server crash fix based off of https://github.com/tgstation/-tg-station/pull/2943/files 2014-02-28 17:38:58 -08:00
yashaldie 3d7b7a937c Missed some codes...
Forgot to add some code from a past bug fix i did on my end.
2014-02-28 05:42:42 -05:00
yashaldie a0bb14f76e borg radio fix 2014-02-28 04:58:49 -05:00
Ccomp5950 9c2e3ef84a Merge pull request #4483 from Loganbacca/chemsmoke
Chemsmoke tweaks and bug fixes
2014-02-27 03:42:51 -06:00
Loganbacca ac8f5451e8 Chemgrenade fix
- If check to handle grenades detonating in a mobs hand correctly.
2014-02-27 14:09:47 +13:00
Ccomp5950 39383c331a Merge branch 'dev-freeze' of github.com:Baystation12/Baystation12 into dev 2014-02-26 09:38:40 -06:00
Ccomp5950 c56ec21ee3 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/modules/reagents/Chemistry-Reagents.dm
2014-02-26 09:34:38 -06:00
Loganbacca 53b338060c Chemsmoke tweaks and bug fixes
- Renamed the variable for the smoke density mechanic to density. Also clamped it to a minimum of 1 so it cant multiply reagents.
- Added some checks so the chemsmoke effect doesn't run if it's in nullspace.
- Removed an unnecessary distance calculation.
- Added a null turf check to prevent runtimes if a really big smoke grenade goes off at the edge of the map.
- Added a check so the reagent copy code doesn't run if there's no reagents to run it on.
2014-02-27 00:59:01 +13:00
Vetinari 309cd0844d Medbay Area Tweaks 2014-02-26 21:00:11 +11:00
Mloc-Argent f5ab084eac Fixes admin attack logs to show up in-game as well as in the logfiles.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-02-25 20:36:46 +00:00
ZekeSulastin 72eba68bd8 Added laser scalpel items 2014-02-25 15:09:46 -05:00
Ccomp5950 3ab7e8438a Runtime fix: Sparks trying to delete that which does not exist.
runtime error: Cannot execute null.delete().
proc name: start (/datum/effect/effect/system/spark_spread/start)
  source file: effect_system.dm,204
  usr: Mark Hoover (/mob/living/carbon/human)
  src: /datum/effect/effect/system/sp... (/datum/effect/effect/system/spark_spread)
  call stack:
/datum/effect/effect/system/sp... (/datum/effect/effect/system/spark_spread): start()
runtime error: Cannot execute null.delete().
proc name: start (/datum/effect/effect/system/spark_spread/start)
  source file: effect_system.dm,204
  usr: Mark Hoover (/mob/living/carbon/human)
  src: /datum/effect/effect/system/sp... (/datum/effect/effect/system/spark_spread)
  call stack:
/datum/effect/effect/system/sp... (/datum/effect/effect/system/spark_spread): start()
2014-02-25 00:28:00 -06:00
Ccomp5950 e098746209 Runtime fix: RP_Revolution's auto_add_rev_head loves that null.
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
runtime error: Cannot read null.client
proc name: process (/datum/game_mode/revolution/rp_revolution/process)
  source file: rp_revolution.dm,198
2014-02-25 00:20:44 -06:00
Chinsky 0ba65efd18 Merge pull request #4477 from Ccomp5950/runtimefixes
Runtimefixes
2014-02-25 06:01:59 +04:00
Aryn 130f58a41c ChangeTurf()... We meet again... 2014-02-24 06:39:50 -07:00
Aryn 7f4c4715e7 Lighting seems to be working now. 2014-02-24 05:58:11 -07:00
Aryn ca7d4026b8 Lighting system is too buggy to continue until I know wtf is going on 2014-02-24 05:58:09 -07:00
Ccomp5950 d5951781fd Runtime fix: Alarms keep trying to heat up space.
runtime error: Cannot execute null.heat capacity().
proc name: process (/obj/machinery/alarm/process)
  source file: alarm.dm,186
runtime error: Cannot execute null.heat capacity().
proc name: process (/obj/machinery/alarm/process)
  source file: alarm.dm,186

over and over and over.
2014-02-24 01:27:04 -06:00
Ccomp5950 0bcd89360a Runtime fix: I have no UI, and I must close it.
runtime error: Cannot execute null.close().
proc name: Topic (/obj/item/device/pda/Topic)
  source file: PDA.dm,485
  usr: Garry Myers (/mob/living/carbon/human)
  src: PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering)
  call stack:
PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering): Topic("src=\[0x2003e95];choice=Messag...", /list (/list))
NeroHarry (/client): Topic("src=\[0x2003e95];choice=Messag...", /list (/list), PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering))
NeroHarry (/client): Topic("src=\[0x2003e95];choice=Messag...", /list (/list), PDA-Garry Myers (Station Engin... (/obj/item/device/pda/engineering))
2014-02-24 00:51:57 -06:00
Ccomp5950 1eb66f1f78 Runtime fix blood_DNA length checks when it's possibly null.
runtime error: Cannot read null.len
proc name: attack self (/obj/item/weapon/melee/telebaton/attack_self)
  source file: swords_axes_etc.dm,156
2014-02-24 00:47:55 -06:00
suethecake 32de00eed8 Fix to cloned gun issue - now your holster is located on your tactical armor. 2014-02-22 21:50:21 -06:00
Ccomp5950 65b8215ec7 Merge pull request #4465 from Loganbacca/chemsmoke
Chemsmoke rewrite
2014-02-22 18:33:43 -06:00
Aryn d6b275ca73 Fixed walls not splitting zones. 2014-02-22 08:16:35 -07:00