Commit Graph

366 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
uporotiy
7c865548c5 Sanity check for facehuggers.
Sanity checks galore for simple_animals (if(list) behaviour seems to have changed lately).
Humans once again get their bodies burned into husks in fire. This only changes their appearance and name now, however, leaving their DNA intact.
WIP space worms.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3140 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-17 19:26:14 +00:00
petethegoat@gmail.com
f41b5cbabb Fixed projectiles going into disposals.
Made the rapid syringe gun a subtype of the syringe gun, and reduced it's capacity to four syringes.
Fixed the examine bug on syringe guns.
Added a new sprite for the regular syringe gun.

Added a new door for research. It's also used in robotics.

Updated the air injector sprite.

Fixed some pepperspray spelling errors.

~~REMOVED~~: the energy crossbow and chemsprayer from R&D.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3138 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-17 15:22:42 +00:00
baloh.matevz
42fa87c2b2 - Putting a normal or a gold ID card into a wallet now properly updates the sprite. The sprite that's chosen is the sprite of the card which is first in the list of items. Removing an ID from the wallet also properly updates the sprite.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3106 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 21:00:03 +00:00
baloh.matevz
37c7a57054 - Dropped support for attaching photos to ID cards. The feature was never fully implemented and the information you got from them was misleading and wrong.
- Backpacks max_combined_w_class is now 21 instead of 20, meaning it can store 7 box-sized items instead of 6 box sized items + 1 small item (which the box is supposed to hold anyway)
- Added many fire alarms around the station to areas that either lacked them or where they were too rare
- Added 4 hazard vests to the atmospherics departments for atmos techs who prefer hazard vests to firesuits.
- Added these changes to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3092 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 15:03:33 +00:00
baloh.matevz
d070a44078 - Power alarms on z level 1 now update to their proper alert level state when spawned. They now spawn with the green alert level overlay at round start.
- Removed the window/north, window/east and the other dir-specific window subclasses
- Request console global announcements no longer have the leading space
- Wrenching wooden table parts now gives wood instead of metal
- Replaced the engineering singularity viewing cameras with EMP proof cameras

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3085 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 05:37:58 +00:00
kortgstation@gmail.com
58be707695 Added a partially constructed teleporter to the syndicate (nuclear) shuttle. It is behind a blast door operated by the same computer that opens the outer airlock to prevent the operatives from using it will still on the centcomm Z level.
A teleporter circuit board has been added to the nuke radio, and can be purchased for 20 telecrystals. This will allow them to finish the teleporter onboard their ship. This will be probably be absurdly overpowered and need to be reverted, but no harm in trying it out, right?

Moved the teleporter board out secure tech and into the RD's office. Because teleporters cannot be built from scratch, the board serves almost no purpose but to be deconstructed anyway. And having it in the RD's office will prevent nuke teams from stealing it from space to complete their machine.

Replaced the mechanical toolboxes on the nuke shuttle with syndicate toolboxes.

Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3076 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 07:19:27 +00:00
baloh.matevz
2cfd6a1141 cheap lighter is now not capitalized so the parser works properly.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3046 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-07 00:41:30 +00:00
petethegoat@gmail.com
2c58840a4f Added throwing items over tables, thanks to SkyMarshal.
Improved cigarette code, mostly grammatical fixes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3036 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-05 17:22:39 +00:00
baloh.matevz
4c92d1c152 Added a cheap lighter so that zippos will have some company.
The cheap lighter can be purchased at vending machines and comes in 4 colors: green, yellow, cyan and red.

Technical info:

The path
/obj/item/weapon/zippo

was changed to 
/obj/item/weapon/lighter/zippo

The new lighter is
/obj/item/weapon/lighter/random

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3033 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-04 22:23:42 +00:00
trubblebass@gmail.com
2f46c7aa4f Herp-de-derp Missed a file off the last commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3023 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-31 23:16:12 +00:00