Commit Graph

2293 Commits

Author SHA1 Message Date
Razharas fddb333a7a General fixes of bugs caused by mutations
Fixes visibility in crit
Fixed xray and nightvision not working
Fixed dna changing diseases
Fixed hulks doing damage on all intents
Fixed transform procs sometimes breaking dna forever
2015-01-06 15:38:40 +03:00
paprka f0712db606 Merge branch 'master' of https://github.com/tgstation/-tg-station into gunchangesv2baby
Conflicts:
	code/modules/projectiles/guns/energy/stun.dm
2015-01-05 18:43:46 -08:00
paprka 84a943d87c adds supply job list 2015-01-03 19:49:26 -08: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
paprka c3132422fb one more name revert 2015-01-03 17:24:01 -08:00
paprka 460a06e683 Reverted some other magazine name changes 2015-01-03 17:23:31 -08:00
paprka 7324891c37 intense p90 fans on /tg/ apparently 2015-01-03 17:21:23 -08:00
paprka 8527f23d85 Merge branch 'master' of https://github.com/tgstation/-tg-station into gunchangesv2baby 2015-01-03 17:05:27 -08:00
Incoming 69aea446a3 Fixes conflicts
Adds handling for canister teleportation shinanagans
Refactors nozzles slightly so they act properly if someone manages to swipe the tank without it ever touching the floor
2015-01-03 17:15:08 -05:00
tkdrg fb8346ba8d Fixes crash bug in the byond beta
Don't use unicode in byond jesus christ, this crashes DS on 507.1274
2015-01-03 15:53:14 -03:00
fleure 3c70c50930 Adds briefcase with cash to uplink 2015-01-03 15:08:57 +00:00
xxalpha 3593f4701f Removed unnecessary procs. 2015-01-03 15:08:50 +00:00
paprka 46ee047404 further changes to the ranged stun system 2015-01-01 22:22:03 -08:00
tkdrg 84e3eaaf16 Merge pull request #6676 from Jordie0608/beeverycarefulwiththese
Adds bee and butterfly disease to virus pack
2015-01-02 02:33:23 -03:00
iamgoofball 221385f884 Merge branch 'master' of https://github.com/tgstation/-tg-station into byond
Conflicts:
	code/modules/reagents/Chemistry-Reagents.dm
2015-01-01 11:51:43 -08:00
xxalpha 68223b5d8e Merge remote-tracking branch 'upstream/master' into mineralcontainer 2014-12-31 21:35:13 +00: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
xxalpha 1844e5faa0 Merge remote-tracking branch 'upstream/master' into mineralcontainer 2014-12-30 20:48:15 +00:00
Jordie0608 fd71b7cbb2 Adds bee and butterfly disease to virus pack 2014-12-30 14:44:30 +11:00
Razharas 37a7fa2414 Fixes that one runtime with tourettes
Animation proc is magic, dont ask dont tell
2014-12-29 16:56:02 +03:00
Razharas 418e3a0613 General cleanup
Fixed the magic text failing in monkey injectors
Removed lots of comments
Didnt fix mysterious list bounds runtime in tourettes
2014-12-29 11:36:01 +03:00
Incoming 27868c8e12 Adds edge case handling for stuff in silicons (the whole silicon gets teleported) and brains (the brainmob gets properly made). Note that MMIs fall under the silicon rule and not the brain rule.
The wizard will get a message when they try to summon a destroyed item, this removes the processing that was doing this previously
2014-12-28 13:58:05 -05: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
Incoming c901ee8283 Makes the check for items/mobs holding recalled items more robust and patches up a few edge cases for specific fun instances where a mob has an item but it isn't "equipped" in the traditional sense. Also adds a breakout counter for infinite loops if an item somehow contains itself. Wizards man.
Moves a message that could otherwise report the wrong item missing.

