Commit Graph

6922 Commits

Author SHA1 Message Date
SkyMarshal
82ed4f809f Revert "Revert pull request #1605 and #1606 due to temperature bugs killing the crew" since that code did not touch any temperature things, or even any ZAS things and I got no answers even after asking for about 18 hours...
This reverts commit 5e2f4948d0.
2012-08-12 18:41:27 -07:00
baloh.matevz
4a0f31a8c0 - Addressed the issue of AIs not being able to see anything in the dark. They now have a 'toggle camera light' verb in the AI verbs panel. What this does is enable a light on the camera they are viewing from. Only the light on the camera they're viewing from will continue to be enabled.
The fluff behind this change is that a loss of power in an area prevents the use of advanced camera features, such as XRAY. The amount of power which the camera network supplies is only enough to operate a light on the camera.

Since there are lots of ways to remove an AI from a camera, it is possible that some bugs will appear. I tested what I could and fixed all the errors that I noticed. If any additional errors appear, please let me know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4387 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 23:24:28 +00:00
elly1989@rocketmail.com
8f3687b3cc Fix for changeling absorbing taking too long. Cause: added one iteration too many on that loop.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4386 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 23:10:56 +00:00
elly1989@rocketmail.com
2485d4ca0c Fix for runtime:
The following runtime has occured 99 time(s).
runtime error: Cannot read null.stat
proc name: process (/datum/disease/alien_embryo/process)
  source file: alien_embryo.dm,9
  usr: null
  src: Unidentified Foreign Body (/datum/disease/alien_embryo)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4385 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 22:43:39 +00:00
elly1989@rocketmail.com
76440d9acd Tidied up the preferences screen a tiny bit. It now uses switches and should fix another:
The following runtime has occured 23 time(s).
runtime error: Cannot read null.key
proc name: process link (/datum/preferences/proc/process_link)
  source file: preferences.dm,638
  usr: null
  src: /datum/preferences (/datum/preferences)


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4384 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 21:58:18 +00:00
Kortgstation@gmail.com
0ed6f00100 Cleaned up the wizards spellbook, it no longer has the option of using client verb spells instead of object based ones. Object based spells are superior in every way and are the ones currently tracked by Erro, the client verbs weren't even supported anymore so there was really no reason for a ton of if statements everywhere/code for three different spellbook types (including one that used telecrystals).
Changed the config, item list, wizard spawn gear etc to eliminate the possibility of the old type of spell book

Removed commented out (non functional) code from change.dm

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4383 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 20:22:08 +00:00
petethegoat@gmail.com
faea964e13 Fixes issue 521.
Fixes issue 676.
Fixes issue 700.
Fixes issue 753.
Fixes issue 754.
Fixes issue 755.

Additionally I slightly cleaned up grenade code and stunglove code, and removed mustardbomb.dm (because it was fucking awful).

THIS BUGFIX TRAIN AIN'T STOPPIN'
Thanks QualityVan for the issue 521 fix, and thanks Nodrak & Tobba for pointing out my dumbness for issues 753 & 754 respectively.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4382 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 19:51:08 +00:00
rockdtben@gmail.com
7f0e81c5bc Fixed issue 625
-Revheads cannot exploit loyalty implants anymore.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4381 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 16:09:08 +00:00
elly1989@rocketmail.com
ae45d10423 Pulse emitters (singulo engine) are no longer susceptible to EMPs. Resolves Issue 761
The Field generators are now offset from each-other to allow the engine to be restarted should containment fail.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4380 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 13:55:19 +00:00
CIB
ab7c78f3f5 Merge pull request #1604 from comma/master
Metroid surgery fix
2012-08-12 03:57:27 -07:00
CIB
fe00859989 Increased cyborg slots to two
According to http://baystation12.net/forums/viewtopic.php?f=5&t=5144&view=unread#unread, we could even go up to 3, but let's take it one step at a time.
2012-08-12 03:24:02 -07:00
giacomand@gmail.com
ec4dd7b397 -People with Mesons will not be able to hear through walls, sorry for not catching this before.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4379 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 09:31:35 +00:00
Albert Iordache
5e2f4948d0 Revert pull request #1605 and #1606 due to temperature bugs killing the crew 2012-08-12 12:17:35 +03:00
Albert Iordache
3439b6a88f Merge pull request #1606 from SkyMarshal/master
Some small changes before I go to bed.
2012-08-12 01:06:03 -07:00
SkyMarshal
2ed777a53e Just committing my work before bed. 2012-08-12 01:00:40 -07:00
SkyMarshal
b37ea52f4d Some code that ensures ladders and shit play nice with the modular Z-levels 2012-08-12 00:16:14 -07:00
headswe
ad4be43ec0 Merge pull request #1605 from SkyMarshal/master
More ZAS fixes, some work on less-retarded code for 3D processing, can be toggled with a pre-processor #define
2012-08-11 23:55:08 -07:00
SkyMarshal
4b1f394b2b Made a whoopsie in the ladder code, now conforms to modular Z-levels.
Signed-off-by: SkyMarshal <skymarshal1729@gmail.com>
2012-08-11 23:53:07 -07:00
SkyMarshal
0bee1cb6b5 Work on 3D stuff. 2012-08-11 23:40:28 -07:00
elly1989@rocketmail.com
571cad9808 Forgot the ..() call.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4378 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 05:54:30 +00:00
elly1989@rocketmail.com
a79f049ebd Moves mob/var/datum/changeling/changeling to datum/mind/var/datum/changeling (changeling datums are now held by minds rather than mobs)
As such, changelings can now be reported at round-end, even after gibbing. Resolves Issue 251

