Commit Graph

78 Commits

Author SHA1 Message Date
SkyMarshal
4524a2ff10 Disposals for mining, final blood_DNA stuff, cleaned up more code, fixed some scattered bugs, added 50% chance to end up in deep space. 2012-02-29 13:48:16 -07:00
SkyMarshal
50ffc5409c Fixes for some DNA/Fingerprint stuff
Fixed explosions autogibbing corpses at any power (WHY was this there?)
2012-02-26 16:34:16 -07:00
SkyMarshal
7631f9c32c Fixed #460, #456, and #478
Cleanbot autopatrols now
Ghosts can see PDA messages, a PDA will show you the fingerprints if it is complete enough (Security scanner)
Display case can be repaired.
More update_clothing() calls
Disabilities have their own window, now.
Removed the genetics scanner, go use yer penlights!
2012-02-21 18:58:28 -07:00
SkyMarshal
feef637419 Delagged singularity.
It will now grab and slow down any humans when it tries to drag them in, and tell them:
"\red The singularity has you in it's gravitational pull!  It's hard to break free!"
And adds 20 to their movement delay (can be adjusted later)
All the DNA superpowers work now.
Readded fatness as sprite only, can only be triggered by admins (some people were complaining about it being unavailible for adminstoff, so now they get a taste of how bad the sprite is.)
To trigger fatness, modify the "mutations" variable to a value of 32
2012-02-19 18:19:12 -07:00
SkyMarshal
a36982a677 DNA and chooseable disabilities! Yaaay! 2012-02-17 19:38:30 -07:00
SkyMarshal
58d7da9008 Missing blood_DNA now goes into admin logs and stuff. 2012-02-15 10:26:22 -07:00
SkyMarshal
b5c1d99471 Added some more feedbacks on the blood_DNA stuff
Fixed up some chemistry stuff
Nitrogen now adds atmospheric nitrogen when splashed on the ground.
2012-02-14 21:34:52 -07:00
SkyMarshal
5e332d297d Added a sanity check, added some feedback stuff to help identify WTF is happening with blood. 2012-02-14 19:58:21 -07:00
Mloc
b690b1386f Hotkeys here! Adds alt-click (pull object), ctrl-Q and ctrl-E (cycle backwards and forwards through the intents).
Signed-off-by: Mloc <colmohici@gmail.com>
2012-02-13 20:18:17 +00:00
Head
bff5a0fecc Added new shortcut for examine (ctrl + left click). 2012-02-10 20:36:55 +01:00
SkyMarshal
8b62eff01a Cleaned up the fingerprint code
Added sanity checks to the clean blood proc.
2012-02-09 09:42:08 -07:00
SkyMarshal
1f25c49c06 MOAR BUGFIXES 2012-02-05 21:56:12 -07:00
SkyMarshal
85ee6ae562 Fixed a warning with meteors, HAWK: COMPILE DAMMIT
Blood now works properly.
2012-02-05 11:52:42 -07:00
SkyMarshal
7a4b21382e Fixes for *custom v/h emotes
Blood type is now a variable of the DNA datum
Fixed runtime from blood
Fixed the AI prompt being missed.
Added breath holding.
2012-02-04 14:17:17 -07:00
SkyMarshal
4290c35af8 Several detective fixes. 3 hour tape recorder. 2012-02-02 21:41:30 -07:00
SkyMarshal
0e15736ba9 Fixes for gibber and detective computer.
Fixed some hallucination and fingerprint stuff.
2012-02-02 19:30:12 -07:00
SkyMarshal
3b9efc849e Updates to fingerprints/bugfixes. 2012-02-02 12:22:46 -07:00
SkyMarshal
2ed57e0cc6 Finished up the last parts of my fingerprints work. Added a rag which lets you smudge away prints, and sinks do the same.
Added hallucinations properly.
Added LSD (with hallucinations.)
Remapped slightly.
2012-02-02 00:35:48 -07:00
SkyMarshal
e7a7b8017d Fix for fingerprints. (They work right, now!)
Fixed the runtime related to brainmobs (sanity check)
do_after now works right.
Added the Decapitate objective, that is admin only ATM, which requires you remove their head and take it on the escape shuttle.
Fixes for a lot of surgery related bugs
Added a prompt to AI players when they are greeted, warning them not to stalk the traitor and so on.  Cacophony and Spaceman approved of it.
Sanity check for limb removal and blood stuff.
Added in sprites for a Syndicate statis/sleeper for a secret thing I have planned!
2012-01-31 21:23:37 -07:00
SkyMarshal
6e3aef823a Fix for wardrobes and lockers.
Fix for Fingerprints.
2012-01-31 17:58:22 -07:00
SkyMarshal
80be80a4c1 Bugfixes!
Fingerprint sanity checks
Mulebot sanity checks
Traitor objectives work, now
Some mapping errors fixed.
Attempted fix for solar tracking.
2012-01-31 15:00:46 -07:00
SkyMarshal
beffc2299a Final updates on Fingerprints
fix for traitors getting assassinate and protect targets for the same person
Ported blood rejection
2012-01-31 02:01:39 -07:00
SkyMarshal
6648061dcb MAJOR UPDATE: Detective/Fingerprints update
bugfix for wardrobes
blood type is now handled by datum/dna, and blood_DNA for atoms is a list of list, each sub list containing DNA and blood-type. (This allows multiple blood splatters)
added BS12 give command and explosives
Map update to remove blob spawn.
2012-01-31 02:01:38 -07:00
SkyMarshal
5dba3ccf88 WIP on detective work overhaul
Give command ported, with more sanity checks (It works, now!)
Added BS12 c4 in addition to TG c4
Fixed server air alarm
Book length increased 3 fold.
Blood and gibs now maintains DNA
Fixed evidence bags
Ported the awesome BS12 handcuff stuff, with flavor text.
2012-01-31 02:01:37 -07:00
SkyMarshal
4b1359e722 Removes odd (and buggy) Z-levels 7-12 that are randomly generated on Sandbox and Extended. I put 10 dollars that this was goon code. 2012-01-29 03:49:35 -07:00
SkyMarshal
0d7ce5f347 Port of the TG radio system. Tasty and I tested it out and it works smooth and clean :)
We were able to restore functionality after we blew up half the radio equipment, as well.
AI satellite is now the Comms satellite.
2012-01-17 00:12:30 -07:00
cib
40fb4bb628 Mucus and a few fixes to vira.
Added mucus that is added to the map sometimes when sneezing or coughing. Blood now carries the spiller's virus2. Fixed a problem with virus spreading.
2012-01-01 20:50:46 -08:00
StrumpetPlaya
32811b1b9d Fixed runtime error involving cyborgs and fibers.
Also changed Show Server Revision at Head's request.  Can't really test it
locally so hopefully this is what he meant.
2011-12-10 11:27:48 -05:00
Miniature
af301633f6 Merge branch 'master' of git://github.com/Abi79/tgstation13-git
Conflicts:
	baystation12.dme
	code/defines/obj/vending.dm
	code/game/machinery/vending.dm
	html/changelog.html
	maps/tgstation.2.0.8.dmm
