Commit Graph

7288 Commits

Author SHA1 Message Date
d_h2005@yahoo.com
be3450d319 -Fixes the bug where matches would not light plasma.
-Fixes horrible chat spam when loading smartfridges up with plant bags.
-Fixes the bug where reishi mushrooms and broken wooden floors had ugly sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4400 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-14 15:37:21 +00:00
petethegoat@gmail.com
755c98d8b6 Committing for QualityVan!
Fixes issue 458.

Changes singularity beacons to consume zero power but require a certain amount to function, check the attached wire rather than the area for that power, and most importantly, not work in space(normally).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4399 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-14 13:59:21 +00:00
petethegoat@gmail.com
517a0d8add Fixed issue 570.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4398 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-14 13:44:58 +00:00
rockdtben@gmail.com
f8d19f499e Fixes issue 607 - portable tanks were providing no feedback upon rupturing. A sound effect will play now. Attempted to reproduce the problem and found that the tank actually exploded with that mixture. So half of this issue was already resolved.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4397 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-14 11:19:54 +00:00
elly1989@rocketmail.com
4c87332cc1 Resolves Issue 734
> A clown's medical, crew, and security records are updated with his newname. (read below for details)

> reject_bad_name() now checks for dumb names like "space","floor","wall","r-wall","monkey","unknown","inactive ai" (if you know any other important ones let me know)

> clname() [clown-name] and ainame() [AI name], procs which allow those players to rename themselves, were merged into /mob/proc/rename_self(var/role, var/allow_numbers=0)
This proc gives the mob 3 chances to name itself. It checks names using reject_bad_name() (the same thing that checks the round-start names). If it fails 3 times it will not change the name. If it succeeds it will call the proc in the next bullet point.

> /mob/proc/fully_replace_character_name(var/oldname,var/newname) will replace most references to a mob's oldname and replace it with newname. It updates name, real_name, mind.name, updates their id, updates their pda and updates all their data_core records (manifest records like medical, security, general, locked)

> data_core procs merged because they were massive and all identical.

> accidentally fixed an AI sound which accidentally played upon login. It conflicted with the "Welcome to the station crew" announcement. So I commented that out to try the 'new' fixed one. If people hate it I'll comment it back to how it was.

> naming a mob with the big name  at the top of viewvars will use fully_replace_character_name()

> Removed an uneccessary regenerate_icons() proc from every player which spawns. Should speed up spawns a smidge



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4396 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-14 10:44:41 +00:00
SkyMarshal
7ef9d9e454 Sanity check for FloodFill. 2012-08-13 18:49:04 -07:00
sieve32@gmail.com
c62bdf0a6e -Cleaned up sacrificing again so it didn't rely on hasvar()
-Made a variation of hasvar(), creatively named has_var(), intended for objects versus datums, and the var name is case sensitive
-Clean up mech fabricator code considerably, the terrible switches are all gone, and I was able to make it more robust at the same time. Now, if a junk item is added to the mech fab then it will remove it in 1 of 2 places, either when you call for the queue to be displayed (Will throw it out then rebuild the queue) or when it is processing the queue (Will throw it out then reprocess the building), so now you won't even see the shit that finds its way in there.
-Made the add_part_to_set() useful, now instead of dumping everything in the "Exosuit Equipment" category, it checks if the design's category matches one of the part sets, then adds it to said set if it does (All others get dumped into "Misc"). Right now there isn't much through, mostly just moving MMIs, cells, etc... to the "Misc" set, but this would be easy to use with any other system that handles designs
-Little bit of OCD here, but I noticed that the cells on the map were all 'crap' cells, even though they had 1.5x the charge of a high-capacity cell, so I changed them all to high-capacity cells with the added capacity

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4395 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 18:53:28 +00:00
petethegoat@gmail.com
f657677a99 Fixed issue 775.
Fixed issue 767.

The fix for issue 767 was to standardise spray bottle code (to some extent). If any issues come up with spray bottles, pepper spray, or chem sprayers, report them to me.
Cyborgs now recharge their pacid and lube, as the size of their bottles was quartered.

Changed the flash item_state to "flashbang", as it looks exactly like a flash.

There's some more grammar and text clean up too, mostly with crates and closets.

Finally, fixed some pipes in virology, and changed the librarian's den so the bookcases are at the top.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4394 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 18:24:34 +00:00
sieve32@gmail.com
4b72ada290 -Cleaned up the code to sacrifice borgs, AIs, and brains. (Also made it possible to sacrifice AIs on intelliCards)
-Gave brains a proper gib() so they are actually gone
-Added a proc to the 'Secrets' panel, a variation of power the station that instead is MUCH faster and just powers all SMES, turns on output, and sets it to max (helpful for testing and it doesn't leave the server frozen for 60 seconds to process)
-Added maxHealth to mice, killer tomatos, and walking mushrooms (They started with 5 health but could be 'healed' up to 20)
-Made the updatehealth() actually usable outside of humans by making it use maxHealth instead of just '100'
-Fix for shield generator sprites not updating properly, caused by not all generators actually updating on powerloss, and adding an update_icon() where needed
Fixes Issue 751

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4393 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 15:30:36 +00:00
petethegoat@gmail.com
e4e7256d66 Fixed issue 777.
Fixed issue 439.

Relating to the 439 fix, added a new define, TEMPERATURE_DAMAGE_COEFFICIENT. The name is slightly misleading, as it is used in reagents that affect body temperature. Leporazine now functions properly, and you can once again into space with a cup of coffee and a firesuit.

Also did a few grammar changes for newscasters.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4392 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 13:58:43 +00:00
rockdtben@gmail.com
bf9f922390 -Fixes issue 690
-Made my comment less ambiguous

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4391 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 13:21:02 +00:00
rockdtben@gmail.com
bfd80f5854 -Tidied up some of the nanoaug code
-Modified the implanted method signature to be more readable
-Tested changes with Ausops

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4390 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 11:08:25 +00:00
giacomand@gmail.com
38d209e662 -Changed recursive_mob_check and get_mobs_in_view. It might also fix the cause of some people being able to hear behind walls (unconfirmed)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4389 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 08:43:42 +00:00
SkyMarshal
22eb284ddf Made ZAS play nice with being mapped right on map edge, and remade supermatter to work right on this code base. 2012-08-12 23:04:28 -07:00
SkyMarshal
aea3eda738 Floodfill experimental improvement, lets hope it fixes crashes. 2012-08-12 20:20:50 -07:00
johnsonmt88@gmail.com
e9671308bf Reorganized clothing as a whole.
Everything related to clothing should now be defined in modules/clothing. I'm almost certain there's clothing code hidden elsewhere but this should be the vast majority of it finished.

Everything is set up related to the object types themselves (meaning paths.)
So all hats will be in modules/clothing/head, all gloves will be in modules/clothing/gloves, ect...

I've removed 'modules/clothing/random.dm' and 'objects/items/clothing.dm' which both seemed to just be a place where people would put stuff they were too lazy to find a proper home for.

I've also moved files that had no, or very few blocks of code into more catagorized areas.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4388 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-13 02:17:14 +00:00
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