Commit Graph

12406 Commits

Author SHA1 Message Date
RKF45
aa08abed18 Fix 2014-03-22 19:06:45 +01:00
Chinsky
6f8b599794 Merge pull request #4615 from Ccomp5950/nano_ui_admin_fix
VV drop down menu to resend NanoUI resource files.
2014-03-22 21:00:50 +03:00
RKF45
5d6f425dd4 Removal of bees 2014-03-22 18:45:28 +01:00
Ccomp5950
28392e9414 Code effeciency project: handle_virus_something() (human and monkey /Life())
2 for loops is more expensive then what we're doing here.
Also we check to see if virus2 is populated before starting a for loop
2014-03-22 07:50:23 -05:00
Ccomp5950
8106b6a4ae Code Effeciency project: Damn monkies Life()
pretty much the same effeciencies from human/life()

no need to updatehealth() over and over and over
no need to process environment if everything is normal
etc.
2014-03-22 06:56:09 -05:00
Ccomp5950
ce83c5c64e Code effeciency project: handle_environment (human/life())
Before:  We process a whole lot of bullshit for no real reason most of the time because temperatures are perfect.

Now:	 We check if our temperatures and environment are within normal bounds and get the hell out of the proc.

Also:    Mobs that are long dead or just dead mobs spawned at round start won't process Life(), those 3 clowns don't need Life(), those jerks.
2014-03-22 06:22:01 -05:00
Ccomp5950
f1506acf1e Code effeciency project: Handle_Organs (human/life())
We do a bit of pre-processing to see if we want to do checks on all the organs.

First we don't even do preprocessing unless we have damage of some kind
afterwards we process what is hurt until it gets better or overall we get worse
when we go ahead and check everything else out again.

Can add a safety check in life every 30 ticks or so go ahead and check every organ again but I don't think it's needed.
2014-03-22 04:33:48 -05:00
Ccomp5950
62db2723dd Merge pull request #4614 from LightningIron/master
Added Alden-Saraspova counters to excavation closets.
2014-03-22 02:07:58 -05:00
Ccomp5950
0e369578cc VV drop down menu to resend NanoUI resource files.
Some players are having issues with NanoUI not opening up or acting funny
before the only fix was to have them log out, and log back in, check if that worked.
If not log out, delete cache log back in, if that don't work not much can be done.

Now we just skip the whole logout login thing and force the server to send the files
to their client once again skipping the need for their character to take a dirtnap for a moment.
2014-03-21 23:03:06 -05:00
LightningIron
37a4b9e7da Added Alden-Saraspova counters to excavation closets; item previously unobtainable. 2014-03-21 15:24:19 -05:00
Ccomp5950
2a0bece954 Saycode rewrite initial commit.
Create structure for modular saycode

Regular chat:
specific_paths/say() -> living/say() -> specific_paths/hear_say()

Radio chat:
specific_paths/say() -> Telecoms shit -> specific_paths/hear_radio()

Humans done.

Todo:  AI, Robot, simple_animal, and ghosts.
2014-03-21 08:25:20 -05:00
Aryn
fc49951f77 Reduced six-state lighting to five-state, removed debug verbs.
Not a big drop in quality, but reduces the states used by half.
2014-03-21 06:05:05 -06:00
Ccomp5950
731f08eb10 Rejuvination verb fix for IPC's limbs don't suddenly become organic. 2014-03-20 20:31:33 -05:00
Ccomp5950
5dbc141b9b IPC examination won't cause "OH NO ROBOTIC LIMBS" (no shit, yo!) messages.
Unless they are damaged.
2014-03-20 20:15:02 -05:00
Jim "Apples"
ae2c398b26 Merge pull request #4611 from Aryn/to-master
Ctrl-H "faggot" to "meatball" and one icon state change.
2014-03-20 11:22:37 +00:00
Aryn
de86280434 Ctrl-H "faggot" to "meatball" and one icon state change. 2014-03-20 05:05:23 -06:00
Aryn
0d6aa7f862 Added the ability to use multiple light icons to represent over four states. 2014-03-20 02:24:08 -06:00
Aryn
01ba7b4dad Fixed issues with cyborgs deactivating flashlights, cleaned up some module code in the process. 2014-03-19 21:02:23 -06:00
Ccomp5950
ea46d87bfb Merge pull request #4604 from Jarcolr/patch-2
Telescopic baton no longer stuns
2014-03-19 15:07:36 -05:00
Aryn
1b8dc12a7c I think I fixed everything it is possible to stuff a light source into. 2014-03-19 01:02:27 -06:00
Aryn
9007aedf15 Fixed an annoying bug with giving another player a flashlight,
opened up at least 100 individual bugs where people kept setting
loc and expecting light updates to catch it.
2014-03-18 22:12:23 -06:00
Aryn
7e08bca4ef One runtime fixed, other one didn't turn up.
I put in some stuff for it to be easier to find if it does.
2014-03-18 22:12:22 -06:00
Ccomp5950
98fba3b6b0 Merge branch 'master' of github.com:Baystation12/Baystation12 into dev
Conflicts:
	code/modules/mining/machine_processing.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/mob/living/silicon/ai/ai.dm
	code/modules/virus2/helpers.dm
