Commit Graph

616 Commits

Author SHA1 Message Date
mport2004@gmail.com
c9bb9c2e5f Doors now check for critter access.
Cleaned up the objectives a bit and made a new "kill" one for rev.
Cleaned up implants and implanters a bit.
Cleaned up the prisoner computer a bit.
Sec Huds can be placed on security helmets (Still needs a sprite)
The beachball now has in hand sprites (Kor)

Cult:
Heads other than the Captain and HoS are now able to start as or be converted to a cultist.
Loyalty implants will block conversion but will not unconvert cultists.

Rev:
Station Heads or Head Revs who leave z1 will count as dead so long as they are off of the z level.
Loyalty implants will block conversion and will unconvert revs upon injection.
Once a mind has been unconverted it may not be reconverted

New items:
Loyalty implants, small implant that prevents reving/cult
The Captain, Warden, Officers, and Detective all start with one already implanted
Loyalty Implanter machine on the prison station that implants loyalty implants and may regen implants after a cooldown.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2049 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-26 07:41:37 +00:00
vageyenaman@gmail.com
256cdd37d2 - Nerfed chemical smoke. It is now less "penetrating". Also, bio suits protect against chemicals a lot better now.
- You can now simply wear a gas mask (or internals with a breath mask) to be completely immune to smoke, provided that you're wearing a full bio suit.
- Nerfed pacid and sulphuric acid a bit. Sulphuric acid is a lot less potent now, and requires large splash-dosages to actually burn peoples' faces off.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2048 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-26 05:27:24 +00:00
mport2004@gmail.com
1d20768b4c Space drugs should no longer cause people to act weird inside lockers and such.
Tele now ignores beacons and trackers on Z2
Singularity grav range reduced a bit due to lag


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2047 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-25 08:53:01 +00:00
mport2004@gmail.com
3cae06c9c3 Fixed the signpost shuttle bug.
Critters have been added and livestock removed
Xbow damage raised to 30 a shot
Centcom Survival Kit is once again a box
Sec uniforms moved into their own locker

After IRC talk
Guns that are created in the protolathe now spawn inside of a lockbox
They can be unlocked by an ID with Armory access or an Emag.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2045 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-24 04:00:45 +00:00
uporotiy
ccf2162e73 Fix for my fix.
I derped. Note to self: next time, don't write even the littlest bits of code at 1 in the night after a long period of not coding at all.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2042 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-22 19:28:43 +00:00
musketstgstation@gmail.com
64f7445a26 EVERYONE HATES MUSKETS UPDATE - PART 2 - ELECTRIC BOOGALOO
* Roburger recipe removed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2041 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-22 18:52:27 +00:00
mport2004@gmail.com
6b88250beb Moved some of the old pipe files into unused.
Explosions will delay a bit longer before allowing powernet rebuilds.
Removed the Ionstorm Command reports at Urist's request, he said he would add something later.
Added dust storms to meteor mode.
Fixed most of the runtimes in the latest log.
Wizards mind_transfer now needs his robes, this prevents the constant body swap mess.
Z 1 lost all of its areas sometime in the last two revs.  I think I got everything back in place but would not mind if a mapper took a look.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2037 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-22 10:59:54 +00:00
vageyenaman@gmail.com
73a73a8211 - Chemistry smoke now is laced with everything inside of the beaker/container. Using a new smoke icon, the smoke will exhibit a color combination of the reagents just like normal, so you can easily identify a cloud of pacid smoke from dexalin smoke. (space drugs smoke, anyone?)
- A new /datum/reagents proc called copy_to() works like trans_to() except that it "copies" reagents instead of transferring them.

- Modified all breathing mobs to support inhaling chemical smoke reagents.


