Commit Graph

10065 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
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
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 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
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
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
Cael_Aislinn 6ded63b850 various potential runtime / crash fixes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 03:11:45 +10:00
Cael_Aislinn 626c782ff2 new xenoarchaeology tools, basic datum for xenoarch work (WIP stuff)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 02:37:01 +10:00
headswe 8103abcd9f Merge pull request #1583 from CIB/cib
Full wound system rewrite - Tested and ready to merge
2012-08-10 09:18:28 -07:00
Cael_Aislinn c6cef3ea98 moved and tweaked the xenoarch finds a bit
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 02:17:07 +10:00
Cael_Aislinn 1bd9e86b84 added chemistry cooker (bunsen burner) and the capacity for recipes that require heating
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-11 02:16:04 +10:00
elly1989@rocketmail.com 91d55900ff Resolves Issue 757
Cause: Those min() and max() were being called unnecessarily and were skewing the sd_lumcount values.

Rebalanced darkness a little.

Possible issues: Lights seem to have a longer range now. which could possibly explain the increased cpu use of sd_lighting recently.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4356 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-10 15:13:14 +00:00
Mloc 43b255f867 Made adminhelps go to the moderator channel.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-08-09 21:43:45 +01:00
giacomand@gmail.com 35c0740f22 -Added a plasma_rate and heal_rate variable for Aliens. This will make it easier to tweak balance changes.
-Made all aliens use this when determining how much to recharge/heal.
-Deleted handle_enviroments which overshadow the base alien one.
-Made maxHealth actually do something. Every alien caste had their own updatehealth which did not use maxHealth, which was very stupid.
-Fixed an issue where a player could accidentally pick a breed of alien when typing. Larva will now have to use the evolve verb in order to evolve.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4353 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 19:26:52 +00:00
elly1989@rocketmail.com 7d7fb4abaf Fix for r4350
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4352 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 18:04:38 +00:00
giacomand@gmail.com 02cd103eb8 -Reverted Alien life.dm changes. Changed healing on plasma to -5 for each damage type. Added -5 OxyLoss for when on plasma weeds.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4350 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 17:34:10 +00:00
quartz235@gmail.com 63268d45de reverting r4348 since we're in a feature freeze and apparently changing a numeric limit on something that in no way impacts the code or anything outside of personal fluff is a "feature"?
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4349 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 16:40:23 +00:00
quartz235@gmail.com 257e0772bc Increases the age limit to 80 in case someone wants to play a geriatric spaceman who is tired of young men on his lawn.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4348 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 15:08:01 +00:00
elly1989@rocketmail.com df75514318 Preparations for minds - Part3.
Replaced mob/var/original_name with datum/mind/var/name.

Halved the speak-chances of every simple-animal because that constant squeaking was insufferable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4346 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 12:40:17 +00:00
Cael_Aislinn dca3f3bd8a reworked/verbosified some zas debugging, added additional zas debugging, made kill_air available to game_admins as well as game_masters, increased runtime check sensitivity to aid in debugging
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-09 18:12:59 +10:00
Cael_Aislinn 15fa23331b custom id cards should be able to access atms
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-09 14:51:59 +10:00
elly1989@rocketmail.com 6b56ef27ac Fix for admin-ghosting. Admins couldn't re-enter body after using set-observe.
Cause: I forgot to set the ghost's can_reenter_corpse to 1 after I changed something.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4344 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-09 01:36:19 +00:00
elly1989@rocketmail.com 81bff7c5f5 Important!
Minds part2 - Carn loses her mind.

The way datum/mind stuff works has been changed a lot. I really can't explain everything. If you have any questions it'd just be easier if you leave a comment or ask me in coderbus.
Generally, minds now represent IC characters rather than following a client around constantly. Minds can change owners, mobs, (names WIP).

Technical babble:
The var/current and var/original variables of the mind datum must always be of type mob/living (or null). Please do not mind.transfer_to(ghost_mob). If you want to ghost somebody use ghostize()! It will do all the technical stuff for you.

