Commit Graph

88 Commits

Author SHA1 Message Date
Cheridan d5ec11b91c Merge pull request #8080 from Incoming5643/Appearance_fix
Tweaks and fixes for the appearance window
2015-03-06 12:20:24 -06:00
Razharas a07f6e6bfa Merge pull request #8103 from Ikarrus/antag_babbies
Age Restrictions for Antagonists
2015-03-03 09:02:52 +03:00
Ikarrus e85e010bd4 Cleanup: Removed an unnecessary comma 2015-03-02 22:37:27 -07:00
Ikarrus de362eabc9 Fixing type in index comments 2015-03-02 17:43:45 -07:00
Mandurrrh cde9de9e85 merge commits 2015-03-02 12:40:16 -05:00
Mandurrrh da6d3fc2cd Creates a separate toggle for ghosts to see pda messages! 2015-03-02 10:57:25 -05:00
Ikarrus f95ca85ed6 Age Restrictions for Antagonists
Default minimum age is 7 days.
Team Antag modes and wizard is 14 days.
Malf minimum is 30 days (Same as AI minimum age).
2015-03-01 20:40:04 -07:00
Incoming 8d831760ee Tweaks and fixes for the apperence window:
Fixes an unreported bug where all the lizardpeople were horrifying on the character preview because it wasn't rendering their tains and noses. Incidentally the proc for character previews is horrifying.

Only relevent appearence settings will appear on the appearence screen for each race.

Moves the skin tones selector to the relevent appearence settings area for humans.
2015-02-28 21:37:02 -05:00
Incoming 081df302f5 Makes the "are too many people dead for this to be fun?" check more indicative of people who are actually playing
Adds a new toggle: Midround_antagonist that allows players to opt out of gaining antagonist through this system if they'd prefer. It defaults to on but is newbie safe because without any antagonist flags (which default to off), it won't place players into antagonist slots.
2015-02-24 18:17:07 -05: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
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
tkdrg 3752254766 Revert "Adds mouse pointers for different ui styles" 2014-12-31 02:17:50 -03:00
paprka 2e8907ed4c adds a preference for custom pointers 2014-12-28 18:13:48 -08:00
TZK13 674aa40115 More adjustments to the width and height of the preferences screen. 2014-12-23 07:08:58 -06:00
TZK13 8654c06b90 Increases height of preferences screen. 2014-12-22 21:02:20 -06:00
TZK13 127aabbfa9 Adds socks as an underwear option. 2014-12-22 19:27:46 -06:00
tkdrg 4da919ce75 Fixes assistant jobban bug
Assistant-banned people who had assistant set to 'Yes' were unable to
pick their job preferences.
2014-11-27 16:51:15 -03:00
hornygranny d79ccb4883 Merge pull request #5608 from tkdrg/whynamesandnotbodies
Creates the "Always use random body" option
2014-11-03 17:16:08 -08:00
Cheridan 2fefe79c1f Merge pull request #5599 from phil235/CharScreenWindowFix
Fix the character setup window's size
2014-11-03 10:39:32 -06:00
tkdrg 8a93247ef8 Creates the "Always use random body" config option 2014-11-01 16:48:42 -03:00
phil235 e00feb8f1f Fix the character setup window's size 2014-11-01 16:18:23 +01:00
tkdrg 562e0449fa Assistant jobbans now keep people from using Assistant as a fallback job. 2014-10-27 15:49:23 -03:00
paprka 18108257ae Merge branch 'undershirts' of https://github.com/paprka/-tg-station into undershirtstake2
Conflicts:
	code/__HELPERS/mobs.dm
	code/modules/mob/living/carbon/human/species.dm
	code/modules/mob/new_player/preferences_setup.dm
	code/modules/mob/new_player/sprite_accessories.dm
2014-10-08 09:48:49 -07:00
ikarrus 7c32420497 Resolved conflicts and added my yml changelog file 2014-09-19 09:30:59 -06:00
Cheridan 2fb2e902dc Merge pull request #4726 from Miauw62/sensualwhispers
Adds a separate preference for whispers.
2014-09-16 12:42:13 -05:00
ikarrus 399d2844e5 ENFORCE_HUMAN_AUTHORITY now only applies to Command positions
- Non-humans can join as security again while ENFORCE_HUMAN_AUTHORITY is on
2014-09-07 22:33:56 -06:00
Miauw 65c963c109 Adds a separate preference for whispers. Fixed #4658 Fixed #4712 2014-09-07 14:29:58 +02:00
ikarrus bae6578055 Config Option to Bar Lizards from Authority Roles
aka formalizing Human Supremacy

- Adds a config option ENFORCE_HUMAN_AUTHORITY which prevents lizard players from joining Command and Security roles

[Lizard subjugation intensifies]
2014-09-05 22:44:05 -06:00
ikarrus 51a333ebe7 Merge gang mode into latest version 2014-08-30 23:31:44 -06:00
ikarrus 4c801434a8 Gang Mode 2014-08-30 23:17:14 -06:00
Alex be25e5b9e4 Merge pull request #4511 from Limeliz/char-setup
Scroll through hair styles and facial hair
2014-08-24 12:59:40 +01:00
Firecage dac8669166 Span classes for files in the following module folders: assembly, client, detectivework, events, hydroponics, mining, paperwork 2014-08-23 10:13:21 +02:00
Limeliz 98331d4399 Scroll through hair styles and facial hair
Adds < and > buttons to character setup screen to easily scroll to next
or previous hair style and facial hair, intead of opening the popup with
a long unsorted list.