If you are a-hatin', please leave all your hate in this revision page. This is a very significant game change, and to be honest I only briefly mentioned it over IRC a couple of times (however the idea was positively received).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2033 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-21 05:07:00 +00:00
uporotiy
ebf4e0ad25 Fix for an ages-old exploit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2031 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-20 19:38:33 +00:00
mport2004@gmail.com
61c9acb50a Bluh, quick hotfix. Seems the null check messes up latejoiners.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2029 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-20 05:22:39 +00:00
mport2004@gmail.com
c526717fbf Cleaned up:
Flashlights
Cigs/lighters
Solars

RCDs can no longer build airlocks on doors
Airlocks  now smash glass that is under them when they close
AI sat firewall that is not really quite a firewall removed
The solars will no longer update if they lack a controler
Cut down on machines that don't actually do anything like fake sleepers and shuttle engines
There is still a few shuttle engines around and I have no idea where, my map was already corrupted once by this so I am just leaving the define in for now.

After a talk with some of the head coders
Cyborgs can no longer be traitors at round start
Some of the off Z1 areas cleaned up


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2028 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-20 04:30:37 +00:00
Superxpdude@gmail.com
39e3cbe08b Commiting some stuff for Petethegoat from this thread: http://nanotrasen.com/phpBB3/viewtopic.php?f=7&t=5744
For those too lazy to read the thread:
Vending machines now have a switch inside the maintenance panel that when flipped, turns off those pesky advertisements.
A bunch of unused delivery locations have been removed.
You can no longer attack yourself with that bag of cheesie honkers you just finished eating from. Mining Satchels and trashbags now default to picking up everything on one tile.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2027 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-19 23:58:44 +00:00
mport2004@gmail.com
ed93b992c4 H/E pipes once again do H/E things
Missed a line on the flashes, they will once again stun cyborgs
Few adminverbs changed by request of the heads
Roburgers will only provide 2 nanites down from 10
The random round spawn code now checks jobbans
Players with a Cyborg jobban cannot become a cyborg normally

Re added the old power armor typepaths as there seem to be a few of them in the .dmm and the thing's autocorrect/remove items seems to just fuck up the rest of the map when used.  I have no idea where they are located and don't like leaving errors in the code, so if someone could remove them and the old typepaths it would be great.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2024 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-19 06:11:28 +00:00
uhangi@gmail.com
c172faf2d4 Committing something for Rolan7. If shit hits the fan, it's not my fault!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2021 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-16 20:08:32 +00:00
mport2004@gmail.com
8c4eba4e04 Seems I forgot to actually put this one back into the list when I was moving things around.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2019 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-16 17:35:34 +00:00
vageyenaman@gmail.com
ca6a513377 Bugfixes galore:
- Retrovirus is now curable. However, unlike most viruses, when it infects a host it generates a random cure. This cure can be either Ryetalyn or rest. For good measure, a doctor should prescribe Ryetalyn AND send them to the recovery room for rest.
     - Fixed a crash in the seeds crate that would result in the crate only having berry seeds. A small typo.
     - Fixed some grammar.
     - Cloning people should now transfer their UI preferences onto the clones.
     - Portable Artificial Intelligences should now properly be able to use the messaging software. They generated some odd runtimes caused by normal PDAs not recognizing pAIs in the PDAs list.
     - Hopefully, I made equipping and dropping items a bit more responsive.
     - As a result of the fix above, the item duplication bug (two people pick an item up at the same time) should theoretically not happen anymore. When I mean theoretically, I mean I have no way of testing this for sure.
     - Cleaned up some of Deuryn's code in a previous revision.

Miscellaneous:
     - The Cold can now be cured if you're just laying down, although actually sleeping will greatly increase your odds of curing it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2016 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-16 04:56:32 +00:00
