Commit Graph

316 Commits

Author SHA1 Message Date
tkdrg
a9160e52dc Merge pull request #7105 from Carn/#6993
Resolves #6993 - Moved pai controller into a subsystem.
2015-01-19 20:17:14 -03:00
carnie
a44795a699 Resolves #6993 - Moved pai controller into a subsystem. 2015-01-15 23:50:46 +00:00
phil235
3617640a64 Merge pull request #6595 from tkdrg/guncargo
Fixes cargo investigate log spam
2015-01-15 13:06:36 +01:00
tkdrg
a1bf470e10 Fixes a list check and a period in cargo logging 2015-01-14 22:54:50 -03:00
tkdrg
674b3b65c0 Merge pull request #6968 from phil235/LockdownMalfFix
Fixes malf AI lockdown affecting doors on away missions
2015-01-14 14:58:10 -03:00
tkdrg
e7172f458d Merge pull request #6998 from optimumtact/patch-3
Reorder error check for manifest length
2015-01-14 03:25:24 -03:00
Swag McYolosteinen
430b613ef4 Merge pull request #6984 from tkdrg/sanitaiz
Replaces a bunch of input() with stripped_input()
2015-01-13 19:32:25 +01:00
tkdrg
6c0ff7457a Merge pull request #6978 from Carn/#6947
Resolves #6947 - fakerecalls now work
2015-01-12 22:49:39 -03:00
Orange Borg
825c8d45a5 Reorder error check for manifest length
Manifests were reporting an incorret size when there were no errors in the manifest.
2015-01-13 10:37:49 +13:00
tkdrg
79582b9cb1 Merge pull request #6957 from Carn/fix_supplyconsole
Fixes supplycomp
2015-01-12 02:43:54 -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
carnie
a9bd2739c8 Resolves #6947 - misuse of rand() meant that the multiplier for fake recalls was sometimes getting set to 0, meaning shuttle was never recalled. 2015-01-11 20:55:00 +00:00
phil235
a55e6a70be Fixes malf AI lockdown affecting doors on z levels other than station and mining.
Replaces a lot of z level numbers in code by their respective defines.
Adding a define for the Mining asteroid z level.
2015-01-11 15:39:32 +01:00
tkdrg
7920a7596e Merge pull request #6933 from Carn/#6923
Resolves #6923 - on Centcom objective completion errors.
2015-01-11 01:12:53 -03:00
carnie
07b9fca00d Resolves missing ui buttons from supply console which got lost due to an erroneous check
Thanks tkdrg x
2015-01-11 02:07:18 +00:00
carnie
e7b105488d Resolves #6923 - Mistake made during merging meant that some gamemode objectives were using hardcoded area-type-lists for checking objective completion. (This is why allow/disallow lists are dumb) 2015-01-10 03:57:02 +00:00
carnie
523d127713 Resolves #6915 - Readds emergency shuttle announcements for docking and escaping which got lost 2015-01-10 03:04:11 +00:00
carnie
c6e90c2ded Resolves #6862 - "shuttle_away" docking port was too small to fit the supply shuttle into, so it could never return to centcom.
Resolves #6835 - Same issue as part of #6862. Was adding new requests to the wrong list, so when reviewing the most recent request, the computer would not find it in the pending requests list and spit out the invalid instruction message.
2015-01-07 18:28:55 +00:00
tkdrg
713fa782f2 Merge remote-tracking branch 'upstream/master' into guncargo
Conflicts:
	code/controllers/supply_shuttle.dm
2015-01-06 21:36:52 -03:00
carnie
380e176adc Resolves #6832
Resolves #6838
Sorry, this was a really big dumb on my part. Accidentally changed an 'in world' to 'in machines'
2015-01-06 17:30:48 +00:00
tkdrg
09c91e8f1e Merge remote-tracking branch 'upstream/master' into IllustriousImpeccableArcticwolf
Conflicts:
	code/controllers/subsystem/ticker.dm
