Commit Graph

334 Commits

Author SHA1 Message Date
Erthilo
a7dd312b3e TG: - 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.
Revision: r3659
Author: 	 baloh.matevz
2012-05-28 22:58:57 +01:00
daniel.cf.hultgren@gmail.com
589267fabf Revolutionary update!
You can now dispense Disposal Bins, Outlets and Chutes from the disposal dispenser. These are movable and you can attach them above open trunks with a wrench, then weld them to attach them completely.
You can remove Bins by turning off their pump, then screwdriver, then weld, then wrench. Same with outlet and chute except for the pump part.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3690 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-28 20:51:15 +00:00
Erthilo
6e289dabfc TG: 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.
Revision: r3652
Author: 	 johnsonmt88
2012-05-26 00:09:56 +01: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
caelaislinn
3e86a24489 wip antiqua, wip birdman, conveyors push items into crates now
Signed-off-by: caelaislinn <cael_aislinn@yahoo.com.au>
2012-05-18 04:08:43 +10:00
petethegoat@gmail.com
152eb3f29e A few map fixes, plus new toilets, urinals, and showers.
All bathroom stuff is fairly WIP at the moment.
The toilet path has changed from /obj/machinery/disposal/toilet to /obj/structure/toilet

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3586 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-12 22:21:32 +00:00
SkyMarshal
caae780677 Map changes. Some improvements/adjustments to code to work with the map changes. 2012-05-09 14:36:01 -07:00
Ren Erthilo
e1c69ed8a1 Commented out metadata and some other non-sensical stuff. 2012-05-02 21:22:19 +01:00
Ren Erthilo
d6d3d60e0d TG: 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.
Revision: r3400
Author: 	 johnsonmt88
2012-05-01 20:13:51 +01:00
Ren Erthilo
1c661ab5ea TG: Fixin runtimes and wooing the hot womenfolk
Revision: r3340
Author: 	 quartz235
2012-04-29 22:57:52 +01:00
Ren Erthilo
c2a1c149df TG: Fixed and further improved package wrapping. Added a sprite for wrapped closets.
Revision: r3302
Author: 	 petethegoat
2012-04-28 17:42:36 +01:00
Ren Erthilo
d06c5e0d0c TG: Sanity checks, miscellaneous bugfixes, failsafes.
Disposals no longer indiscriminately let items land inside it - the items have
to have been thrown by someone.

The ongoing attempt to fix the thousands of runtimes plaguing the game.
Revision: r3195
Author: 	 vageyenaman
2012-04-24 21:20:11 +01:00
Ren Erthilo
757b76c456 TG: A couple sanity checks i forgot to include in disposals
These might prove to be pointless but i'd rather be overly cautious about
something that crashes a server in 3 seconds flat
Revision: r3191
Author: 	 quartz235
2012-04-24 21:04:05 +01:00
Ren Erthilo
771c594d00 TG: (hopefully) fixes a runtime causing the server to shit itself and crash
immediately
Revision: r3190
Author: 	 quartz235
2012-04-24 21:02:47 +01:00
Ren Erthilo
6532691563 Reduces adminspam and adds knocking on windows. 2012-04-24 01:19:09 +01:00
Ren Erthilo
ca0430f59e TG: Jetpacks can now use any gas.
The /obj/item/weapon/tank/jetpack path is now an empty jetpack, and oxygen and
carbon dioxide filled jetpacks are /obj/item/weapon/tank/jetpack/blue_jetpack
and /obj/item/weapon/tank/jetpack/black_jetpack respectively.