2011-12-07 07:53:20 +10:30
StrumpetPlaya
4489db546d Added detective stuff - fibers.
Left out bloody footprints for now.  Not sure we want that with the
current system of corpses dropping blood spatters all around when dragged.
2011-12-06 07:12:19 -05:00
uhangi@gmail.com
44c0cfc46d -Adding pepper spray for security officers.
-Fixed a storage bug for chemsprayers and space cleaner

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2618 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-04 22:42:18 +00:00
rockdtben
9aecc4286b Implemented more getters/setters for damage system.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2555 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-26 12:58:15 +00:00
vageyenaman@gmail.com
c8452fa96b ◦ When equipping corgis with objects, their icons immediately update. Fixes a bit of visual lag.
◦ The kitchen and booze vending machines have some changed commodity values. Most importantly, kitchen has more eating utensils and trays.
◦ Changed the afterattack() and DblClick() to have the (location,control,params) parameters.
◦ Added a new radio filter, "RADIO_MAGNETS".
◦ Mucked around with /datum/signal. Just an extra variable and another comment.
◦ Guns' afterattack() proc now carries location,control,params.
◦ Projectiles now track exactly where the player clicked on a tile. Pretty neat, huh?


New stuff:
   ◦ A new machine has been added: magnetic generators. They fit under floor tiles and can create dyanmic magnetic fields by directing ionized proton/electron beams to another tile.
   ◦ Another machine/computer was added that can control these magnetic generators. These machines come with their own pseudo-scripting engine for directing the magnetic beams magnetic modules create. They're not really complete yet, but they work for the firing range. I plan on expanding on this maybe sometime in the future, creating more applications for magnets elsewhere.
   ◦ Firing range things have been added, including target stakes and targets (both sprited by Veyveyr). You can mount targets onto target stakes and shoot them. Pixel-precision aiming has been applied to the targets (ONLY THE TARGETS!) so that you can see where you shot it and whatnot. You can literally blow holes through the targets until they collapse on themselves.
   ◦ Added a small little manual to the firing range on how to use the new stuff. It hopefully isn't too complicated to use.


    

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2543 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-23 02:00:18 +00:00
rockdtben
f733c08847 Implemented adjustToxLoss(amount)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2535 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-20 00:12:49 +00:00
baloh.matevz
bcda8f9a28 - More work on the new click proc. Added a 1s delay for all hand interactions:
- Added an exception for the application of a delay when you're targeting an item that you are holding. So there is only a 100ms delay when putting items in your backpack, taking them out, juggling stuff in your inventory, etc. It was about 1s before.