Superxpdude@gmail.com
20fcf5b66f NEW MINING STATION; OPINIONS AND BUGS GO HERE: http://nanotrasen.com/phpBB3/viewtopic.php?f=7&t=5733
Added some new area sprites for the mining station.
Lots of new sprites by Petethegoat.
Made sprite for the disposal delivery chute facing the other way.
Moved the mining-related sprites to their own file.
Updated the Mining Consoles, and the 3 mining production machines with new sprites.
UPDATED CHANGELOG.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2013 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-16 04:14:44 +00:00
Daelith.Rhedynfre@gmail.com
4a4a335892 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2011 316c924e-a436-60f5-8080-3fe189b3f50e 2011-08-15 23:44:31 +00:00
uhangi@gmail.com
8fb085f49b Fixing some balancing issues with riot shields and armor.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2010 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-14 09:35:44 +00:00
mport2004@gmail.com
3fc6d95cc8 Fixed most of the runtimes from the latest server errorlog.
Laser Cannon:
After IRC talk cost went up by 2k diamonds and 1k glass
Heavy version removed as it was more or less the same as the normal

Cargo:
cancelorder commented out as it is broken and throws runtimes.  I don't really have the time or will to dig though the code and fix it right now.  If anyone else or the guy who added it wants to fix it be my guest. 
runtime error: Cannot read "/datum/supply_order".object


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2009 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-14 06:41:21 +00:00
mport2004@gmail.com
c03b746cc1 Recoded flashbangs/empnades slightly.
AIs now have a 50% chance to actually get the sender correct if they intercept a PDA message.
Moved Paint and DNAInjectors into their own files
edit_player renamed to show_player_panel 
Cleaned up the grille code a bit


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2007 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-12 21:57:09 +00:00
mport2004@gmail.com
6c54ced90d Recoded flashes a bit
Lowered the break prob
Added eyescrewdrivering, debraining to the attacklog
Added BoH blackholes to the gamelog and admin messages

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2005 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-12 06:23:13 +00:00
n3ophyt3
7b579940d4 Fixed a runtime error with the weldfuel reagent.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2002 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-10 00:40:31 +00:00
mport2004@gmail.com
bfe1a4fb4a Added an alert to the controller button. Be wary of pushing that thing unless you are sure that it has actually crashed and is not just running slow.
Other than that just a few minor fixes


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1998 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-09 13:01:34 +00:00
polyxenitopalidou@gmail.com
ca7aa9431c Readding restartcontroller verb that Mport removed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1997 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-09 11:42:34 +00:00
mport2004@gmail.com
70dcb24e97 Solar SMES no longer start with power.
Forgot to tell the containment fields to watch for the generator.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1996 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-09 07:39:31 +00:00
mport2004@gmail.com
6980602e24 General:
Flamethrower construction code cleaned up.
Signalers on doors should work fine now.
Changelog Updated.

Weapons:
Xbow radiation has been lowered from 100 to 20 and it has a 5% chance to do no rad damage

Admin:
Attempted to clean up the code a bit
Commands Removed/CommentedOut:
air_status,  radio_report,  toggletintedweldhelmets, modifytemperature, givetestverbs, restartcontroller, fix_next_move, Cell
Renamed: 
edit_memory - show_traitor_panel
un\stealthadmin - show/hide_verbs

Cargo:
Engineering crates cost 10 and contain: 1 mechanical toolbox, 1 electrical toolbox, 1 glove, 1 toolbelt, 1 vest, and 1 hard hat.
PowerCell crates cost 10 and contain: 1 electrical toolbox, 2 wire coils, 2 power cells, and 1 high power cell.
Water/Fuel tank crates cost 15 and contain: 1 water tank and 1 fuel tank.

Cyborg:
Fixed the open cover icons
To override a cyborg's laws you must emag it when the cover is open
Emags can now unlock the cover

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1995 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-09 06:21:57 +00:00
n3ophyt3
722ea66721 Reagents no longer try to react with ghosts.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1992 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-07 20:07:22 +00:00
polyxenitopalidou@gmail.com
74a5b4c6f2 •Runtime error fix when using satches. Dammit, bro, why would you even use break
•There's huge bugs with the large beaker bottles but I need to do some testing on them before I can continue.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1989 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-07 14:57:56 +00:00
vageyenaman@gmail.com
ba4a214191 Bugfixes:
- Wizards and Changeling stings can no longer select ghosts.
     - AIs can no longer change their icon if they're out of power or dead.
     - PC Metroids can latch onto cyborgs, but they won't actually do anything. NPC Metroids simply won't ever latch onto cyborgs (but they will attack them if provoked!)