Also adds two procs for returning the value of the previous or next
index in a list.
2014-08-21 02:32:09 +02:00
paprka 5210419a87 undershirts 2014-08-11 22:41:07 -07:00
Aranclanos 12242cad7d Removes the unused and useless warn button on the player panel. 2014-08-06 03:43:28 -03:00
Cheridan 3612a9a8a0 MONKEY MODE: "IT ACTUALLY WORKS" EDITION
Probability support for monkey mode.
Player config support for monkey mode.
Check Antags support for monkey mode.
2014-07-08 22:55:47 -05:00
CollenN 5e70ab0f98 Fixes accidental parenthesis
I accidentally put that one in after I'd already compiled, and didn't
catch it until after I published.
2014-06-22 20:20:49 -04:00
CollenN 6571767caa Fixes black lizardmen
Everyone whose mutant color is set to black is now instead white.

Also, now black mutantcolors are automatically set to the default color
of your species if you select them.
2014-06-22 20:19:02 -04:00
CollenN 2aab5fa71c Finalizes Mutantrace Datum Update
https://github.com/tgstation/-tg-station/pull/3609

Squashes the commits from the above pull request. Should hopefully be a
lot less cluttered.
2014-06-19 17:42:14 -04:00
Giacomand 22e0a2af67 Moved the card computer's time_last_changed_position variable to a global variable, meaning you cannot dismantle and reassemble it to bypass the cooldown.
Made the character setup screen window size bigger to fit in the mutant race option.
Capitalized the default human option.
2014-04-20 21:12:42 +01:00
Razharas 8f6897964c Merge pull request #3418 from VistaPOWA/pr_announce
[CONFIG][BACKEND] Adds PR announcing to the game.
2014-04-18 19:05:44 -07:00
VistaPOWA 10889bd303 huge update
Makes the announcer better in every aspect (less bugs, less fun, more
merging announcement capability)! Also makes it require *just* .Net 4.0
instead of 4.5.
Adds the option for players to disable the PR announcements.
2014-04-14 21:07:00 +02:00
Aranclanos 2da47fbb79 Adds mutant races to the character preferences. It can only choose between lizard and human right now.
Adds a new server configuration to toggle on and off the mutant races preferences. If it's off, everyone will be human.
2014-04-11 21:10:27 -03:00
Rockdtben a034e41f25 Removing TLE comment stamps and useless comments 2014-03-13 08:25:28 -05:00
Aranclanos 64df810700 adds a small check to see if the job controller started up before using buttons related to it and generate runtimes.
Usually these kind of new things are happening due to the amount of time that away missions take to load.
2014-02-14 02:37:31 -03:00
fleure a854a41994 Merge pull request #2540 from Incoming5643/blobjob
BE_BLOB and easy adminblobing
2014-02-03 10:34:31 -08:00
Giacomand 7a76e9456b Ported the MiniStation branch.
MiniStation is now a single folder which isn't included by default. When you tick the code file for the ministation map, like with tgstation and metastation, it will then include the necessary code files itself. These code files modify certain datums, like jobs, supply packs and uplink datums.

The modified files outside the MiniStation folder are modifications made by the MiniStation branch which aren't changes exclusive to MiniStation.

Such as changing the unused circulator, which only MiniStation used, so that it was fixed and would correctly match the direction of the thermal generator.
The TEG was also changed to have a better interface and to include the above fix.
The department security was changed so it wouldn't runtime if it didn't find a checkpoint.
The preferences' SetChoices was changed so that the screen would automatically grow for every column in the job list.

The main difference between this version and the forked version is that the Unemployed and the Lieutenant was reverted back to their original names; since it would've been a massive pain to add support for that.
2014-01-29 22:36:10 +00:00
Incoming 5c5cc6a72d Repurposes the outdated BE_MONKEY into BE_BLOB and seperates the alien and blob pools so people can prefer to be one or the other or both or neither. An annoucement should be made when this goes live so people are aware they have a new flag to set.
Adds a dedicated button on the player panel so admins can easily turn specific players into blobs.
2014-01-29 10:54:00 -05:00
supersayu 711654c15e Moved #defines
Moves the constants from defines and compile_options files into the __DEFINES directory.  The compile options in the latter file that are actually tweakable remain in their existing file in the code directory.
Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory.
stylesheet.dm has been moved into the interface directory since that's a better place for it.

This move contains no code changes for stock TG.  It is purely an organizational move meant to clean up hard to read code.
Some global constants that appear to be unused have been put into unused.dm, but not unticked.  This list is by no means exhaustive.

Branches should be aware that they need to move any additional defines and global constants manually.
2013-10-23 16:11:45 -04:00
Giacomand aee50633e7 * The Allow AI config option will now correctly stop players from choosing AI as a job.
* The job select screen will now fill in the rest of the last column, so it doesn't look uneven.
2013-10-13 22:42:25 +01:00