Commit Graph

991 Commits

Author SHA1 Message Date
Iamgoofball 38070820f3 Merge branch 'master' of https://github.com/tgstation/-tg-station into goonchem_shoehorn_backup 2015-01-16 17:25:50 -08:00
Iamgoofball f3398e58a9 Removes Star Trek chemistry and transfers us to Goon Chemistry. 2015-01-16 17:21:36 -08:00
carnie a44795a699 Resolves #6993 - Moved pai controller into a subsystem. 2015-01-15 23:50:46 +00:00
phil235 884e2a6f73 Fixes some runtimes from audible_message proc. Fixes silent PDAs calling audible message when receiving a message. 2015-01-14 18:00:17 +01:00
tkdrg 379b7b83fc Fixes a missed variable 2015-01-11 20:00:41 -03:00
tkdrg b852aa41ea Replaces a bunch of input() with stripped_input()
Some of these were exploitable for XSS, as well.
2015-01-11 19:02:53 -03:00
Swag McYolosteinen cd3e08f624 Merge pull request #6942 from lolnon/transfer_valve_kek
Fixes some functional but kekworthy code in transfer_valve.dm
2015-01-11 12:22:32 +01:00
lolnon fd6dc4f9f9 Fixes some functional but kekworthy code in transfer_valve.dm 2015-01-10 09:01:59 +00:00
Remie Richards 005d79073a Merge pull request #6731 from tkdrg/ntrc_strikes_back
Adds an "unread message count" to the NTRC link
2015-01-06 07:22:45 +00:00
Remie Richards b798df68ab Merge pull request #6790 from tkdrg/ExhaustedPlumpCamel
Fixes a few RPD painting bugs
2015-01-06 07:20:28 +00:00
tkdrg 2eb366de89 Fixes a few RPD painting bugs
Changes RPD colors to be consistent with pipe painter & default pipes.
Makes the RPD properly update its neighbors on painting.
Offloads the neighbor updating logic from pipe_painter to a pipe proc.
Fixes #6783
2015-01-04 04:35:36 -03:00
carnie a3f5e7ebfd Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems
Conflicts:
	code/game/gamemodes/setupgame.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/reagents/Chemistry-Machinery.dm
2015-01-04 01:52:14 +00:00
tkdrg 56a1d11162 Adds an "unread message count" to the NTRC link
Fixes #6720
2015-01-01 13:54:52 -03:00
tkdrg cdb5066502 Merge pull request #6324 from Razharas/GenShit
Added datum mutations
2014-12-31 17:24:15 -03:00
carnie e7519a33c8 Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems 2014-12-31 20:22:32 +00:00
phil235 e476074b32 Merge pull request #6673 from GunHog/FixForTatorAIRadioAndRemovesSpice
Fixes #6654
2014-12-31 15:41:17 +01:00
phil235 3ce15f31b0 Merge pull request #6672 from Menshin/flash_emp_runtime_fix
Fixes flashes runtiming on EMP + flash spamming
2014-12-31 15:33:20 +01:00
carnie a029a49392 SubSystem rewrite
Misc:

+Fixes unreported issue with initializing lighting on a specific zlevel

+Fixes two similar issues with moveElement and moveRange. Where fromIndex or toIndex could be adjusted incorrectly in certain conditions. Potentially causing bad-sorts, or out of bound errors.

+Rewrites listclearnulls(list/L) to no longer iterate through L.len elements for every null in the list (plus 1). i.e. went from L.len*(number_of_nulls+1) list-element reads (best-case), to L.len list-element reads (worst-case)

+New proc/getElementByVar(list/L, varname, value) which finds the first datum in a list, with a variable named varname, which equals value. You can also feed it atoms instead of lists due to the way the in operator functions.

+Fixes an unreported issue with Yota's list2text rewrite. Under certain conditions, the first element would not be converted into a string. Causing type-mismatch runtimes.

+New global map_ready variable. This is not fully implemented yet, but will be used to avoid duplicate calls to initialize() for map objects.

+All turfs now maintain references to all lights currently illuminating them. This will mean higher memory use unfortunately, due to the huge number of turfs. However, it will speed up updateAffectingLights significantly. I've used list husbandry to reduce baseline memory usage, so it shouldn't be any worse than some past atmos modifications memory-wise.

-Removed 'quadratic lighting', can add this back at some point. Sorry.

+modified the way lum() works slightly, to allow turfs to have overridden delta-lumen. i.e. space cannot be illuminated more than its default ambiance. This allowed removal of some iffy special-snowflake lighting areas implemented by somebody else.

+Lighting images in the dmi can now use arbitrary naming schemes. It is reliant on order now. This allows the dmi to be replaced by simply dropping in a new dmi.

-Removed all subtypes of /area/shuttle. Shuttles now create duplicate 'rooms' of /area/shuttle. (More on this later). This will conflict with most maps. Guide on how to fix to follow.

+All verbs/tools relating to world.tick_lag were refactored to use world.fps. However old config text for setting tick_lag will still work (it converts the value to fps for you)

+MC stats improved using smoothing. They now have their own tab so they dont get in the way when you're playing as an admin.

-removed the push_mob_back stuff due to conflicting changes. Sorry Giacom.

_OK, NOW THE ACTUAL INTERESTING STUFF_

Following systems moved over to subsystem datums:
air_master
garbage_manager
lighting_controller
process_mobs (aka Life())
nanomanager
power
sun
pipenets
AFK kick loops
shuttle_controller (aka emergency shuttle/pods), supply_shuttle and other shuttles
voting
bots
radio
diseases
events
jobs
objects
ticker

Subsystems hooks and variables should be commented fairly in-depth. If anything isn't particularly clear, please make an issue.

Many system-specific global variables have been refactored into

All tickers which previously used world.timeofday now use world.time