Fixes some grammer.
2014-12-27 15:03:29 -05:00
tkdrg cc474b2af6 Merge pull request #6591 from phil235/FingerlessSpriteFix
Fix fingerless gloves icon and washing machine changing boxing gloves
2014-12-27 15:46:43 -03:00
paprka 87d0cbdb2b Merge branch 'master' of https://github.com/tgstation/-tg-station into fixescargo
Conflicts:
	code/modules/clothing/head/helmet.dm
2014-12-26 22:31:54 -08:00
Incoming fdfdde8bce Merge branch 'master' of https://github.com/tgstation/-tg-station into InstantSummons
Conflicts:
	code/game/gamemodes/wizard/spellbook.dm
2014-12-26 19:37:51 -05:00
Incoming 770bbdb10a Adds the spell instant summons!
Mark an item for recall by using the spell with the desired item in your hands!
Use the spell later to get it back at will
If the item is stuck in another item, you'll get what it's stuck in as well
Robeless, can't be upgraded
Availible in summon magic in spellbook form
2014-12-26 18:10:59 -05:00
phil235 b6e35278e3 Fixes cutting black gloves to make fingerless gloves not changing the icon to fingerless.
Fixes the washing machine being able to change boxing gloves, ninja gloves and botany gloves to look like simple colored gloves. Creating a /gloves/color category for all gloves whose color can be changed.
Fixing some absolute pathing.
2014-12-26 17:04:09 +01:00
paprka c75c6e493a removes broken tactical helmets crate 2014-12-25 18:10:10 -08:00
Menshin cf41dab26f Conflict fixing 2014-12-25 22:34:40 +01:00
paprka 595ad8df58 fixed compile errors 2014-12-24 21:03:22 -08:00
Swag McYolosteinen 495604228c Merge pull request #6455 from paprka/bayports
Ports manifest / better ready button(s)
2014-12-24 11:54:40 +01:00
paprka 73f5d8db9c fixes bugs 2014-12-23 12:07:32 -08:00
Razharas 57b41dce0d Fixed some shiet
Redone how injectors handle mutations(now it doesnt copy the SE but
manipulates mutations directly)
Removed sole leftovers
Fixed humanizing
Fixed grammer
2014-12-21 08:19:23 +03:00
Razharas 9a27fe7c8d Conflict fix
Yeah makes it all work
2014-12-21 06:12:33 +03:00
Cheridan c9c14feec6 Merge pull request #6411 from wild-billy/master
Reserve PascalCase inits
2014-12-18 02:30:08 -06:00
paprka adc09ffe41 initial commit for bay ports 2014-12-17 23:42:09 -08:00
hornygranny 7ea29f961e Merge pull request #6404 from tkdrg/moarfuntiems
Fixes 2 runtimes
2014-12-17 11:03:41 -08:00
Wild Bill 66d36f74d2 Reserve PascalCase inits 2014-12-16 12:29:04 +02:00
tkdrg 3e90c2863e Fixes 2 runtimes
Fixes antag hud runtime due to checking the mind before transferring it.
Fixes floorbot runtime due to typecasting with no sanity checks.
2014-12-15 22:30:23 -03:00
hornygranny c5ba564993 Merge pull request #6374 from phil235/SneezingSpreadFix
Fixing sneezing symptom not spreading its virus airborne.
2014-12-15 16:27:27 -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
Razharas 570783d2c7 Added comments for RR for future 2014-12-16 02:35:54 +03:00
Cheridan b143e41b88 Merge pull request #6265 from Miauw62/HOHOHO
SANTA IS COMING TO STATION
2014-12-14 23:58:28 -06:00
phil235 ba452b9f2b Removing the hardcoded spread_range value when there's a force_spread. 2014-12-14 23:14:26 +01:00
phil235 c2ddfc0155 Fixing sneezing symptom not spreading its virus airborne. 2014-12-14 22:24:10 +01:00
Cheridan b67043f267 Merge pull request #6329 from phil235/HungerChange
Hunger change
2014-12-14 12:55:21 -06:00
phil235 8e51963a16 Moving satiety protection against catching virus from CanContractDisease() to carbon/ContractDisease() so virus injection with syringe or pill isn't affected by the satiety resistance. 2014-12-14 15:49:51 +01:00