2014-03-18 19:44:19 -05:00
Ccomp5950
b05f4df282 Merge pull request #4602 from RKF45/mining
Removal of plasma glass
2014-03-18 14:37:16 -05:00
Jarcolr
b6768b0af0 Telescopic robuster no longer has the stun
It's about time somebody did this. It still has the really really annoying/bad brute damage, but it doesn't just knock you on your ass in one hit anymore.
2014-03-18 18:30:08 +02:00
Jarcolr
6300e859a2 Fixes #4600
Will fix #4600 and the problem with drinks not knowing when they are open/closed.
Hopefully I didn't miss a string of code again,I don't think so,though.
2014-03-17 23:13:29 +02:00
RKF45
ddb414d740 Removal of plasma glass 2014-03-17 20:37:10 +01:00
Mloc
83d028e394 Merge pull request #4588 from Ccomp5950/ore_process_optimize
Code effeciency project:  Ore processing.
2014-03-17 19:14:20 +00:00
Jeremy Liberman
38825a2ddc Reading comprehension fail
Gave a better "already loaded" text to the bio-generator.
2014-03-16 21:43:55 -05:00
Jeremy Liberman
31c79acd6e Fixes biogenerator typo, improper beaker splashing, and allows glass beakers to refill botany trays 2014-03-16 21:16:31 -05:00
Chinsky
b4ef26cef8 Merge pull request #4594 from Ccomp5950/pda_fix
PDA NanoUI bugfix.
2014-03-17 04:47:50 +04:00
Mloc
38c84de28b Merge pull request #4585 from Ccomp5950/hud-no-client
HUD-Optimization bugfix, mobs with no clients will update their health
2014-03-16 11:49:04 +00:00
Ccomp5950
6e56a81531 PDA NanoUI bugfix.
modes that update every 5 ticks won't require clicking the pda 5 times to get a UI window open.

We now check to see if a UI already exists if not we don't check
2014-03-16 04:07:46 -05:00
Ccomp5950
5e0730733f Merge pull request #4580 from Jarcolr/master
Coin Flipping, AKA the D2
2014-03-16 00:55:52 -05:00
Segrain
02cc696bf3 Fix for #4589. 2014-03-15 23:02:57 +03:00
Mloc-Argent
3d18b94d7d Fixes #4589
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-03-15 18:02:24 +00:00
Ccomp5950
31ed2999c5 Runtime fix on spawned mobs with no minds/client. 2014-03-15 06:31:53 -05:00
Ccomp5950
7ce4073135 Code effeciency project: Ore processing.
Before:  The stacker and processor used del(item) to get rid of the items causing /obj/movable/del() to spike up and cause fun amounts of lag.  Also we have seperate variables for if a certain ore type is selected in the processing machine and the cooking portion of process() uses a huge string of if()'s which check 8 or so variables and is terrible and probably a pain in the ass should someone decide to later add ore types and recipes.

After:  We just set item.loc = null when it goes in the stacker of processor and garbage collection takes care of it within a tick.  Those different variables for ore selection are now just one variable which is a bitfield, much easier to read, much easier to expand upon.
2014-03-15 04:05:56 -05:00
Ccomp5950
f1fdbb02c0 HUD-Optimization bugfix, mobs with no clients will update their health
HUD image as well.
2014-03-15 00:57:11 -05:00
Jarcolr
53d0fac4e3 Small tweak to coin flipping.
Last one,I swear.
2014-03-14 18:39:22 +02:00
Chinsky
ac683c07be Merge pull request #4581 from Ccomp5950/ai_apc_fix
APC-Rewrite AI fix.
2014-03-14 18:24:43 +04:00
Ccomp5950
0b49817d79 Merge pull request #4569 from comma/crabpack
Crabpack
2014-03-14 00:22:43 -05:00
Ccomp5950
bd483cc072 APC-Rewrite AI fix.
Before:  AI's on new APC system would constantly add more and more power usage to the APC

After:   AI's no longer handle their power consumption, that has been pushed off to an /obj/machinery/ai_powersupply dummy object which will process the power usage.  This is much cleaner because machinery objects are already processed properly for the new system and keeps us from having to rewrite a bunch of AI code to bring the AI in line with how the new APC system works.
2014-03-13 21:49:03 -05:00
Jarcolr
c8c7ea34e9 Forgot var/sides = 2
Oops.
2014-03-13 19:33:54 +02:00
Jarcolr
51177f2663 You can now flip coins,AKA the D2 2014-03-13 18:56:01 +02:00
Chinsky
ba360a2c13 Splicing virus changes it's unique ID. 2014-03-12 18:39:51 +04:00
yashaldie
55e43176b8 Merge pull request #3 from yashaldie/patch-2
Fixes Diona Nymph handling updates
2014-03-11 23:05:28 -04:00
Chinsky
a5fb8eec49 Merge pull request #4572 from yashaldie/patch-1
Fixes adding encryption keys to borgs
2014-03-12 05:12:16 +04:00
Loganbacca
1f7a444ab1 Fixed plasma glass outputting slag
Fixes #4560

Code was missing continue statements.
2014-03-12 13:15:23 +13:00
yashaldie
bdd955b036 Fixes Diona Nymph handling updates
Diona Nymphs were not getting their Handling procs called.
2014-03-11 05:45:10 -04:00