Commit Graph

9304 Commits

Author SHA1 Message Date
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
CIB 9fa25a84ce Merge pull request #1563 from FireFishie/belts
Added some belt storage options
2012-08-03 14:06:13 -07: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
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
Cael_Aislinn 4a460f24f3 compile fixes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 04:07:54 +10:00
Cael_Aislinn 2f634cc081 limit vermin to 30 (can be edited in the gameticker)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 03:53:28 +10:00
Cael_Aislinn 7401f53d75 tweaks to vermin spawning
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 03:41:59 +10: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
Cael_Aislinn 388d0b9be0 some tweaks to vermin spawning
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 02:06:26 +10:00
Cael_Aislinn 223cee4aa3 fix for non-working shutters and blast doors on exodus and antiqua
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 01:42:03 +10: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
Cael_Aislinn 3f4d2500f6 holding exact required credits will now bring success
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 20:25:09 +10:00
Cael_Aislinn 1c2bb7e750 fixes to vermin spawning, replaced rag spawners in map with actual rags
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 20:21:43 +10:00
Cael_Aislinn d20a7a50f1 compile fixes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 19:56:45 +10:00
Cael_Aislinn 7fce61598a new traitor objective to steal money
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 19:49:01 +10:00
Cael_Aislinn baac6fe04c fix for kobold doing stuff while dead
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 19:17:34 +10:00
Cael_Aislinn f8e0f5a925 Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	baystation12.dme
2012-08-03 15:06:02 +10: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
CIB a1d362b795 Fixed custom votes
The old method of passing the voter as href was still used by custom votes, making Topic() believe anyone doing custom votes was cheating. Thank god there was no auto-ban.
2012-08-03 05:43:39 +03: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
giacomand@gmail.com c97004bef2 -Fixed issue 726, not the best fix but I could find no other solution.
-Added the unused alien resin door. Only aliens can open it, it will also auto-close after 10 seconds.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4294 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 21:42:43 +00:00
giacomand@gmail.com dca350d120 -Mining will now have the proper frequencies.
-Cleaned up some unused presets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4293 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 20:02:31 +00:00
sieve32@gmail.com 2098bc0173 -Fixed floor tile inhands
-Made inhands for hardsuit helmets
-Due to feedback, the Nuke Op pinpointer will change modes on its own when the nuke is armed/disarmed. (As such, the toggle verb was removed) This should also help with the issue of both modes trying to run at the same time.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4290 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:33:24 +00:00
FireFishie a13e620abe Added some belt storage options
-Medical, security, and tool-belts may now hold any type of lighter
-Medical belts may now hold latex gloves and sterile masks
-Security belts may now hold gas masks
-Tool-belts may now hold cigarette packs
2012-08-02 15:26:24 -04:00
baloh.matevz 49f3db9954 - F12 now properly hides the action buttons
- Changed the 'black overlay' you get when paralyzed, blind or in critical condition to include a small circle around you. It still 'blinks' once every 25 seconds or so.
- Added a flag BLOCK_GAS_SMOKE_EFFECT, which can be applied to masks, glasses and hats, which prevent gas smoke, which contains reagents, from having an effect on you. Currently only present for gas masks.
- Dramatically lowered the amount of damage you get per breath while in critical condition. Critical condition now lasts for about 5 minutes if nothing is causing you any additional harm. This in combination with the new black image overlay is an attempt at making doctors more willing to help. For one thing they'll have more time to get to you, for another you will get to see if they murder you before sending you to genetics.
- Added Cheridan's wooden chairs to code
- Added a action_button_name to all items, which defaults to null and contains the text which appears on the action button. If an action button exists, but this variable is not set, the text will default to 'Use [name]', name being the name of the item tied to the button.
- Fixed the problem which resulted in certain glasses types making you keep night vision abilities even after you took them off. 

