Commit Graph

3433 Commits

Author SHA1 Message Date
elly1989@rocketmail.com
7d7fb4abaf Fix for r4350
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4352 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 18:04:38 +00:00
sieve32@gmail.com
f8ddd70798 -Adds CanPass() checks as needed to mulebots, now you can no longer use MULEs to bypass windows or flaps, and CanPass() checks are run for flaps when something is loaded, meaning you can't get on the MULE if it is under flaps
Fixes Issue 399

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4351 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 17:37:04 +00:00
giacomand@gmail.com
02cd103eb8 -Reverted Alien life.dm changes. Changed healing on plasma to -5 for each damage type. Added -5 OxyLoss for when on plasma weeds.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4350 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 17:34:10 +00:00
quartz235@gmail.com
63268d45de reverting r4348 since we're in a feature freeze and apparently changing a numeric limit on something that in no way impacts the code or anything outside of personal fluff is a "feature"?
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4349 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 16:40:23 +00:00
quartz235@gmail.com
257e0772bc Increases the age limit to 80 in case someone wants to play a geriatric spaceman who is tired of young men on his lawn.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4348 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 15:08:01 +00:00
elly1989@rocketmail.com
05460b5c1e Whoops forgot to click save or something.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4347 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 13:38:33 +00:00
elly1989@rocketmail.com
df75514318 Preparations for minds - Part3.
Replaced mob/var/original_name with datum/mind/var/name.

Halved the speak-chances of every simple-animal because that constant squeaking was insufferable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4346 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 12:40:17 +00:00
elly1989@rocketmail.com
6b56ef27ac Fix for admin-ghosting. Admins couldn't re-enter body after using set-observe.
Cause: I forgot to set the ghost's can_reenter_corpse to 1 after I changed something.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4344 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 01:36:19 +00:00
elly1989@rocketmail.com
81bff7c5f5 Important!
Minds part2 - Carn loses her mind.

The way datum/mind stuff works has been changed a lot. I really can't explain everything. If you have any questions it'd just be easier if you leave a comment or ask me in coderbus.
Generally, minds now represent IC characters rather than following a client around constantly. Minds can change owners, mobs, (names WIP).

Technical babble:
The var/current and var/original variables of the mind datum must always be of type mob/living (or null). Please do not mind.transfer_to(ghost_mob). If you want to ghost somebody use ghostize()! It will do all the technical stuff for you.

mob/dead/observer/var/corpse was removed. mob/dead/observer/var/mind is now used as a reference to the last mind the player had (so respawning code has something to reference), but also because mind.current is a far more useful way of tracking a corpse. If somebody triggers a mind.transfer_to() call on your corpse, your mind will be tranfered to another mob/living or something...that will then be considered your corpse. This could allow for more interesting mind_transfers. For instance, the "raise corpse" rune ghostizes any player in the corpse to be raised and selectes a random dead player to take possesion of their character! The person possesing them will have all of their memories, objectives, etc. The poor guy who was originally the owner cannot re-enter body if there is another player in his body...but if that player is ghosted he can once again return. Exorcisms anybody?

Changes to cloning and hydroponics. I will likely have to rework these later as they're hacky as hell right now.

A lot of stuff is now handled by Login/Logout rather than in hundreds of different places. One such example, mind datums get their variables updated at Login and Logout.

Fixed a few minor bugs. I'll update the issues manually in a bit because I literally cannot think atm.

TL;DR guide:
-If you want to make somebody a ghost use ghostize(). Or you will need to find a doctor to stitch your bits back on. :)
-You don't have to worry about making minds. Simply doing key="carnwennan" or whatever will either: A) make a new mind and initialise it if there isn't one or B) take possession of the mind currently attached to the mob.
-It's safe to transfer a mind even if a key isn't in-body (e.g. they are ghosted/admin-observing etc!) Minds have an active variable which tracks whether they are currently synced with a key. This is to avoid dragging ghosts back into their bodies when say, a wizard mind_transfers them.
-Transferring a mind whilst var/active=1 will cause the following: mob.key = mind.key. So no need to do that separately (in fact you'll lag things if you do, so don't)
-If you do want to initialize a mind manually, say if you don't have a client to login to the mob yet, simply do new_mob.mind_initialize(). Simple! When someody is logged into that mob they will take ownership of the mind and it will sync up.