Changes:
     - Gave Metroids a slightly longer attack delay.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1988 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-07 02:00:48 +00:00
vageyenaman@gmail.com
d6c1fc48cb Fixed a bug where you could not choose the AI job.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1987 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-06 21:07:51 +00:00
vageyenaman@gmail.com
977ea89da9 Bugfixes:
- Security cyborgs' handcuffs now act as dispensers. This means they no longer transfer to the target when you attempt to handcuff them, instead, it creates new handcuffs and attaches them to the target.
     - Cyborgs can no longer put their module items onto people.
     - People in the starting screen can no longer see/hear admin dead-chatter.
     - Fixed some bugs with cyborg modules not deactivating properly in the HUD if you lost power or got locked down.
     - Final fix for Metroids.
     

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1986 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-06 18:08:28 +00:00
mport2004@gmail.com
e98a7893fa The various assemblies should be working now.
Old style bombs and suicide vests temporarily removed.
Players can now be job banned from being a pAI.
Added null checks to explosion() due to runtime errors. 
Changelog updated


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1980 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-05 07:42:24 +00:00
vageyenaman@gmail.com
247ac0b197 Fixed some Metroid behaviors and teleporting verb phenomena.
Commented out of the speech bubble code temporarily.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1979 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-05 00:20:01 +00:00
mport2004@gmail.com
98a06a5c72 Minor update
If a mode fails to start up due to the player # it will display the required number of players in the error message.
Holy water typo fixed.
If you emag an emag'd  borg it will no longer display the standard attack message.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1975 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-03 11:58:39 +00:00
mport2004@gmail.com
0f15fd1567 Few changes to how round start works.
Station Roles are picked before Syndie Roles unless it is nuke or wizard
People should no longer spawn in space because they did not get a job.
Heads and such should no longer get a role they should not have.
Rounds now have a minimum number of players required for it to start up.
Also the atmos pipes should stop exploding all over the place.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1974 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-03 05:59:10 +00:00
polyxenitopalidou@gmail.com
0f560983ce •SSU bugfixan
•Chemistry bugfixan
•Changeog updatan

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1971 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-02 23:16:01 +00:00
vageyenaman@gmail.com
0f3e6df66f Added in speech bubbles. By default, they are off. You have to go to the character setup window and toggle them on in order to see them.
Made it so the last exclamation mark when a silicon player exclaims something is not filtered out.

Removed xenomicrobes and wizarditis from metroid core reactions. Replaced xenomicrobes with Retrovirus.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1967 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-02 20:39:44 +00:00
vageyenaman@gmail.com
80d4e405b9 New DNA mutation system: see http://tgstation13.pretentiousfool.com/phpBB3/viewtopic.php?f=7&t=5584 (the code that makes this actually work has been commented out, it will be implemented maybe sometime soon)
Fixed some spelling and grammar errors.

Tweaked the cost of Large Energy Crossbow designs.

Fixed a bug where people would generate two manifest entries when they late-joined. Annoying as fuck.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1966 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-02 01:35:44 +00:00
mport2004@gmail.com
dd645687de Choking will no longer cause almost instant knockout.
The item strip window will no longer steal focus and refresh every second.

PDA:
Security/Medical records now show rank
Detective gets his own cart that has sec/med/manifest

