Commit Graph

8886 Commits

Author SHA1 Message Date
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
Cael_Aislinn
136b8e44e3 oops
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-06 00:17:05 +10: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
Cael_Aislinn
d7bd58b8f3 roach remains have a bit more substance now
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 21:47:03 +10:00
Cael_Aislinn
52fdda910a mice can crawl through vents and hide under objects
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 21:03:16 +10:00
Cael_Aislinn
bece31d819 fix for mouseception naming bug
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 20:00:43 +10: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
Albert Iordache
27920a6c59 Merge branch 'mechrevert' of https://github.com/Nerezza/Baystation12 into Nerezza-mechrevert
Conflicts:
	code/game/mecha/mecha.dm
2012-08-04 22:48:25 +03: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
Cael_Aislinn
eaa28099d3 compile fixes, more tweaks
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 03:52:17 +10:00
Cael_Aislinn
2b2017126a tweaks to simple_animals, carps no longer freeze / require oxy to live (but rapidly burn up from 25+ degree temp), kobolds no longer require oxy to live
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 03:13:49 +10:00
Cael_Aislinn
321e8e9e21 uncommented some missing supply datums
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-05 02:21:45 +10: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
Albert Iordache
0fd0f5dbf0 Merge pull request #1571 from caelaislinn/master
compile fixes
2012-08-04 04:03:01 -07:00
Albert Iordache
e685276c91 Merge pull request #1569 from FireFishie/map3
Minor map changes and a changelog
2012-08-04 04:00:04 -07:00
Cael_Aislinn
6d0058a31e fix for contraband >.>, also simple_animals can't buckle themselves in now
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 20:58:53 +10:00
Cael_Aislinn
8d4f6a8efe admins can change the serial number of a rolled up poster to change the poster decal type when applied. note that you'll need to change the name of the rolled up poster to reflect this if you want to avoid confusion
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 20:00:59 +10:00
CIB
429b04149a Merge pull request #1570 from caelaislinn/master
various simple_animal tweaks, fixes and improvements
2012-08-04 02:48:55 -07:00
CIB
e0c67241cf Added cyborg to jobbans for security etc. 2012-08-04 12:41:50 +03:00
Cael_Aislinn
93f864083c doubled zas debug sensitivity, some tweaks to mouse/ghost spawning
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 19:23:40 +10: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
Cael_Aislinn
2cb704f617 tweaks and fixes to a couple of supply crates
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 16:23:23 +10:00
Cael_Aislinn
714a9b120f compile fix
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 15:56:18 +10:00
Cael_Aislinn
46a450069e - simple_animals can't open doors by default
- alien larvae, mice can hide under mobs
- roaches, mice can hide under various objects
- various tweaks, including flavour and existing mechanics
- fix for ghosts not being able to spawn as mice
- added move delay of half a second to simple_animals (about the same as human walkspeed?)
- simple_animals, when talking, can only understand each other (and mobs with universal_speak)

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 15:47:56 +10:00
Cael_Aislinn
0b14f97af0 hardcap for vermin spawning (30, editable via gameticker) 2012-08-04 15:44:02 +10:00
Cael_Aislinn
c4ba455f35 added var to /mob to allow some mobs to share spaces
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 13:12:17 +10:00
FireFishie
01765aa13d Changed name of Warden to Warden's Office
-This resolves issue 1490
2012-08-03 21:55:22 -04: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
Mloc
35ac90da8f Merge pull request #1568 from SkyMarshal/BugFixes
Runtime fix
2012-08-03 14:09:42 -07:00
SkyMarshal
55adee1723 Runtime fix 2012-08-03 14:08:07 -07: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
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
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
Mloc
aba1c4d12a Merge pull request #1567 from caelaislinn/master
ghosts can become mice at will
2012-08-03 12:00:54 -07: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
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
08f47799e1 ghosts/observers can possess mice at will 2012-08-04 03:57:16 +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
SkyMarshal
e4c4f77de2 Fix for the runtime Mloc sent me. 2012-08-03 10:40:54 -07: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