Commit Graph

4186 Commits

Author SHA1 Message Date
Cael_Aislinn
3e6f253cb7 various tweaks to energy fields, energy field artifacts (some outstanding bugs still)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-06 05:13:02 +10: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
Cael_Aislinn
136b8e44e3 oops
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-06 00:17:05 +10: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
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
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
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
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
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
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
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
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
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
7401f53d75 tweaks to vermin spawning
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 03:41:59 +10:00
Cael_Aislinn
6e0046c77d players who died while in control of simple_animals should now have their name display properly
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 01:42:48 +10: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
Cael_Aislinn
fd7ddfa11a removed all kobold speak messages
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-04 00:28:48 +10:00
Cael_Aislinn
e695bf3ed1 removed hanging simple_make options
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 20:27:33 +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
10d40abb25 fix for kobolds doing things while dead
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-03 19:30:23 +10: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
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
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
johnsonmt88@gmail.com
9cd4950d56 Nar-Sie is now named 'Nar-Sie' instead of 'Tear in the Fabric of Reality' to fit the new sprite.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4291 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:43:25 +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
baloh.matevz
1accaf48d4 - I attempted to group together some code in human.life() when I was doing the breathing updates. The code I wanted to group was the code that handles the situation when you are located inside another object - this code is copy-pasted into 4 places in this proc. So I started deleting them, but then abandoned the attempt. Apparently I did not press undo enough times, causing two of the code segments to be left out. This meant that only turfs now facilitated breaths, objects did so only in specific situations.
Thank you Noddie, love you! :)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4289 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 19:16:45 +00:00
ericgfwong@hotmail.com
d7fad2a31f Removed engineering borg's extra flashlight
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4284 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 16:43:53 +00:00
elly1989@rocketmail.com
b047f9565a Tidied up sd_DAL a bit to remove the last of the light-spilling and outside lighting since we have never used it.
Removed some unused variables from APCs (and cleaned up the map so they could be removed)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4282 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 14:25:06 +00:00
Cael_Aislinn
1f0d8d7db0 modified the changelog, and made roaches die on bump()
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 21:56:26 +10:00
baloh.matevz
d6ba1aef02 - Changed human breath processing to work like this:
- - If a breath is successful, meaning it had enough oxygen, another breath will be taken in 4 ticks. This is the same as it was before. (The presence of other gases will damage you, but it will not make the breath not count as a 'successful' one)
- - If a breath is not successful, you will not wait another 4 ticks for another breath! You will try to breathe again in the next tick. Every time a breath is deemed unsuccessful, it will cause damage to you. If there is no oxygen on the tile, it will cause 3 oxyloss damage to you, if there is some oxygen, but not enough, it will do a percentage of that. The amount of damage is the same as before, but it's dealt as 3 per tick instead of 12 per four ticks. The reason for this is to make the 'slowly passing out' effects more visible, as the overlay changes for every 5 points of oxy damage.
- - The healing effect of an area to oxyloss remains at 5 points per FOUR ticks, as it's only applied on successful breaths, which then don't try to breathe again for another 4 ticks.
- - You still pass out at 50 oxygen damage.
- The dark image overlay you have when blind or in critical condition now has mouse opacity set to 0, which means all mouse clicks pass through. If this causes any problems - let me know, it is however needed as it otherwise prevents any clicks. So while you could see a small circle around you, you wouldn't be able to interact with anything in it.

Video: http://youtu.be/fJAU8Tppxi0

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4281 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 10:54:01 +00:00
Cael_Aislinn
f3180fed6d possible fix for recent crash /shrug
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 18:47:14 +10: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
ericgfwong@hotmail.com
26a0226f0d Gave Cyborgs flashlights so they aren't helpless in lightless situations
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4279 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-02 07:22:58 +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
4a9383b5af reworked id spawning, added some fixes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-02 14:33:19 +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
elly1989@rocketmail.com
94fd22b762 Resolves issue 725
There were no checks in re-enter corpse for anyone currently controlling the corpse. Meaning any attached client was left mobless and hence garbage collected (DCed).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4276 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-01 23:02:22 +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