Added a new kind of disposal, the deathsposal (it's not called that in game).
It's the same as a normal disposal, except it has a red rim to indicate that it
leads to space.
2012-04-23 22:16:55 +01:00
Ren Erthilo
60caca6a2a TG: 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.
2012-04-23 21:40:36 +01:00
Ren Erthilo
696f8ad5aa TG: - Removed the table where mail gets to at mail sorting because mobs keep getting
stuck there.
- You can no longer control disposal units from within them!
- Disposal units now auto trigger every 30 game ticks, if they are fully
pressurized and if they have something (or someone) in them. So no more hiding
in disposal units!
- Added this to the changelog.
Revision: r3108
Author: 	 baloh.matevz
2012-04-22 20:45:19 +01:00
Ren Erthilo
fcb08473af TG: Committing the one-way conveyor switches as posted by Donkieyo
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=7759

They are currently present in the mail office.
Revision: r3104
Author: 	 baloh.matevz
2012-04-22 20:14:14 +01:00
Ren Erthilo
d14be222b8 Fixes cyborgs putting items on Operating Tables and Janitor Borgs trashbags. 2012-04-15 01:29:38 +01:00
SkyMarshal
5b3ad2a925 Made transformations between mobs with organs work better. Destroying a limb removes implants. Implants now go where you select. Fixed some runtimes and retardedness. 2012-04-05 21:55:41 -07: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
Ren Erthilo
0d1412efdf TG: Fixed some runtimes.
Virus2 has been effectively removed from the code as it was not actually used
and was causing some runtimes.
The PA is now properly affected by meteors/blobs/bombs. r2903
2012-03-27 06:34:33 +01:00
Ren Erthilo
8d03d460aa TG: Moved a batch of unchecked and a few unused files into the unused folder.
Remember if your scrolling though the list and something is unchecked it should
almost certainly be checked.
Simple animals moved over to the actual mob code area and out of the defines. r2868

Also added a bunch of files I forgot.
2012-03-26 23:01:03 +01:00
Ren Erthilo
bde1ea8ee3 TG: Atmos techs now spawn with extended capacity emergency tanks
AIs/Cyborgs can no longer drink from the toilet or wash themselves in sinks for
the good of IMMERSION r2836
2012-03-26 18:12:42 +01:00
Ren Erthilo
f2fa1493e8 TG: Unsecured disposal pipes are now density=0, so you can walk over them. r2818 2012-03-26 18:07:59 +01:00
SkyMarshal
5c0ddb031d Merge pull request #738 from Erthilo/master
Adds alternate CMO labcoat, engineering crates need proper access, test code for implant only taser firing, changes to overdose, and more bugfixes
2012-03-24 18:04:03 -07:00
SkyMarshal
f45aff1bae Chameleon Jumpsuit now has armor, space tiles now get generated faster, fixed fingerprint runtime, optimized autosay, fixed crates + package wrappers, retired admins are no longer spammed, can now click through blindness, packages and evidence bag contents now count toward traitor objectives, stunning and such stops you instantly, guncode improvements. 2012-03-24 17:21:31 -07:00
Ren Erthilo
69e7a64fb4 Fixed conveyor belts being above crates. Fixed a turret not turning off in the AI core. Added a camera to let the AI see core doors in freelook. 2012-03-24 00:57:23 +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
Miniature
ddc9798af9 Made disposals not kill people's ears mk2 2012-03-19 21:43:55 +10:30
petethegoat@gmail.com
c41c62ded4 Janitor borgs have been massively upgraded.
They now clean as they roll, and have a trashbag.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3310 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-16 21:35:18 +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
joe.heinemeyer@gmail.com
0ba84545b1 Package wrap is no longer retarded. Works on an afterattack proc, now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3301 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-15 18:44:10 +00:00
Miniature
579bffa737 Made disposals only play the exit sound once at a time, fixed a compile error (sky, seriously), made fluff items fit in pockets properly 2012-03-11 21:20:47 +10:30
SkyMarshal
7534154fa2 Cleaned up some code, fixed a bug with dead/sleeping people seeing you talk into headsets, reworked guncode some, readded point-blank shooting, removed disposal space cannon, hacktool works on windoors and secure closets, now. 2012-03-05 12:27:55 -07:00
vageyenaman@gmail.com
8bff40c740 Fix for disposals lag.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3255 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-05 06:05:26 +00:00
Albert Iordache
1575df93ce Merge pull request #614 from comma/master
Some derpfixes
2012-03-03 22:26:54 -08:00
comma
5ad05105f4 Small bugfix to ashtrays and cig butts
Now can throw out ashtray shards. 'ciguarete butt butt' should not appear anymore.
Also glass ashtray now shatters with sound
2012-03-04 06:45:14 +02:00
SkyMarshal
1107f6e768 Fixes for package wrap, added proper buttons and hotkeys to the gun system, fixed PDA manifest. 2012-03-03 15:08:01 -07:00
comma
ee09389f5b Merge branch 'master' of https://github.com/Baystation12/Baystation12
Conflicts:
	baystation12.dme
2012-03-02 22:04:20 +02:00
comma
2edd73627d Added ashtrays
Breakable. Spill contents on breaking or hitting the solid stuff after being thrown.
Have limited capacity. Can be emptied in disposal outlet.
Change sprite when are half-filled and filled.
Also fiddled a bit with the cigs code, so you can put them out without dropping.
2012-03-02 21:56:08 +02:00
elly1989@rocketmail.com
9859a0b52f Committing fixes to code for examining mobs. Burn damage wasn't showing properly on some mobs. Fixed grammar, icons and stuff.
Added some  stylesheet classes. Approved by Urist. If you're adding game text, please use the class that best describes the text. This way all the text formatting can be edited from the stylesheet rather than traipsing through the code like I am.
Cyborg names reflect their module choice.
Cyborgs can no longer drop their module-items on conveyor belts.
Please remember to add the line: gender = PLURAL to any new item defines if the item is plural, ie metal rods and such.
Much more to come. ;-; Just need to check them and merge... why did I start climbing this mountain?

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3232 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-02 16:07:32 +00:00
SkyMarshal
0d8c7d5e51 Reworked the gun system to handle hostage scenarios better.
Ported and adjusted with permission from Lost Worlds.
2012-03-01 19:20:39 -07:00
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
66f38fb34b TG UPDATE: Updates to telecomms, bug&runtime fixes, manifest for all, improved nuclear bomb.
All PDA's can access the manifest.
Nuclear bomb now works on realtime.
Telecomms not mapped yet.
Numerous Runtime Fixes
2012-02-28 18:24:43 -07:00
SkyMarshal
02002054de Teleporter has a cancel button.
Improved the admin player panel.
Disposals now work right with things thrown at them.
Nuke upgraded to use realtime.
2012-02-28 13:39:51 -07:00
SkyMarshal
b653c615be Replaced a lot of stupid from the wardrobes and package wrap, they now use an afterattack call instead of specific code for them in EVERY OTHER ITEM.
Improved the admin panel.
Removed Karma.
2012-02-28 00:11:15 -07:00
vageyenaman@gmail.com
0cd813a786 A couple more bugfixes and tweaks.
Changed the way radio range works. Headsets have a range of 1, intercoms 3. If a person is in this range, they get to hear incoming messages.

Fixed the disposal bug; items were dropping on the floor when placed in disposals...

Changed the way NTSL::TCS broadcast() generates a dummy radio.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3206 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-28 00:47:54 +00:00