Changeling power proc_holders are now datums rather than objects.
Condensed all those changeling stings down a bit. This will make fixing issue 351 easier to fix

Replaced changeling fakedeath and a number of checks for the zombiepowder reagent with a bitflag: mob/var/status_flags & FAKEDEATH
setting the FAKEDEATH flag will make the mob appear dead in exactly the same way changeling parasting and parapens worked. I've updated changelings and zombiepowder to work with this flag.

Bug fixes for the staff of change. There was a type mismatch and I typo'd "alien" as "xeno" so xenos were not being randomly picked.

TODO:
changeling purchased verbs could probably be moved to mind/special_verbs. Likewise, other modular antag proc-holders can be merged with the changeling system using the same type of datum. (namely wizards)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4377 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-12 05:43:39 +00:00
SkyMarshal
5140b4e906 ZAS fixes. 2012-08-11 21:22:34 -07:00
comma
49cdc1a13c Fixed metroid core surgery. 2012-08-12 02:39:57 +04:00
sieve32@gmail.com
e4863fe551 -Cultists can sacrifice Cyborgs, AIs, MMIs, and brains now (So their sacrifice objective doesn't become unwinnable)
Fixes Issue 229
-Removed the shitty almost-throwing after_attack() for grenades and replaced it with something sane. Now (Like before) when you activate a grenade, it turns throw mode on.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4375 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 22:39:18 +00:00
johnsonmt88@gmail.com
cc544acea0 Removed the tensioner. It was buggy and really only served to ruin rounds. The original purpose of the tensioner before Poly reworked it was to act as a stat tracker, which is now meaningless since erro has a fully operational stat tracker in place.
As a result, cyborg death squads were also removed.

This also fixes meteors and space dust so that they properly take into account the borders of the map. Please do not hardcode numbers when we have defines in place.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4374 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 20:02:31 +00:00
petethegoat@gmail.com
b9facf9e43 Removed the chainsword and chain of command. No chains allowed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4373 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 19:25:18 +00:00
johnsonmt88@gmail.com
ab27012a5e Meteors now properly get deleted at the south or west end of the map. Fixes Issue 770.
The all-in-one reagent grinder now knows that the bartender's shaker is something that holds reagents, and not a reagent itself. Fixes issue 747.
Note: Chemistry paths in general are rather horrible, they really need re-working. I suspect other non-reagents are able to be placed into this grinder as a reagent instead of as a container.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4372 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 16:58:38 +00:00
elly1989@rocketmail.com
904f71f08a Removing some unused loops and the last of the speech-bubble stuff.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4370 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 15:41:21 +00:00
petethegoat@gmail.com
7f627a522b Removed some more stuff from weapons.dmi:
swordchain
warhammer
pepperspray_old
thickcane
browncane
thickbrowncane
stick
chainofcommand
electric

Also removed obj/item/weapon/cane/brown, as it was unused and the sprite was indistinguishable from the normal cane.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4369 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 15:08:21 +00:00
elly1989@rocketmail.com
b49b2ea466 Fix for revolution end of round report not showing heads of staff.
Cause: forgot a world << text :/

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4368 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 13:45:56 +00:00
CIB
031677a515 Merge pull request #1601 from caelaislinn/master
various WIP xenoarch update, some runtime and crash fixes
2012-08-11 06:00:35 -07:00
CIB
ac3e5b6b05 Merge pull request #1602 from SkyMarshal/master
ZAS bugfixes and improvements. Zones will now properly interact with any bordering unsimulated turfs, so Cael can now make his planetary map.
2012-08-11 05:54:26 -07:00
CIB
0d2c2d11df Fixes the space unbuildable bug, I hope 2012-08-11 05:45:36 -07:00
CIB
e94a508e78 Fixed a runtime 2012-08-11 05:23:22 -07:00
Cael_Aislinn
7423ec7831 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-08-11 20:28:14 +10:00
Cael_Aislinn
c5d598596e moved reagents and recipes purely used for xenoarch to a new file, forgot to commit some icons, tweaks to a bunch of xenoarch stuff
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 20:27:30 +10:00
Cael_Aislinn
782510645a tweaks to the bunsen burner, added a grinder (automated mortar and pestle)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 20:25:54 +10:00
Cael_Aislinn
b72e96c08d modified chemical reactions to preserve reagent data across reagents, if it exists. also made possible reactions with multiple products
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 20:24:51 +10:00
SkyMarshal
bccaea11c9 Some more minor improvements. 2012-08-11 01:05:14 -07:00
SkyMarshal
bca7ff054e Made an oopsie somewhere. 2012-08-11 00:56:52 -07:00
SkyMarshal
cf89bbed1b ZAS bugfixes and improvements. Zones will now properly interact with any bordering unsimulated turfs, so Cael can now make his planetary map. Some cleanup to the code, and added scaling and sanity to air movement so that stuff isn't pants on head retarded. 2012-08-11 00:50:19 -07:00
giacomand@gmail.com
c33fa849af -Accidentally removed something I wasn't suppose to.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4366 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 07:18:18 +00:00
giacomand@gmail.com
d5b3b537bf Added recursive_mob_check() proc. It will recursively loop through an atom's contents and check for mobs, then it will loop through every atom in that atom's contents. It will keep doing this until it checks every content possible. This will fix any problems with mobs, that are inside objects, being unable to hear people due to being in a box within a bag.
I then changed the get_mobs_in_view() to use this proc for gathering mobs and radios. 

The old system would loop through lists for a total of 5000 per function call, in an empty server. This new system will loop at around 1000 in an empty server.

I made get_mobs_in_radio_ranges() use a level parameter to help make it more effecient by only bothering with the mobs that are in the Z level that are getting the radio message.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4365 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 07:08:58 +00:00
Cael_Aislinn
f33ee15700 fixed up some singularity ignores
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 12:44:11 +10:00
elly1989@rocketmail.com
6e9ee0cadb Tiny performance tweak for get_mobs_in_radio_ranges()
Known Issues:
It's getting called 3 times for every message sent through telecomms rather than just once like it used to. this is due to the relays on the station, telecomms and mining.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4363 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 02:06:36 +00:00
elly1989@rocketmail.com
49a8f89a42 Resolves Issue 766
Fix for colours bleeding over in the end-of-round announcements.
Cause: laziness :3

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4362 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-11 02:02:32 +00:00
quartz235@gmail.com
710acf77e5 Fixed issue 695
- Syringe overlay layer is no longer above the blackout screen layer
Fixed issue 704
- Shades (and all simple animals) can no longer pick up paper bins/donut boxes with clickdragging (were there any other objects you could pick up with onmousedrop?)
Fixed issue 737
- Dead/unconscious cultists no longer count towards cultist count on rune use (such as sacrifice, nar-sie, etc)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4360 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-10 20:03:24 +00:00
CIB
c375935846 Nerfed damage from touching light bulbs 2012-08-10 12:00:40 -07:00
Kortgstation@gmail.com
2a120a59c2 Fixed space carp and space bears being unable to actually survive in space.
Noticed the space worm icons were both in animal.dmi and critter.dmi, so deleted the extras in critter.dmi and set the space worm to use animal.dmi 

Deleted the creatures othering.dmi and moved its icons into critter.dmi with the rest of the critter stuff. Who knows why it had its own.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4359 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-10 18:34:02 +00:00
elly1989@rocketmail.com
107b71f128 Resolves Issue 763
Editing bans will now report the duration correctly.

Known issues:
The ban system looks like something my cat threw up.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4358 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-10 17:32:19 +00:00