Pipes:
They will no longer radiate heat and have more or less been removed from the process list.
This should reduce lag from the atmos system quite a bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1965 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-01 05:55:02 +00:00
mport2004@gmail.com
2224916ab9 Just some general cleanup
Moved the spacecraft folder into the unused section, moved syndiebeacon into machinery.
Research moved into Modules.
Virus2 moved into WIP - is anyone even working on this, it looks almost done?
Computer2,optics,pda2,experimental moved unto unused.
WIP Chemistry things moved into Chemical Module
Cameras.dm moved into weapons
GameKit.dm moved into unused
BrokenInHands.dm moved into unused
Removed Grillify.dm
Moved all of the files listed as unused in the mining module to unused
Removed several empty folders in modules
Moved cloning.dm into machinery
Moved NewBan.dm into admin
Changed humanoid aliens new_life.dm into life.dm
Moved beast mob into unused
Moved hivebot into unused
Moved carpedexplosion.dm into unused
Moved ai_lockdown.dm verb into unused and removed it from the AIs verb list as it didn't actually do anything.
Removed mastercontroler2.dm
Moved savefile.dm from human to new_player

Bugfix
People spawning on the starting screen on rev/cult should be fixed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1964 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-31 21:31:00 +00:00
rockdtben
937543c32e Users could dupe diamonds. I fixed that.
Insert rate was 3750 and eject rate was 1000. 

You could eject a sheet from a protolathe and get 3750 cm worth, but only 1000 cm worth was taken out of the machine.
Repeat this and you can turn 1 sheet into 50 in no time. So BUGFIXED IT. 

Credit to Midaychi for finding this bug.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1959 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-30 20:59:18 +00:00
vageyenaman@gmail.com
320ef1dd22 New virus called Retrovirus. It scrambles your UI and SE after a certain stage.
Implemented CTRL+DIRECTION KEY to face a direction.

Tweaked some drink icons.

Added in two new icon_states to genetics.dmi. It doesn't do anything yet, but I might toy with them later on.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1954 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-30 18:57:37 +00:00
vageyenaman@gmail.com
7e77eb4a85 Metroids:
- Their AI has been fixed. Previously, when they began "starving" they would lock up when they located a target. This was because I was only allowing Metroids to attack people when they were only attacked themselves.
     - Small stun time added to wrestling Metroids off or beating them off with objects.
     - You should now not be able to enter mechas, cryos and sleepers if you have Metroid on your head.


Cargo:
     - You can now cancel cargo orders.


Miscellaneous:
     - Manifests no longer show "unassigned" for everyone on round start.
     - The manifest is updated realtime, in that when new arrivals arrive or a job is changed, the information gets passed onto the central database.
     - New arrivals now generate security records, medical records, etc. Jubilations!
     - I, perhaps, have increased the efficiency of the reaction system. Preliminary tests confirmed that it's slightly faster, but I worry about whether I may have ruined someone's vision of a perfect multiple reaction system. This "change" is nothing more than adding a break; line to the end of a loop. If this proves too buggy, I'll just revert it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1952 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-29 22:08:52 +00:00
vageyenaman@gmail.com
b0e69dcd99 Bugfixes:
Fixed a boatload of runtime errors. There's so many I just completely forgot what they all were!

     Explosions / Singularities now do not gib people "one-by-one" as some people may have noticed. This looked absolutely weird.


Sounds:
     I was planning on making sounds become all distorted and whatnot if you were "high", but there were some problems. I've instead just settled with making deaf people not being able to hear non-ambient sounds at all.






git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1941 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-27 20:57:21 +00:00
vageyenaman@gmail.com
dd0c6e333e Fixed a problem with being unable to electrify insulated gloves. My bad!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1937 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-26 23:39:43 +00:00
vageyenaman@gmail.com
bce6042fb7 Bugfixes:
- Laser cannons / Heavy laser cannons should now not be all mixed up.
     - Fixed a bug where the station heads and security crew could be revolutionaries and cultists on game start.
     - If you somehow drop the "Off Hand" that appears if you equip a fire axe, it will be deleted. No more silly "Off Hand" items lying around the station, yay!
     - If you threw a fire axe when it was wielded, it would would stay wieled.
     - Metroids should now, theoretically, not be able to phase through thin windows and glass doors. There's probably still going to be some Metroids phasing through thin glass doors if the right circumstances are met (BYOND pathfinding problem, will eventually migrate Metroid pathfinding to SS13's A* system.
     - Fixed up some of Firecage's half-assed sprites. The decloner projectile in specific.