(Screenshot of black overlay: http://www.kamletos.si/blackimage4.png)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4280 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 08:25:34 +00:00
Cael_Aislinn e9d68bd249 vermin spawn randomly in maintenance (plus a couple of other areas) at a rate of one every 10-15 mins.
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 15:39:00 +10:00
Cael_Aislinn 3c168305ed reworked equip_if_possible to be a bit better 2012-08-02 14:33:00 +10:00
Kortgstation@gmail.com 2b55391ed7 Shades name will now be based on the victims real name (so them wearing a gas mask or fake ID won't effect the shades name, and they won't have names like Shade of Unknown (As X).
Also, Shades will be assigned a real name and original name upon creation, to prevent them from getting a random name when ghosted.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4278 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 03:22:37 +00:00
sieve32@gmail.com 2252db76f6 -Borgs can now have 1 key installed into their radio, and can handle channels just like any other headset
-As a result, they also have a button that toggles their headset between station-bounced and subspace transmission. While they are transmitting over subspace, they will be using TComms and have access to department channels. While transmitting over the station-bounced system, they cannot access department channels. Simple
-Changed binary chat for silicon mobs to be ':b' for both consistency and to make the security channel useable for borgs.
-To insert/remove keys, you need to have the cover open and the cell in place, use a key to insert and use a screwdriver to remove keys (Having the cell out will expose the wires when a screwdriver is used)
-Cleaned up mech_fabricator.dm a bit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4277 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 03:02:43 +00:00
giacomand@gmail.com 4b239afe76 Fixed issue 724 - I've also tried to fix the unreported bug where a person cannot hear their radio messages while in the dark. Instead I'll make an issue report and try to work on it more later. I'm assuming it has something to do with BYOND thinking that the user cannot see dark tiles in the viewer proc.
Cleaned up a bit of the broadcasting code.
Made everything use turf's z levels as I find them more reliable, sometimes an item's loc can be null or the z level can be entirely wrong. I hope the high usage of get_turf() will not create problems.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4275 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 22:55:14 +00:00
elly1989@rocketmail.com fd4cd23084 Forgot to add clean_prints back into clean_blood
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4274 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 19:35:18 +00:00
elly1989@rocketmail.com 187ecee177 Added global lists for chemistry datums.
chemical_reactions_list for storing /datum/chemical_reaction so we don't have to spawn them all everytime two reagents get mixed together.

chemical_reagents_list, unlike reactions it is indexed by id so we can have fast lookup of reagent data. Again, without spawning everytype of that datum everytime we add a reagent to something 

It was making all subtypes of this datum everytime it filled any reagent_container with a single reagent. Considering how many reagent containers there are that's a lot of wastage. Now it only does this once, thank goodness.

Unfortunately I had to stick the initialisation inside the datum/reagents holder object's New() proc, since New() for map ojects gets called before world/New()

Fixed clean_blood() yet again *sigh*. It's probably as good as I'm gonna get it without changing loadsa stuff needlessly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4273 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 19:27:09 +00:00
Cael_Aislinn 7ae269f38f some tweaks to mice and roaches, tried to get the gameticker to periodically spawn them but failed (will come back to)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 04:56:48 +10:00
ericgfwong@hotmail.com a928428541 Clones come out with messy hairstyles now :3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4272 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 18:33:22 +00:00
Cael_Aislinn 469a8bb601 ported over the majority of /tg's simple_animal code and changed a lot of things for simple_animals and critters
- added bears, mice (cats will chase mice, mice squeak occasionally)
- removed some unique simple_animals (ian and runtime will be the only ones for now)
- structure improvements, tweaks and cleanup for simple_animals and critters
- space carp should work fine now
2012-08-02 03:22:44 +10:00
elly1989@rocketmail.com a9eabb0561 Created global lists for hair and facial_hair datums since they are referenced frequently. This means those datums are only ever created once. Also, the list is indexed by hairstyle name. This means means we only need to store one variable to find the hair datum. It also means admins can change h_style and f_style to the name of the hair and use the Regenerate Icons function in viewvars to update a human's hair icon. If an incorrect f_style or h_style is input it won't affect anything adversely (besides hair not showing for that mob).
The hub will no longer report admins who are stealthminning.

Added a server byond_version check. All it does is tell you if your byond_version is below RECOMMENDED_VERSION and encourages you to update BYOND.

Underwear and bag lists are now a single global list rather than creating the same list for every new player.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4268 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 13:40:43 +00:00
giacomand@gmail.com cf266fca97 I've made some adjustments to the Fireball spell. I've changed it to shoot in the player's facing direction instead of you having to pick a name from a list. It will explode upon contact of a person, if it hits an obstacle or if it shoots for too long. To make up for the fireball not being able to go diagonal I've shortened the cooldown to 10 seconds. It still can hurt you badly and knock you down if you shoot it at a wall. Lastly, it now lights up so it'll show up in dark rooms easily.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4265 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 11:29:29 +00:00
CIB e9937050aa Merge pull request #1558 from FireFishie/closets
Some minor changes, mostly related to wardrobes and fluff text
2012-08-01 00:23:05 -07:00
petethegoat@gmail.com f295c3ab33 Updated space carp, walking mushrooms and killer tomatos to use simple_animal instead of critter code.
Notify me if any issues with them, or any simple_animal arise.

Fixed a few issues with space bears.

Slightly improved teleporter code, and did a few misc runtime fixes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4258 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 21:22:42 +00:00
elly1989@rocketmail.com 99354f8c71 More gifts from FPstation. This fetches a list of known proxies and stops people from connecting whilst using them. Proxies are often used for nefarious reasons.
It needs to be kept as up-to-date as possible, so it autoupdates every 6+ hours or so to ensure the database is relatively up-to-date.

Like the previous commit, I'd only really recommend it if the other stuff isn't getting the job done.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4257 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 20:42:10 +00:00
giacomand@gmail.com 059df7ef65 -Renamed "acid" to "sacid"
-Sorted the dispensable chemicals list alphabetically.
-Made the chemical dispenser use process() instead of calling itself in a spawn()
-Made the receiver and broadcaster easier to build (less parts)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4256 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 20:38:06 +00:00
giacomand@gmail.com 16919d9d41 -Syndies should spawn next to their sleepers and not ontop of eachother.
-equip_to_appropriate_slot will now return whether it's successful or not.
-Fixed the receivers and broadcasters being the wrong preset.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4250 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 14:20:35 +00:00
giacomand@gmail.com 63ea1462ca -Fixed message monitor paper not finding a server.
-Updated changelog.html
-Fixed the new room not having the right broadcaster and receiver.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4247 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 10:34:08 +00:00
ericgfwong@hotmail.com ccb6589e20 A couple of mapping stuff for Giacom
-AI Upload Foyer is now Secure Tech Access, and the outer door only requires Bridge access
-Attached to it are two new rooms: The messaging server room and the communications relay.
-The comms relay room runs off its own SMES unit like the AI, so it won't be affected by powersinks
-Reduced the number of recievers/broadcasters. Only presets now. Giacom will finish them. He also needs to fix the password paper not generating.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4246 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 09:55:57 +00:00
giacomand@gmail.com 2068182fc4 -Removed passive throwing.
-Broadcasters, receivers and relays do not produce heat anymore.
-The station/DJ station's relays only need a single broadcaster/receiver now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4245 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 08:48:21 +00:00
FireFishie fae6f2eecd "Space Law" on the wiki is always capitalized, so now it should be in-game too. 2012-07-31 04:45:07 -04:00
FireFishie 60c962ebb8 Clipboard added to the head of personnel's wardrobes and starting items. If the quartermaster has a clipboard on him and in his wardrobe bag, then his boss should too. 2012-07-31 04:36:32 -04:00
FireFishie eac1335607 Added the warden jacket and pepperspray to the warden's wardrobe, and added fingerless gloves to the cargo technician and shaft miner wardrobes.
The janitor spawns with a portalathe but doesn't have one in his wardrobe, so this adds that. If the librarian gets a barcode scanner in his, then the janitor's should include the portalathe.

The captain has taken a few lessons from the head of security! When joining, the captain will now start with matching gloves, a pair of jackboots, and the more sensible captain's cap. The old Napoleonic hat is still available in the captain's closet, and both the closets and wardrobes were updated to reflect this change.

The quartermaster started with brown shoes, but only had black ones available in his wardrobes. This change should make his starting equipment more consistent.

The head of personnel should no longer be so paranoid, and now spawns without wearing body armor or a helmet. Additionally, the body armor and helmet from the wardrobe closet and bag were removed. A gun, helmet, and body armor are still available in the secure locker for emergencies.

The breath mask inside the engineer box included with the ERT backpack looked terrible when worn with the ERT helmet, yet was required if any of the team were operating near a breach or anything. This change only returns the removed SWAT mask (which leaves the helmet sprite intact) to the response team's basic equipment.

Both the secure closet and the wardrobe bag have the medsci headset in it, and the chemist lab is conjoined with research, so why shouldn't the chemist start with that headset? This commit also moves the chemist to Medical on the roster because that's where the job shows up everywhere else.
2012-07-31 01:21:44 -04:00
FireFishie 8c7592fa00 Changed all entries of "Nanotrasen" to "NanoTrasen" and corrected the misspelling of "apologize" in the gravity toggle messages. 2012-07-31 01:14:14 -04:00
sieve32@gmail.com 8658a64dc3 -Redid admin_list to be based off clients rather than mobs (Why I did it with mobs first, I'll never know). This fixes AdminWho and Asay and such not working pre-game.
-Added in the proper list stuff for changeling stasis
-Added a verb to the debug list (Game Admin+) to check the mob lists instead of requiring the item (Works the same way)
Fixes Issue 708


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4240 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-31 02:02:30 +00:00