2015-01-06 04:35:46 -03:00
carnie
a730649167 Fixes breathing (indentation error)
Fixes atmos machinery (old global list snuck back into code)
2015-01-05 19:44:17 +00:00
carnie
e285bd0b3c Map Update 2015-01-04 01:45:02 +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
Ergovisavi
ff68a2d55b Merge pull request #6490 from tkdrg/nomoreadmingrudges
Adds cfg option to let players see their own notes
2014-12-27 19:25:43 -08:00
tkdrg
45904bb8a2 Merge pull request #6425 from JJRcop/OOCemoji
Adds emoji to OOC chat [Now with in-house sprites!]
2014-12-27 03:01:36 -03:00
tkdrg
51d926cd60 Fixes cargo investigate log spam
Only non-anchored AMs will be displayed now. Empty crates will also get
a (empty) message instead of the weird ":.".
2014-12-26 16:56:10 -03:00
tkdrg
9d7567f46d Adds cfg option to let players see their own notes
This lets players see the admin notes that have been added to their
ckey, by using a verb in the OOC tab.
This is a config option and is off by default.
2014-12-19 22:42:18 -03:00
tkdrg
524291f97c Adds a voting link to the "Vote available" message 2014-12-19 20:57:02 -03:00
JJRcop
fa18eaa164 Renames game_options.txt OOC_EMOJIS to EMOJIS
Moves config check into emoji_parse proc, so the config affects all emoji use
2014-12-17 12:48:41 -05:00
JJRcop
8f2fab79d3 Adds emoji to OOC chat. 2014-12-17 00:10:51 -05:00
Wild Bill
66d36f74d2 Reserve PascalCase inits 2014-12-16 12:29:04 +02:00
Hornygranny
af3f1aa4d8 Merge remote-tracking branch 'remotes/upstream/master' into emagrefactor
Conflicts:
	code/game/machinery/deployable.dm
	code/game/objects/items/weapons/storage/lockbox.dm
	code/game/objects/structures/crates_lockers/closets/secure/secure_closets.dm
	code/modules/clothing/glasses/hud.dm
	code/modules/mob/living/silicon/robot/robot.dm
2014-12-09 16:03:45 -08:00
Swag McYolosteinen
bff2e62a0f Merge pull request #6175 from Razharas/ExActFix
Fixes ex_act() destroying too much shit
2014-12-08 08:03:35 +01:00
Razharas
7758a0afed Ok now explosions shall work properly
Changed severity to target, make items not destroy themselves on
severity lower than 1, all that stuff
2014-12-05 23:21:48 +03:00
tkdrg
6194c0b90f Fixes the new AI lawcap config option
Previously, it would include null entries in some of the lists, which
meant that the total law amount would be grossly exaggerated.

Fixes #5846
2014-12-02 18:27:06 -03:00
Intigracy
8a1baad03b forgot the var / proc 2014-11-27 14:50:21 -08:00
Intigracy
31835f1987 Removes the unused explosion_recursive.dm and everything related to it, including the configuration option. 2014-11-27 14:28:20 -08:00
Razharas
c5209f2399 Merge branch 'master' of https://github.com/tgstation/-tg-station into Cfour 2014-11-27 15:30:37 +03:00
Razharas
b41303714d Fixes light going through walls
Fixes #2788
2014-11-21 17:16:54 +03:00
Hornygranny
678a13c451 moves emag effects from attackby() into atom proc emag_act() 2014-11-20 17:49:06 -08:00
Razharas
ff456ebaf4 Unwinded most of shit
Meh
2014-11-19 21:36:45 +03:00
Razharas
b7d08c591e Merge branch 'master' of https://github.com/tgstation/-tg-station into Cfour 2014-11-18 16:23:04 +03:00
Razharas
b071a0167e Made explosions work in a slightly different way
Yep
2014-11-18 16:22:41 +03:00
Menshin
56cf16b3ab * Fixed supply comp/order comp href exploit (being able to order any supply pack, even if not hacked/contraband enabled).
* HTML tags are now properly stripped from inputted text
* Syndicates crates are now orderable.
2014-11-14 13:14:22 +01:00
Cheridan
24456bcc22 Merge branch 'PipenetRevamp' of https://github.com/Aranclanos/-tg-station into Aranclanos-PipenetRevamp
Conflicts:
	_maps/map_files/tgstation.2.1.3.dmm
	code/ATMOSPHERICS/atmospherics.dm
	code/ATMOSPHERICS/components/portables_connector.dm
2014-11-13 18:55:53 -06:00
hornygranny
1cbfe107b5 Merge pull request #5751 from Miauw62/blugh
Fixes border window phasing.
2014-11-10 08:15:46 -08:00
hornygranny
62003a8ab8 Merge pull request #5700 from RemieRichards/SiliconLawCap
Adds a config option to cap silicon laws. [NEW CONFIG OPTION]
2014-11-08 15:22:09 -08:00
Miauw
c275a9394d Fixes being able to phase through windows using grabs. Fixed #3957
Fixes the supply shuttle safety applying when it is at centcomm. Fixed #3808
2014-11-08 13:21:55 +01:00
Remie Richards
177225598b Adds a config option for capping the amount of laws silicons can receive via boards, defaults to 12 2014-11-05 22:25:46 +00:00