mob/dead/observer/var/corpse was removed. mob/dead/observer/var/mind is now used as a reference to the last mind the player had (so respawning code has something to reference), but also because mind.current is a far more useful way of tracking a corpse. If somebody triggers a mind.transfer_to() call on your corpse, your mind will be tranfered to another mob/living or something...that will then be considered your corpse. This could allow for more interesting mind_transfers. For instance, the "raise corpse" rune ghostizes any player in the corpse to be raised and selectes a random dead player to take possesion of their character! The person possesing them will have all of their memories, objectives, etc. The poor guy who was originally the owner cannot re-enter body if there is another player in his body...but if that player is ghosted he can once again return. Exorcisms anybody?

Changes to cloning and hydroponics. I will likely have to rework these later as they're hacky as hell right now.

A lot of stuff is now handled by Login/Logout rather than in hundreds of different places. One such example, mind datums get their variables updated at Login and Logout.

Fixed a few minor bugs. I'll update the issues manually in a bit because I literally cannot think atm.

TL;DR guide:
-If you want to make somebody a ghost use ghostize(). Or you will need to find a doctor to stitch your bits back on. :)
-You don't have to worry about making minds. Simply doing key="carnwennan" or whatever will either: A) make a new mind and initialise it if there isn't one or B) take possession of the mind currently attached to the mob.
-It's safe to transfer a mind even if a key isn't in-body (e.g. they are ghosted/admin-observing etc!) Minds have an active variable which tracks whether they are currently synced with a key. This is to avoid dragging ghosts back into their bodies when say, a wizard mind_transfers them.
-Transferring a mind whilst var/active=1 will cause the following: mob.key = mind.key. So no need to do that separately (in fact you'll lag things if you do, so don't)
-If you do want to initialize a mind manually, say if you don't have a client to login to the mob yet, simply do new_mob.mind_initialize(). Simple! When someody is logged into that mob they will take ownership of the mind and it will sync up.

NOTE: a lot is probably broken since this is a pretty massive change. Please let me know asap (with actual info! Shouting at me, "IT BORKED HALP", doesn't help)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4342 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 20:51:55 +00:00
johnsonmt88@gmail.com 0225ed33b7 Cleanup of proc/helpers.dm
Split a bunch of procs in helpers.dm into new files:
-helper_list
-helper_text
-helper_type2type

These files are sorted into groups internally. Hopefully people will make it easier for people to find useful procs.

I've added comments to a good chunk of these procs as well explaining what they do.

I've removed a few unused or unnecessary procs and fixed up a couple that were not working as intended.

I've also moved a mob proc 'get_equipped_items()' into mob/inventory.

All of the non-helper.dm files (besides mob/inventory.dm) are the result of fixing duplicate procs. It seems that there used to be text searching procs where one was case sensitive and one was not, and at some point someone removed the case-sensitivity of the case sensitive procs. I've re-added the case-sensitivity and as a result, I've had to go through extra files and ensure that they were calling the proper proc.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4341 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 19:32:08 +00:00
giacomand@gmail.com 5dac189480 Fixed issue 758. it will stop overflowing now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4340 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-08 18:52:56 +00:00
Cael_Aislinn 9307b00513 tweaks to simple_animal emotes
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-09 04:42:44 +10:00
Cael_Aislinn 34000482c7 additional zas debugging, kill_air output made a bit more informative
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-09 04:42:26 +10:00
Cael_Aislinn 06f223ec6a ghosts properly retain their human names
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-09 03:29:20 +10:00
Mloc 0d94175887 Merge pull request #1585 from comma/master
Surgery fixes and tweaks
2012-08-08 06:44:45 -07:00
comma 138e41dd54 Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	code/game/objects/items/weapons/surgery_tools.dm

Did not do a pull in ages, all constants I sued in surgery code got renamed.
2012-08-08 13:21:47 +04:00
giacomand@gmail.com a5ff8f581b -Fixed issue 741, Aliens now recover a small amount of oxygen loss when not in critical. Weeds will also help heal you.
-Fixed issue 742, the transfer will now use the absolute value.
-Fixed issue 743, someone forgot to change the label and the amount it takes. It was originally 200 but it was changed to 50.

Cleaned up alien/life.dm by removing unneeded code.
Made it so weeds don't heal you so god damn much.
Buffed eating people to heal you, now that nutriments are not handled.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4334 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-07 15:07:25 +00:00
Cael_Aislinn e4600a8fa7 tweaks / fixes to carp a bit, removes munchkin from tgstation.dmm
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
2012-08-07 21:23:55 +10:00
cib c6054e06ec Fixed a derp with damage types. 2012-08-07 00:18:53 -07:00