Commit Graph

471 Commits

Author SHA1 Message Date
johnsonmt88@gmail.com
11a3b7e26d Pacman generators now accept their proper mineral sheets as fuel
Janitor Cyborgs can no longer make nuke ops auto-lose by picking up the nuke disk.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3673 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-26 02:29:52 +00:00
baloh.matevz@gmail.com
c2c7a3bcda - Variable declaration standardization. Big commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 19:26:36 +00:00
baloh.matevz@gmail.com
cfa1d1ed1f - Some runtime-prevention tweaks so that impatient coders don't just break everything somewhere down the line.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3665 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 16:34:10 +00:00
baloh.matevz@gmail.com
4348d6f0cb - Fixing some code typos.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3664 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 15:35:05 +00:00
baloh.matevz@gmail.com
a30aca4327 - Standardized var definition for RND and radio code (possibly some other stuff)
- Removed all cases (that I saw anyway) of flags being defined by static numbers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3663 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 14:48:47 +00:00
baloh.matevz@gmail.com
18ccabb33a - Removed support for the ONBACK and ONBELT flags.
- Replaced them with a whole range of inventory slot flags. These now govern whether an item can or can't be placed in a certain inventory slot. See setup.dm for information on the flags. These flags only affect humans tho, as humans are the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross them. I hate indented variable definitions!