So the delays between uses are now:
- When targeting items that you aren't holding:
- - items with USEDELAY: 2s delay
- - items with NODELAY: 0.1s delay
- - items with neither: 1s delay
- When targeting items that you are holding
- - all items: 0.1s delay

There is one more problem with pathfinding where windows don't properly block clicking. This is the last thing that needs to be addressed, then it should finally be ready.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2446 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-29 18:00:05 +00:00
mport2004@gmail.com
9ca449bf7a New WIP TK system added. To activate your TK click the throw button with an empty hand. This will bring up a tkgrab item. Click on a non-anchored (currently) non mob Object to select it as your "focus". Once a focus is selected so long as you are in range of the focus you can now click somewhere to throw the focus at the target. To quit using TK just drop the tkgrab item.
The captains laser, aegun, and xbow recharge a bit slower now, they recharged so fast that you almost never had to stop shooting. 
Cleaned up the cyborg_modules file
Medical and Security borgs have a hud item.
Medical bots bottles hold 60 of their chemical (up from 30).
Medical bots now have three syringes that are labeled "Syringe-(Inaprovaline)", "Syringe-(Anti-Toxin)",  and "Syringe-(Mixed)".
Medical bots now have two kelotane/dexalin pills (up from 1/ea).
Engineering bots got a new RCD thats just like the old one but the code is cleaner and meant for borgs only.
Husks brains can no longer be cut out.
Healing hands code has been removed till whoever wants to finish it adds it to a place that is NOT the base click procs.
Added veyveyr's nuke team weapon.  Its more or less the Uzi with a new icon.
Nuke teams also got a bit of extra ammo and a few more pinpointers/eguns in their locker.
Glass doors will not set opacity to 1 after they close.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2431 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-27 08:37:40 +00:00
mport2004@gmail.com
46a7143e3a Energy projectiles work again.
Rewrote the job selection system to use bitflags and the jobs are now objects.
Fixed a path conflict with effect which caused a few things to be unable to be clicked on.
Commented out the job.txt, Urist if you still want it to load from the .txt give me a yell and I can update it to work with the job objects.
Fixed up the bits that were missing the slightly updated mob organ attack code.
Moved the traps file into unused.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2340 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-11 07:52:30 +00:00
mport2004@gmail.com
17ed3899c4 Fixed the map/code issues that the body bags caused.
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work. 
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more.  More random name monkeys will help with changeling and clean up the observe/mob menus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 10:28:57 +00:00
baloh.matevz
e8c6b08419 - Object tree grouped a bit more.
Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.

Effects contains objects which are either landmarks, triggers, spawners or decal.

Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG

I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 06:54:28 +00:00
baloh.matevz
30a9bea8e1 - New click proc now uses the following delays for clicking. This means that you are unable to click anywhere until the delay time has passed.
- attackby uses a 1s delay,
- attack_hand and varieties and attack_self use a 0.2 second delay,
- clicking the HUD has a 0.2 second delay,