some subsystems can iterate before round start. this resolves the issue with votes not working pregame
2014-12-31 13:25:41 +00:00
Menshin 34cee3f088 Renamed confusing variable 2014-12-31 13:51:39 +01:00
tkdrg 829ba09986 Merge pull request #6244 from Ergovisavi/halp_medics_griffon_me
Adds Medical Hologram functionality to Medical Penlight
2014-12-30 20:52:46 -03:00
Menshin 168b98840f Fixes flashes runtiming on emp_act()
Fixes flash messages spam (#6631)

Some code cleaning
2014-12-30 10:50:43 +01:00
Ergovisavi f3251c7224 Adds a Medical Hologram functionality to the medical penlight 2014-12-29 21:44:44 -08:00
GunHog 4f3d955ca1 Fixes #6654
Sets the AI's encryption key to slot 2 so it is not lost upon the AI
being traitorized.
Fixes #6654 by reverting the change in #6399 to the AI's key.
2014-12-29 19:55:01 -06:00
Razharas 76a21883a8 Merge branch 'master' of https://github.com/tgstation/-tg-station into GenShit
Conflicts:
	code/game/mecha/mecha.dm
	code/game/objects/structures/tables_racks.dm
	code/modules/mob/living/silicon/silicon.dm
	code/modules/projectiles/gun.dm

Fixes dem conflicts
2014-12-28 11:20:15 +03:00
Razharas 208b59c30e Fixed stuff tkdrg pointed out
Added comment to dualsaber and hulk checks to explain whats going on
Added defines that converts to mutation names
Fixed grammer again
2014-12-28 10:49:04 +03:00
tkdrg 0b4261e016 Merge pull request #6355 from AnturK/librarian_pda
Adds Librarian PDA cartridge
2014-12-27 01:44:49 -03:00
Remie Richards 1f288f56ae Merge pull request #6290 from Xhuis/porta_console
Handheld crew monitor
2014-12-27 01:43:42 +00:00
Cheridan 12ad2b796d Merge pull request #6541 from phil235/GrenadeAssemblyConstructionFailMsgFix
Assembly holder no longer needs to be secured.
2014-12-25 16:16:00 -06:00
phil235 8ab92e753a Assembly holder is no longer secured or unsecured. Screwdrive now disassemble it and attack_self to interact with its parts.
Adding feedback message when trying to attach two assemblies that aren't both in attach mode.
Fix hacky code to prime grenade by pulsing its assembly.
Removing some commented code and some duplicated proc instances.
Fixing a typo.
2014-12-24 01:50:19 +01:00
Razharas 1b45752b05 Fixed conflicts
Ye again and again and again and again
Do it again, do it again~
2014-12-23 05:39:39 +03:00
Razharas 92fc9b5d1b And some more little fixes
Return of the prob to foam smashing
Correct laserpointer check
Correct wield behaviour with hulk
2014-12-23 05:22:20 +03:00
paprka 2371e2ebd8 renames chef to cook 2014-12-22 17:02:06 -08:00
hornygranny 108a8cc155 Merge pull request #6473 from Delimusca/grenadeinhands
Fixes grenades looking like flashes.
2014-12-22 11:10:05 -08:00
MrPerson c002d11ee7 Merge pull request #6476 from Cheridan/nightcrawler
Refactors snowflake AI hosting in ninja
2014-12-21 17:02:48 -08:00
Remie Richards 5a48f313cb Merge pull request #6399 from paprka/radioshit
Removes useless standard encryption keys from headsets
2014-12-21 05:08:10 +00:00
Razharas 9a27fe7c8d Conflict fix
Yeah makes it all work
2014-12-21 06:12:33 +03:00
Delimusca 80a4bc285d Adds empgrenade inhand, removes missed comment 2014-12-19 18:11:27 -07:00
Cheridan 25cc2999b0 Refactors snowflake AI hosting in ninja
why did i volunteer for this

It just has an integrated intellicard now. The gloves do the transferring.
Also Intellicards are all called Intellicards now and not Intelicards.

the ai_transfer proc is less awful but it's still
awful
awful awful awful
2014-12-18 21:03:09 -06:00
Delimusca 332cc37b13 Added grenade inhands. 2014-12-18 17:58:43 -07:00
Delimusca 4bdf83c59f Revert "adds grenade inhands."
This reverts commit d1295616c8.
2014-12-18 17:27:01 -07:00
Delimusca d1295616c8 adds grenade inhands. 2014-12-18 16:57:47 -07:00
AnturK e573f02acc Check trimming 2014-12-17 14:36:49 +01:00
phil235 d5a7d82959 Fixes a lot of "the the" in messages. 2014-12-16 22:59:55 +01:00
paprka 9b050ff010 removes meta protection from binary translator key 2014-12-16 00:37:54 -08:00
Razharas f0c8f2eeac Merge branch 'master' of https://github.com/tgstation/-tg-station into GenShit
Conflicts:
	code/modules/reagents/Chemistry-Reagents.dm

conflicts resolution
2014-12-16 02:52:08 +03:00
paprka feeb650701 Removes useless standard encryption keys from headsets 2014-12-15 14:59:19 -08:00
Cheridan f9eacb4498 Merge pull request #5854 from A4Brogan/Ghetto_Banana_Lamp
Ghetto Banana Lamp
2014-12-14 23:51:18 -06:00
AnturK a1f3a51dab Adds Librarian PDA cartridge 2014-12-14 13:59:35 +01:00
Razharas 0b26a71a71 Merge pull request #6333 from tkdrg/singulobj
The singularity/narsie are no longer machines
2014-12-14 10:02:39 +03:00
Razharas 21a2c2d21e Made clumsiness into disability
I really dont want to make clumsy_act()
2014-12-14 08:04:48 +03:00