Misc:
     - Portable turrets can now be equipped with EVERY (except the "plasma gun" because it's stupid anyway) energy gun possible. I want to see laser cannons turrets, emagged energy crossbow turrets, and shock revolver turrets, people!
     - The decloner is no longer called "decloner" because that term really doesn't make any sense anyway. Does it imply that everyone in existence is actually a clone? While that does sound kind of cool, it's actually pretty stupid, so I changed the name but kept the path type "/obj/item/weapon/gun/energy/decloner".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1936 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-26 22:59:37 +00:00
baloh.matevz
7769420e4c ADMIN UPDATE
- You can now set the dir and name variables for newly spawned objects, turfs or mobs in the game-panel menu.
- Dirs are:
  - 1: north
  - 2: south
  - 4: east
  - 8: west
  For the rest:
  - northeast = north + east = 1 + 4 = 5

legal values: 1, 2, 4, 8, 5, 6, 9, 10

Leave the name space blank to keep the default name. 

If you assign a custom name for a mob, it will also be set as the real_name, meaning it will stick.

Coder note:
Names and dirs are both assigned after initialization, so they're not respected during New()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1933 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-26 18:28:42 +00:00
rockdtben
06d5c4f7cd fixed a runtime error
auto_use_power only shows up in the master_controller

following code:
***************
		for(var/obj/machinery/machine in machines)
			if(machine)
				machine.process()
				if(machine && machine.use_power)
					machine.auto_use_power()
***************

on the second line it checks if machine exists. If it doesn't exit it would go to the next machine.
So it is not null at this point.
then it calls machine.process()...
on the fourth line it cehcks again if the machine exists.
Then it calls machine.auto_use_power()

So at this point the machine has been checked twice for existence.

Now moving into aut_use_power() proc

*********************
/obj/machinery/proc/auto_use_power()
	if(!powered(power_channel))
		return 0
	if(src.use_power == 1)
		use_power(idle_power_usage,power_channel)
	else if(src.use_power >= 2)
		use_power(active_power_usage,power_channel)
	return 1
*********************
This calls powered() on the second line.

now stepping into powered() proc


**************************
/obj/machinery/proc/powered(var/chan = EQUIP)
	var/area/A = src.loc.loc		// make sure it's in an area
	if(!A || !isarea(A))
		return 0					// if not, then not powered

	return A.master.powered(chan)	// return power status of the area
**************************
the second line "var/area/A = src.loc.loc" line 26 in power.dm is what caused the problem.

It is asking for the location.

src.loc appears to be null. The reason why this call keeps happening and doesn't stop is because the object itself exists but its location does not.


So my final analysis is that src.loc == null and calling loc on src.loc gives us a runtime error since src.loc.loc == null.loc and null cannot call loc.




runtime error: Cannot read null.loc
proc name: powered (/obj/machinery/proc/powered)
  source file: power.dm,26
  usr: null
  src: Emitter (/obj/machinery/emitter)
  call stack:
Emitter (/obj/machinery/emitter): powered(1)
Emitter (/obj/machinery/emitter): auto use power()
/datum/controller/game_control... (/datum/controller/game_controller): process()
/datum/controller/game_control... (/datum/controller/game_controller): process()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1932 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-26 15:26:06 +00:00
rockdtben
a2965862b9 Fixed the following.
runtime error: Cannot read null.netnum
proc name: mergeConnectedNetworksOnTurf (/obj/cable/proc/mergeConnectedNetworksOnTurf)
  source file: cable.dm,497
  usr: Sergio Mitchell (/mob/living/carbon/human)
  src: the  cable (/obj/cable)
  call stack:

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1926 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-25 14:52:08 +00:00