Items with the USEDELAY flag set the attackby delay to 2s.
Items with the NODELAY flag set the attackby delay to 0.2s.
Items without either of the two flags (most) use the standard 1s delay.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2262 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 15:48:35 +00:00
baloh.matevz
517dd55abe - Made a beta version of the new DblClick() proc. As per my testing it is far more efficient than the old one. The click-proc is ready for ingame testing. To initiate a test, use the "Toggle NewClickProc" verb if you're a game admin or game master.
- The following procs have been added: ismetroid() ispAI()
- Using the new click proc adds support for the following new procs: attack_robot(), attack_ghost(), attack_admin(), hanr_r(), hand_m()

Proc description:
- attack_robot() is the proc that gets called when a cyborg clicks on any atom without having a module selected. It defaults to attack_ai() and for the moment always calls the default as there is no separation.
- attack_ghost() is the proc that gets called when a ghost clicks on any atom. It defaults to examine()
- attack_admin() is the proc that gets called when a ghost with admin status clicks on any atom. It defaults to attack_ghost()
- hand_r() is the proc that gets called when a restrained cyborg clicks on any atom. It defaults to hand_a(), which is the the proc for a restrained AI, whatever that means.
- hand_m() is for when a restrained metroid clicks on an item.

Please note that the new click proc drops support for the HEAL mutation. Let me know if this mutation is important. All I can tell you is that it doesn't belong in this proc.

- Moved the mob/Delete() proc to mob.dm. Doubleclicking /mob in the object tree will now throw you to mob.dm instead of some random datumvars.dm.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2256 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 19:48:06 +00:00
baloh.matevz
b4193b0f0e - Baby steps in rewriting the DblClick() proc. Will work on it later.
- Removed all effect of wizarditis. The disease still exists but has absolutely no effect on anything. And no, this is not a removal only from the game world, it's a removal, period. Admins don't have it either. As I said however, the disease exists so you might see wizarditis as a diagnosis on your medical scanner, it won't have any effect tho.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2252 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 01:44:58 +00:00
baloh.matevz
7144a1fdb6 This commit adds nothing new to the game whatsoever, the only thing it contains is comments about how the DblClick() proc works. It took me a few hours to decipher it, so hopefully the comments will save you some time.
DblClick() is the proc which determines what proc will be called when you click on the screen. (Single clicking also calls this proc btw, in case you're confused.)

So DblClick() is the proc which then calls attack_hand(), attack_ai(), attack_paw(), attackby(), afterattack() and the hand_h(), hand_ai() and simmilar proc for when you're restrained. 

In case you noticed one common proc missing, attack() is called in a mob's attackby() proc, which originates from here. So the cascade for that is
Click() > DblClick() > attackby() > attack()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2251 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 19:56:16 +00:00
baloh.matevz
089d548825 - Small lights (Bulbs) now emit a constant 3 units of luminosity instead of the rand(3,6). Tube's luminosity is still random: rand(6,9).
Screenshot: http://www.kamletos.si/ss13-dim%20lights.PNG (Note that in this screenshot, tubes were set to a flat 6, this is not the case in the commit tho. So only look at lights with bulbs, most of which are in maintenance shafts)
- Space kudzu added (Original code and sprites donated by I Said No). Currently admin-only. Spawn the spacevine_controller to start the spreading of kudzu
Screenshot: http://www.kamletos.si/kudzu2.png (This was after 15 minutes of unattended growth.)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2226 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-19 04:56:49 +00:00
mport2004@gmail.com
c612827472 Singularity absorption explosion range lowered and is now dependent on singularity size.
BoH is no longer an instakill on a singularity, the chance the singularity will die from bombs now 25% from 10%.
Finished removing Metabslow from the game because delaying Interface rebuilds is a bad idea.
Sadly THE SUN is gone due to lighting lag issues, the current mob max luminosity is set to 7.
Damage and stun from doors shocking people has been lowered.
process() is now an obj level proc as it was already used by several procs and they can now jump onto the ticker if needed. 


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2199 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-14 07:24:19 +00:00
baloh.matevz
5834c940e6 - Ian now chases food and eats it if he can.
- isanimal() and iscorgi() procs have been added
- attack_animal() added for all atoms, called when an animal attacks (clicks on) an object within range.

- attack_animal() proc added to food. Simple animals don't process reagents, meaning they can eat anything whatsoever. Corgis can take 5 bites out of any type of food. Ian will chase the food himself, regular corgis won't due to lag concerns.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2183 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-12 05:25:55 +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
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
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
musketstgstation@gmail.com
bc1ba41731 Fixed some improperly merged files.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1871 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-16 23:22:42 +00:00