NOTE: a lot is probably broken since this is a pretty massive change. Please let me know asap (with actual info! Shouting at me, "IT BORKED HALP", doesn't help)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4342 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 20:51:55 +00:00
johnsonmt88@gmail.com
0225ed33b7 Cleanup of proc/helpers.dm
Split a bunch of procs in helpers.dm into new files:
-helper_list
-helper_text
-helper_type2type

These files are sorted into groups internally. Hopefully people will make it easier for people to find useful procs.

I've added comments to a good chunk of these procs as well explaining what they do.

I've removed a few unused or unnecessary procs and fixed up a couple that were not working as intended.

I've also moved a mob proc 'get_equipped_items()' into mob/inventory.

All of the non-helper.dm files (besides mob/inventory.dm) are the result of fixing duplicate procs. It seems that there used to be text searching procs where one was case sensitive and one was not, and at some point someone removed the case-sensitivity of the case sensitive procs. I've re-added the case-sensitivity and as a result, I've had to go through extra files and ensure that they were calling the proper proc.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4341 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 19:32:08 +00:00
giacomand@gmail.com
5dac189480 Fixed issue 758. it will stop overflowing now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4340 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 18:52:56 +00:00
rockdtben@gmail.com
40495a6adb As Rageroro suggested I made it so the proc checks for headsets first. This will reduce lag in the cases that the player has a headset. Which is often.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4339 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 16:28:53 +00:00
rockdtben@gmail.com
6efd2ea76a Reduced a little bit of lag in the /proc/get_mobs_in_radio_ranges(var/list/obj/item/device/radio/radios) proc
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4338 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 14:04:39 +00:00
sieve32@gmail.com
2c584804f1 -Fully implemented turrets firing at simple_animals (It was only 1/4 of the way done). Porta-turrets also have to set to neutralize non-human lifeforms in order to shoot at simple_animals.
Fixes Issue 736

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4336 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-07 18:07:07 +00:00
petethegoat@gmail.com
46db0d2c3e Fixes issue 641.
Fixes issue 339.
Does not fix issue 506, but I have spruced up the text a bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4335 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-07 17:20:22 +00:00
giacomand@gmail.com
a5ff8f581b -Fixed issue 741, Aliens now recover a small amount of oxygen loss when not in critical. Weeds will also help heal you.
-Fixed issue 742, the transfer will now use the absolute value.
-Fixed issue 743, someone forgot to change the label and the amount it takes. It was originally 200 but it was changed to 50.

Cleaned up alien/life.dm by removing unneeded code.
Made it so weeds don't heal you so god damn much.
Buffed eating people to heal you, now that nutriments are not handled.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4334 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-07 15:07:25 +00:00
Superxpdude@gmail.com
bb0da3e5b8 Replaced some more placeholder area sprites with proper area sprites. Specifically the Head of Security's office and the prison wing.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4331 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-06 19:31:27 +00:00
Superxpdude@gmail.com
2eee57b6ed Gave the Miscellaneous Research area proper sprites instead of placeholders.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4330 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-06 19:20:04 +00:00
ericgfwong@hotmail.com
a2ee0a24c3 Fixed Issue 504
-Door controls now check if the bolt wire is cut and if the door is powered

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4326 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-06 17:09:29 +00:00
giacomand@gmail.com
d897798d5c -Fixed an issue where the NTSL's broadcast function couldn't send it's signal due to the new telecommunication machines.
-Made the telecommunication server and NTSL broadcast more robust so that having a HUB is an option, if someone decides to create their own network.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4325 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-06 14:48:10 +00:00
ericgfwong@hotmail.com
853433e610 -Fixed exterior virology access button not working
-Increased brightness of light bulbs to 4 (up from 3). This is so I wouldn't have to spam a whole bunch of light bulbs in darker areas to get the same mood it had before the darkness update. And since I don't need them any more, I've removed a bunch of light bulbs I added in in an earlier commit.
-Added a maint door to the Janitor's closet
-Map changes to library and medbay. Thanks, Dingus!
-Updated changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4324 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-06 06:48:39 +00:00
giacomand@gmail.com
b35fb98116 -Fixed a bug where the AI could not repower itself if the APC's equipment was turned off.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4323 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-05 20:41:48 +00:00
elly1989@rocketmail.com
fb600f9bce Ok, part 1 of this huge mind datum fix. I need to run over the next part again because I've made a lot inconsistencies in it. This is sort of all the misc stuff that got tidied up whilst I was trying to get my head around how everything related to eachother.
This part focuses on:
-structuring the way silicon mobs initialise upon login (there was some hideous copypasta in Login() and New() which used spawn() to change the order of the calls so it was all jumbled up. I think I've got it sorted now.
-Borgs var/real_name was not initialising as "Cyborg". Meaning the name checks were kind of borked.
-Ghosts are now deleted at logout if they no longer have a key. This will stop unneeded ghosts being left lying around. It will not delete ghosts with keys assigned (so people can't respawn or anything). Removed all the del(ghost_ref) stuff I could find. Generally movign the key from a ghost should be the last thing you do as the ghost will be deleted by Logout. However I've put it in a spawn() to hopefully avoid coders accisentally using it in a way which causes runtimes.
-Fixed clone-plants spawning dud potato-people left, right and centre. They'll now dump seeds if it fails for whatever reason.
-Cultist and Rev status are removed at mob/living/silicon/Login() rather than having to be called on a special-case basis everywhere. This may not be necessary when this stuff is finished.
-Removed a bunch of :
-Commented mob/living/Login() with the rest of the antag-indicator code from cloning.dm and hydroponics.dm for any coders whom feel brave/suicidal to fix the related issues

Next on the agenda, replacing mob/var/original_name with datum/mind/var/name to fix the ticker runtimes
Then, fixing mind/proc/transfer_to(mob) once and for all. (There are issues with duplicate minds, role updates, inconsistent initialisation etc etc *yawn*

There's probably a few obscure bugs in there somewhere. Might want to hold off on the updates for a bit. Coderbus will likely spot them all by the end of the week.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4322 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-05 15:29:15 +00:00
elly1989@rocketmail.com
0f20e7e635 Sorry to sort-of break the codefreeze but the fact this isn't an option is kinda crappy and somewhat urgent. If it's a problem I will revert it. Sorry.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4321 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-05 13:44:17 +00:00
elly1989@rocketmail.com
fa26585dc5 Fixes an inconsistency with update_icons stuff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4320 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-05 09:22:10 +00:00
rockdtben@gmail.com
7bb8f31d18 -Reduce some lag in the gas_mixture/share() proc. The two variables only waste CPU cycles doing calculations that are never used.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4319 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-05 02:55:29 +00:00
ericgfwong@hotmail.com
5722add9f2 Transformation stings now works as players expect it to, and can transform living humans (and monkeys). Cost slightly raised, too, to adjust to this buff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4318 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 23:36:09 +00:00
mport2004@gmail.com
3847ac46bd At the start of each job selection level, heads will be checked before all other jobs.
What this means is that if you set something like RD and scientist both to Medium, when it comes around to the Level 2 or the Medium preference checks if RD is open you will be placed in the lottery for RD before scientist (or any other non-head job set to Medium).  Unlike the change made in r4296 this one still respects player preferences.  r4296 would ignore all non-head jobs for EVERY level until it found a head before it even began to run the standard selection code.  With this change the older FillHeadPosition is not quite as important and could likely be removed if wanted however it does still help in cases where you would end up with no heads yet someone had a head set above never.

tl;dr The idea of having a head job chosen over a normal job of the same level is good, however the way it was implemented was not due to how it ignored other preferences.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4317 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 18:20:20 +00:00
ericgfwong@hotmail.com
7fbf079a81 -Readded the changes to Space Station 13 areas.dm that was undone by r4315
-Added a req_access to the new shutter buttons in science

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4316 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 15:59:25 +00:00
baloh.matevz
e7efac9ca6 - Fixed r4301 so it actually does what it set out to do.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4315 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 14:51:46 +00:00
petethegoat@gmail.com
04e4380508 Fixes issue 557.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4314 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 14:49:38 +00:00
giacomand@gmail.com
e0ca2a6bc0 -Fixed issue 540, someone thought that the prison's intercom microphone not working was a bug, which was actually intentional.
-Fixed issue 643, the code will now check that the TKed item's loc is on turf, i.e: not in a locker or in someone's pockets.
-Fixed issue 282, the locker wouldn't pick up the chameleon's dummy because it was an effect and not an item. I added a hacky exception for the chameleon projector. I've also made the starting item something more useful so that people will use it more. Please report any issues you find with this, I'm sure nothing too bad will happen.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4313 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 14:35:12 +00:00
ericgfwong@hotmail.com
e5a2674e3a -Added Armor run to admin tomes
-Resolved Issue 720. Message should now properly tell you who got cult armor
-Resolved Issue 642. Bad indentation caused girders to disappear if you move away while building them.
-Commented out admin messages when monkeys used non-monkey SEs
-Atmos techs given Construction Area access
-Remapped the south end of Med-Sci
--Misc. Research Lab added to science
--Virology moved to be made more isolated
-Updated Changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4312 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 07:37:22 +00:00
sieve32@gmail.com
e743b55220 Carn told me a better way to go about the icons updates, so I did. Quick fix.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4311 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 01:06:55 +00:00
sieve32@gmail.com
d403ae7cb1 -Fixes an unreported bug, where the equipment on wizards/nukeops/headrevs/cultists wouldn't appear until you picked up an item (Fixed by calling the appropriate icon update)
-Fixed the issue with cookies not appearing mobs until they picked up something
-Now when you are in the process of suiciding, Life() will treat all breaths as failed and you will take more oxyloss than someone in crit that isn't suiciding (Instead of being in crit forever because you could still breathe just fine).
-Fixed a pretty dumb bug in human life, where you would be treated as dead at -100 health, but you didn't die until you hit -101. This mostly caused issues with oxyloss, because once you hit -100 you stopped breathing, but were still alive.
-You can no longer put borg items on monkies, and while I was at it I made directionals for their handcuffs
Fixes Issue 728
Fixes Issue 731
Fixes Issue 714
Fixes Issue 694

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4310 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-04 00:47:55 +00:00
giacomand@gmail.com
e0905a1909 -Fixed 592 - The recharger was checking if the gamemode was monkey. I just removed it, I doubt this will have an effect on anything.
-Fixed 661 - There was a typo which would show toxin damage twice instead of showing oxygen damage. I also made it clearer which damage was which with colour.
-Fixed 565 - I wish there was a proper way to fix this but it's better than having no door for 5 seconds. It'll now wait 2 ticks before performing the closing animation for the door.
-Fixed 722 - I think this is causing the problem, it's using name instead of real_name. I couldn't find any problems when testing this.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4309 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 21:21:28 +00:00
elly1989@rocketmail.com
a4bb788a23 Another Topic-spam related runtime.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4308 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 21:07:28 +00:00
sieve32@gmail.com
5f8c56bb7d Fixes Issue 721
-Small change that psuedo-randomizes cult and wizard incantations. For cultists, it's just a [pick("'","`")] in place of a "'" in their incantation, and wizard invocations have a 50% chance to replace the spaces with "`".


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4307 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 21:02:22 +00:00
elly1989@rocketmail.com
ac4afac1a4 Runtimefix. <3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4306 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 20:40:07 +00:00
ericgfwong@hotmail.com
14790ea07f Resolves Issue 404
-You can no longer skip the lattice requirement when building plating

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4305 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 18:49:54 +00:00
baloh.matevz
293b9fbd33 - *gasp* reduced *gasp* *gasp* the *gasp* frequency *gasp* of *gasp* *garp* *gasp* while *gasp* *gasp* in *gasp* critical *ga... oh screw this.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4304 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 18:14:52 +00:00
giacomand@gmail.com
bff8bbc48d -Fixed Issue 590, the pick up verb will now use Click() instead of bypassing all the checks. This will stop people being able to pick up items that are on the other side of a window.
-Fixed Issue 391, I've added the mule bot to the get_mobs_in_view() proc. But like most other atoms that has a mob inside it's contents, the mob will be unable to see emotes such as "X has punched Y".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4303 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 17:34:45 +00:00
ericgfwong@hotmail.com
c37cce0fb8 -The AI Upload area now all share the AI's SMES unit
-Cloneloss inflicted on fresh clones is now randomized between 0-25 instead of a constant 10

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4302 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 17:27:06 +00:00
baloh.matevz
aa93ab759c - In an attempt to lessen the effect of the dark patches in halls, as well as to remove the long-standing effect of random dim lights around the station, I removed the randomness of the luminosity of lights with tubes. Their luminosity used to be rand(6,9) to attempt a simulation of lights that are waring out. It is now a fixed 9. The effect on the station never worked right.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4301 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 15:40:32 +00:00
elly1989@rocketmail.com
6cf9ffb58a Fix for:
runtime error: list index out of bounds
proc name: post setup (/datum/game_mode/nuclear/post_setup)
  source file: nuclear.dm,141
  usr: null
  src: nuclear emergency (/datum/game_mode/nuclear)
  call stack:
nuclear emergency (/datum/game_mode/nuclear): post setup()
/datum/controller/gameticker (/datum/controller/gameticker): setup()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4300 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 14:09:42 +00:00
Kortgstation@gmail.com
21f899f6ba Changed the juggernaut to use Ausops new sprites (the thing that was gonna be the Behemoth that I'm never going to finish, the sprites were meant for the juggernaut anyway. Something even larger and more impressive will eventually fill the Behemoth role)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4299 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 07:38:10 +00:00
ericgfwong@hotmail.com
bd46d320d4 Changed the text cyborgs and AIs get on spawn to say :b instead of say :s
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4298 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 06:48:29 +00:00
mport2004@gmail.com
0d3be5d606 Reverting r4296. This is not a bug this is intentional you should really read the code and figure out exactly what it is doing before making changes, something I seem to be seeing quite a bit less of these days.
The FillHeadPosition proc makes sure there will almost always be at least one head by grabbing a list of everyone who has the job set to high, if no one has it set to high it will check the next job until it either gets at least one player or runs out of jobs.  If it has at least one player it picks a random player out of the list then terminates as we now have one head.  If we ran out of jobs we now check the jobs again using the medium setting.  If that does not work then we use low.
After this proc has been ran you likely have one head, if wanted it could easily force a head by checking the return however that was deemed unnecessary.  Next the code runs nearly the exact same code but for AI checking.  After that it proceeds with the standard job selection code, the rest of the heads are in here.

tl;dr It was working fine, you will end up with at least one head so long as a single player has a head set above never.  Using this for all heads overrides the entire point of having a low/med/high for heads and will cause low pop servers to have a very high head to crew ratio.  Also please read over and try to understand what code is doing and why before you start messing with it.





git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4297 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-03 04:04:04 +00:00
johnsonmt88@gmail.com
8ae701bd01 Fix for heads not getting assigned properly at round start.
Well, hopefully a fix. I've tested it locally to make sure it still actually assigns jobs without any problems, and it should work but we wont know for sure until we get more people trying it out.

Thanks to Tonberrytoby for correcting me and pretty much pinpointing the source of the problem.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4296 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 23:43:14 +00:00
elly1989@rocketmail.com
c1b011ff0f Fix for people summoning the forces of darkness with their flashlights.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4295 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 22:45:33 +00:00