This commit should not bring any change whatsoever to the game from a player's perspective.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3659 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 07:38:36 +00:00
johnsonmt88@gmail.com
fd529891ca Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades happening on other servers. (This wont stop that from happening, this just makes it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short. 26's are annoying when they have to be changed and you have to hunt through over a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate dm files but this will do for now.


*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3652 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 19:34:04 +00:00
baloh.matevz
382a676a0a - Implanting someone else now takes five seconds. A message is shown to all viewers when you start and when you finish. The person who is being implanted as well as you need to not move during this time.
- Implanting remains instantaneous if you are implanting yourself.
- Standardized implanter code

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3607 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-18 18:45:18 +00:00
ericgfwong@hotmail.com
c5e5a83a08 -r-table parts are now made by using four metal rods on regular table parts.
-Removed r-table parts from the plasteel build menu.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3594 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-14 23:11:26 +00:00
johnsonmt88@gmail.com
d2736aa6ea Committing from the Proposed Commit forum:
Work by Neek
- Hulk Hogan moustache fix

Work by Yvarov
- Alien Unconciousness fix (Fixes Issue 283)
- - Also commented out alien snoring all over because aliens don't snore.
- Replacement light box fix (Fixes Issue 398)
- Syringe gun attack logs added (Fixes Issue 465)

Work by QualityVan
- Nettle and Death Nettle force based on potency.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3593 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-14 16:47:19 +00:00
johnsonmt88@gmail.com
6951ec37ed Committed for Sieve:
Reverted dismemberment
- This is the majority of the files

Reverted the gun change
- You wont shoot yourself putting your gun away
- You don't have to fire off all of your shots before hitting someone with your gun

Reverted Tarajans
- As requested

Hotfix for the Holodeck.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3574 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-11 02:21:00 +00:00
petethegoat@gmail.com
6e2c65183b Minor cigarette fixes, and added the DromedaryCo cigarette crate as a new contraband crate.
Also added WJohnston's new rolled up poster sprite.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3566 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-07 16:45:08 +00:00
johnsonmt88@gmail.com
5424e835cd Sanitize added to agent cards and ID computer.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3556 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-04 07:26:07 +00:00
petethegoat@gmail.com
56af9d3521 Committing a new map update for Ikarrus- http://nanotrasen.com/phpBB3/viewtopic.php?f=15&t=8481&start=20#p106280
Committing for Sieve: (and WJohnston, I suppose~)
Added WJ's alien hunt sprites.
Fix for the misplaced update ID line in the PDA.dm
Slightly updated mining turfs

Also adding a define for Cheri's balaclava sprites, and a new type of cigarette packet (not available in game, currently)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3540 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-01 22:39:10 +00:00
VivianFoxfoot@gmail.com
4dfe439b1a Adds BS12 dismemberment. Not all features of it are implemented yet, but it should be equal to our previous system.
Adds greater changeling code, but doesn't change the genome count yet on it. 
Renames registered to registered_name on IDs because bs12 had it and it seemed like a good idea to do last night.  For some reason.   
Adds an afterattack to mobs that can be used.  (In fairness, lots of shit in attack_hand should be in there instead, like stungloves and stuff, to minimize duplicated code)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3537 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-01 15:33:29 +00:00
VivianFoxfoot@gmail.com
73837b0c4f AI can now ctrl-click APCs to turn them off.
Purge module no longer gives robocop laws.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3524 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-28 02:29:28 +00:00
kortgstation@gmail.com
8fee7b7240 AIs and Juggernauts/Wraiths/Artificers should no longer have random names when they ghost.
Fixed a typo in the borg manual

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3521 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-27 01:56:21 +00:00
VivianFoxfoot@gmail.com
0361469168 Changes rev objectives to use the proper objective so heads being off station actually works
Changelings faking death can no longer have their brains cut out.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3501 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-24 17:18:39 +00:00
johnsonmt88@gmail.com
5bb9a875da More sanity checks for:
- SecHUD Glasses
- Facehuggers
- Attack()

And a more likely fix for the Throwing runtime.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3479 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-19 00:49:22 +00:00
baloh.matevz@gmail.com
d1d0fd5e4f - hand tools now fit on your belt slot
- added feedback logging for newscasters
- added feedback logging for admin verbs
- added shuttle timers to escape pods
- added feedback logging to chemical reactions
- clipboard can now fit on your belt

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3465 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-16 04:00:36 +00:00
d_h2005@yahoo.com
f8119f602b -Blenders can now be filled directly from plant bags. Chefs rejoice.
-Couple of minor grammar fixes, so people aren't carving faces into "the the pumpkin" any longer.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3448 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-13 06:13:21 +00:00
VivianFoxfoot@gmail.com
af91cffbe6 Change to secret room spawning to make sure there's actually an asteroid to spawn them in
Headwear that covers the eyes now protects drop droppers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3436 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-11 15:26:50 +00:00
elly1989@rocketmail.com
d775e1ac80 Runtime fixes for:
runtime error: Cannot modify null.layer. proc name: done (/obj/effect/equip_e/human/done) usr: Ramona Fawkes (/mob/living/carbon/human) src: the human (/obj/effect/equip_e/human)
call stack: the human (/obj/effect/equip_e/human): done() the human (/obj/effect/equip_e/human): process()

runtime error: Cannot execute null.use(). proc name: attackby (/obj/structure/barricade/wooden/attackby) usr: Jeffery Long (/mob/living/carbon/human) src: the wooden barricade (/obj/structure/barricade/wooden) call stack: the wooden barricade (/obj/structure/barricade/wooden): attackby(null, Jeffery Long (/mob/living/carbon/human)) the wooden barricade (/obj/structure/barricade/wooden): DblClick(the floor (159,129,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=15;icon-y=12;left=1;scr...")

Rewrote wielded weapons to be their own weapon subclass. There was no point having a var/wielded var/twohanded var/force_unwielded var/force_wielded for every damn item when there is only 1 wield-able weapon anyway. All the wield-able stuff is now in twohanded.dm

Changed the adminhelpsound to some creative commons sound I pinched. Until somebody can get a better one. I'm sick of MAAAAAAAAOOOOOOW.

All PMs trigger the adminhelp sound. That means when you OM a player they get the sound, if a admin is PMed they only hear it if their adminhelp sounds are enabled. This should allow people to get eachother's attention when t he chat is busy.

Fixed some bad code with poddoors (which is used for the shutters in QM)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3435 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-11 05:01:44 +00:00
petethegoat@gmail.com
cbad29832e Sieve committed:
Adds disabled variables to borg and mech RCD
RCDs are disabled if they are used on the escape shuttle or hyperspace around it
This applies to what they are used on, not where the user is, so it is immune to teleporting issues

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3434 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-10 23:57:23 +00:00
d_h2005@yahoo.com
11a30e09b4 Bugfix: Pumpkins no longer disappear while growing in trays.
Bugfix: Potatoes and Pumpkins can be picked up in plant bags again.
Bugfix: Trying to make one of the new hydroponics items when the object is not on the ground (in-hand, backpack, etc) now works properly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3405 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-06 00:14:09 +00:00
johnsonmt88@gmail.com
839a80ef92 Disposal and welding helmet exploit fixes:
- You can no longer toggle the welding helmet when stunned or restrained.

- You can no longer give yourself all-access via-disposals. Living mobs and living mobs inside of a container cancel their holder's destination. This still allows people wrapped in lockers to be sent to their proper destination, however it would require someone on the other end to open it. So it's their fault for not dragging it out before opening it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3400 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-04 02:31:35 +00:00
vageyenaman@gmail.com
80a063ef41 Stuff from SkyMarshal
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3395 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-02 23:46:06 +00:00
d_h2005@yahoo.com
3e6b0a2e61 More Hydroponics content, mostly!
-Added pumpkin pie and slices. Made with 5 milk, 5 sugar, 1 pumpkin, 1 flour, 1 egg.
-Added carved pumpkins/jackolanterns. Carve them with any of the usual things you use to carve things. They work similarly to hardhats.
-Eating corn now makes corn cobs. Carve them with a saw, a knife, or a hatchet to make a corncob pipe. Set up class for smoking pipes to make it easy for others to add more pipes as desired.
-Added the bit of transparency to biohelmets that they were always supposed to have, fixed the scientist helmet being over too far by 1 pixel when facing right (OCD)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3389 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-01 18:50:27 +00:00
elly1989@rocketmail.com
fcb10e6e32 Runtime fix for paint
Shuttle call/recall announcements are now more noticeable. Removed a few ways they could be spammed.
Cats and Dogs can see in the dark.
Recommitted some of the poop stuff by Doohl because, hell it's only one day and I don't hate fun.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3382 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-01 06:39:22 +00:00
VivianFoxfoot@gmail.com
79b537ce5b Adds a dummy process() to /obj/machinery/door so that doors aren't removed from the machine list. Best guess, all machines call process automatically, and because doors didn't have an explicit one defined, they automatically called the one that removed them from the list.
Adds a borg deathsquad to the map.
Few more fixes to the tensioner.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3374 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-30 06:19:30 +00:00
petethegoat@gmail.com
d4a2a37b50 removed paint with muskets' permission
it sucked

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3369 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-28 19:41:12 +00:00
daniel.cf.hultgren@gmail.com
99d894c168 Say woo for first commit!
- The alarm needed some more userfriendlyness:
* Spelling sorted
* Turning off PANIC SYPHON now sets scrubbers to scrubbing (default) instead of off.
* Instead of the stupid timeout and VENT NOT FOUND HURRDURR they will just get removed from the list. They were clogging that vent list up as fuck
* Vents pressure settings now have an extra href which resets the vent to ONE_ATMOSPHERE kPa (101.32 or whatever it is)

- The "Outlet position is obstructed" error message when opening exofab now only appears if the turf to south is obstructed, not to east like before.

- AI Modules use attack_self instead of attack_hand

- Fixed chatspam with reverse() and made the explode function use the builtin ss13 one instead of my custom, it proved to be faster.

- Added my self to the changelog, because I can!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3367 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-28 15:27:23 +00:00
quartz235@gmail.com
739176b13b Fixes Issue 432
- No more recursive photos to infinity
- APC COPY APC COPY APC COPY APC COPY has been removed

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3363 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-27 00:22:46 +00:00
VivianFoxfoot@gmail.com
587dfb813c Attacklogs now show the damage type done by a weapon.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3359 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-25 15:44:21 +00:00
VivianFoxfoot@gmail.com
c9544fdbd4 Fixes the way the safeguard module is written.
Adds a new high-risk module for fun.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3355 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-24 04:11:30 +00:00
quartz235@gmail.com
d22c7cd6d5 Fixin runtimes and wooing the hot womenfolk
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3340 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-23 00:45:53 +00:00
quartz235@gmail.com
806cda7203 Fixes issue 431
- Telecomm traffic control now has its own circuitboard and doesn't transform in to a server when the monitor is disconnected/reconnected

Small fix for flamethrower
- Using an igniter on a flamethrower that already has one attached no longer uses up the igniter

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3324 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-19 23:07:20 +00:00
petethegoat@gmail.com
c0a90613b4 Whoops! Turns out we needed that attackby.
This will fix the "X has hit floor tiles with the floor tiles!" bugs.

Thanks to Nodrak for spotting the cause.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3319 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-17 18:19:53 +00:00
petethegoat@gmail.com
d0308b3f64 Fixed and further improved package wrapping. Added a sprite for wrapped closets.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3302 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-15 21:02:36 +00:00
kortgstation@gmail.com
1ed1bcb049 Secborgs no longer have a taser, but are now as fast as humans and are unpushable. This is just a test so don't go crazy. It (probably) won't be permanent.
Nuke teleporter board now costs ten crystals.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3271 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-11 21:06:22 +00:00
petethegoat@gmail.com
2aa40bd30f Fixed issue 286. DNA machines now have to recharge the injector when they're first built.
Fixed issue 388.
Fixed issue 403.
Fixed spaceheaters appearing to be off when they are both off and the hatch is open.
Fixed being able to waste rods out of existence by building them where lattice already exists.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3268 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-10 17:57:08 +00:00
joe.heinemeyer@gmail.com
bb16e6d1b1 Speed things up yet /AGAIN/ and added an improved UI to the detective's scanner's dossier screen.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3262 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-08 00:59:10 +00:00
petethegoat@gmail.com
0a0f97ef0c Large bureaucracy overhaul.
This affects clipboards, hand labelers, paper, paper bins, pens, photocopiers, and stamps.
Everything (that I've changed significantly) should be BETTER.

NO paths have been changed.
All of the above have been added to the paperwork module (pending rename to bureaucracy, which is COOLER).
SPRITES for most of the above (except photocopiers) are now in bureaucracy.dmi.

Clipboards in particular are MASSIVELY IMPROVED.
Hand labelers can now be turned ON AND OFF, to make it simpler to avoid labelling tables.
This includes work in progress FOLDERS, which currently do NOTHING.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3253 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-05 00:23:05 +00:00
vageyenaman@gmail.com
d5bff25b5b Modified TK to be more effective and polished. You can use the TK grab to interact with machines and stuff from far away (but you cannot pick them up!). This means you can also bonk people with items you are holding with your TK grab.
Changed the energy gun sprites to a better-looking version, made by Khodoque!

More work on NTSL. Including the ability to create comments by using // and /* insert comment here */.

Removed the traffic control machine from telecomms, as requested by Urist. NTSL is still a work in progress, and needs to be completely fool-proof before players can get anywhere near it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3252 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 21:41:51 +00:00
joe.heinemeyer@gmail.com
5a3e58836d Added proper handling of fingerprints to fingerprint cards, added more info to a function on the detective's computer.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3248 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 03:19:25 +00:00
joe.heinemeyer@gmail.com
37d1db8ea7 Should fix the massive between round lag. Fucking gooncode.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3247 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 02:18:02 +00:00
kortgstation@gmail.com
38cf36bc36 You can no longer buckle people to roller beds from an infinite distance or as a ghost.
You no longer see hand labels applied while unconscious.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3246 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 01:49:55 +00:00
joe.heinemeyer@gmail.com
113beeb052 BS12 Detective Work port.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3229 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-02 05:23:08 +00:00
musketstgstation@gmail.com
ddc7f45a13 Integrated BS12's improved uplink code, courtesy of SkyMarshal.
This means items now spawn in your hand if possible, items are sorted into categories, and only items you have enough telecrystals to purchase will be displayed.  Also, the same basic code is now used for PDA, headset and nuke-round uplinks, and it should be easier to add new items.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3216 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-29 22:50:14 +00:00
vageyenaman@gmail.com
251ab4c5f4 !!! The insane crashing has FINALLY been fixed !!!
Metroids can no longer pick up donut boxes by drag/drop methods.

Fixed a disposal runtime error.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3203 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-27 02:17:41 +00:00