Commit Graph

399 Commits

Author SHA1 Message Date
cib
479563cb28 Removed some stupidly copypasted code. The transform projectile will now only work on humans. 2012-05-27 17:59:44 +02: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
Erthilo
276b83589e TG: Added an emergency shutdown proc to the holodeck control computer.
- Destroying, damaging or emping the computer will now cause the holodeck to
revert to its original state. Meaning this should help stop people taking
eswords out of the holodeck.

The detective's gun renaming verb moved from the BYOND default 'you did not set
a category' tab into the 'objects' tab

Mob.dm's stripping proc was a single very looooooooooooong line of code. It is
now multiple lines of code.
Revision: r3649
Author: 	 johnsonmt88
2012-05-25 22:32:26 +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
johnsonmt88@gmail.com
6fee9fe4cc Added an emergency shutdown proc to the holodeck control computer.
- Destroying, damaging or emping the computer will now cause the holodeck to revert to its original state. Meaning this should help stop people taking eswords out of the holodeck.

The detective's gun renaming verb moved from the BYOND default 'you did not set a category' tab into the 'objects' tab

Mob.dm's stripping proc was a single very looooooooooooong line of code. It is now multiple lines of code.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3649 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-24 13:22:56 +00:00
Erthilo
8f74aa23b5 Added shotgun in-hand sprites. 2012-05-22 23:37:56 +01:00
Erthilo
edb09ea6d7 Fixes double barrel shotgun not working with the gun system. 2012-05-22 00:39:57 +01:00
Erthilo
4114e246ee Merge fixes, and spelling corrections. 2012-05-21 20:47:55 +01:00
Erthilo
c84aa96cc4 TG: The new 'sleek' user interface is going live.
OLD screenshots (Actual hud uses black/orange scheme):
Humans:
http://www.kamletos.si/ss13%20hud%2018%20human%20standard.png
http://www.kamletos.si/ss13%20hud%2018%20human%20full.png

Borgs:
http://www.kamletos.si/ss13%20hud%2018%20borg.png

Aliens:
http://www.kamletos.si/ss13%20hud%2018%20larva.png
http://www.kamletos.si/ss13%20hud%2018%20alien.png

Monkeys:
http://www.kamletos.si/ss13%20hud%2018%20monkey.png
Revision: r3630
Author: 	 baloh.matevz
2012-05-21 20:29:35 +01:00
SkyMarshal
148e49408b Merge pull request #1059 from Erthilo/master
New sprites for bomb suit, in-hands for pulse rifles, advanced energy guns, and laser guns. Customs for sicktrigger, lexusjjss, and roaper. Changes to the MOTD to match the server and remove the changelog link.
2012-05-14 15:20:31 -07:00
Erthilo
8d0338ecad New sprites for bomb suit, in-hands for pulse rifles, advances energy guns, and laser guns. Customs for sicktrigger, lexusjjss, and roaper. Changes to the MOTD to match the server and remove the changelog link. 2012-05-14 23:09:00 +01:00
SkyMarshal
46e104f978 Merge pull request #1044 from Erthilo/master
TG Updates up to r3585
2012-05-13 21:38:34 -07:00
SkyMarshal
bdc0de5fd0 Fixes numerous bugs from the Runtimes topic, more sanity checking on pipes and atmos stuff for the new FEA. 2012-05-13 13:52:40 -07:00
Erthilo
8c3659b1c7 TG: -Laser tag guns no longer give combat tech of 3.
-Cardborg Helmets and Cueball helmets no longer protect as well as sec helmets.
Reorganized the clothing/head.dm. PLEASE take note of the parent when making
child objects, people.
-Laser tag vests can now hold their matching laser tag guns.
-Harebells can now be harvested.
-Sprite for the new mini-extinguishers in the extinguisher closets. Needs
supporting code still.
-Added towel sprite to items.dmi.
Revision: r3582
Author: 	 d_h2...@yahoo.com
2012-05-13 00:56:53 +01:00
d_h2005@yahoo.com
7cc62d2e7e -Laser tag guns no longer give combat tech of 3.
-Cardborg Helmets and Cueball helmets no longer protect as well as sec helmets. Reorganized the clothing/head.dm. PLEASE take note of the parent when making child objects, people.
-Laser tag vests can now hold their matching laser tag guns.
-Harebells can now be harvested.
-Sprite for the new mini-extinguishers in the extinguisher closets. Needs supporting code still.
-Added towel sprite to items.dmi.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3582 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-12 00:36:32 +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
Erthilo
d5abd91800 TG: Fixes guns some. Can't shoot yourself as easily anymore. You can now aim at
body parts with your gun.  I think the reason you couldn't before was just the
failure to pass the def_zone up to the parent, not sure if that was intensional
or not.
Revision: r3554
Author: 	 VivianFoxfoot
2012-05-10 01:53:17 +01:00
Erthilo
246e503bc6 TG: AIs and Juggernauts/Wraiths/Artificers should no longer have random names when
they ghost.

Fixed a typo in the borg manual
Remove ripley_construct.dmi as it was unused.
Revision: r3521
Author: 	 kortgstation
2012-05-06 19:01:01 +01:00
Erthilo
a83c870358 TG: -Added soil to plant seeds in. Make it by crushing up sandstone. Soil does not
have indicators like trays do! Watch your plants carefully!
-Added money trees. When life gives you lemons, mutate them into cash.
-RnD can create a new tool for botanists: The floral somatoray. Has two modes.
Use it on your plants to induce mutations or boost yield.
-Raised the passive species-mutation chance slightly.
-Fixed a goof I made before when I was editing poppies. Woops.
-Changed the name of "Generic Weeds".
-Normalized grass harvests.
-Couple of typo fixes.
-Updooted my changelog.
Revision: r3495
Author: 	 d_h2...@yahoo.com
2012-05-05 23:45:45 +01:00
Erthilo
84cb9b65ef TG: Updated the barman's shotgun, it acts like a double-barrel now, and he can saw
it off.
Added Khodoque's new shotgun sprites.

Added my new gasmask sprites. Removed emergency gasmasks, as the distinction is
non-existent.

Very slightly reshuffled some mask stuff around, but it's still godawful.
Medical masks are now /obj/item/clothing/mask/breath/medical

Removed the define for HALFMASK, as it was completely unused.
Revision: r3493
Author: 	 petethegoat
2012-05-05 23:20:19 +01:00
VivianFoxfoot@gmail.com
a657fa5e9b Fixes guns some. Can't shoot yourself as easily anymore. You can now aim at body parts with your gun. I think the reason you couldn't before was just the failure to pass the def_zone up to the parent, not sure if that was intensional or not.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3554 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-04 05:10:00 +00:00
Mloc
3f14b794c0 Merge pull request #958 from Erthilo/TGUpdates
TG Updates up to r3377
2012-05-01 02:47:51 -07:00
Ren Erthilo
8c47671635 New energy gun and taser gun in-hand sprites. 2012-05-01 03:45:32 +01:00
Ren Erthilo
8268d61f7f TG: Secborgs now have modified tasers:
- It holds 6 shots
- It recharges one shot every 10 seconds automatically

Secborgs can no longer run faster then the speed of light. They have standard
borg speed.

Changelog updated.
Revision: r3365
Author: 	 johnsonmt88
2012-04-30 23:59:47 +01:00
CaelAislinn
3cec18affd balances, improvements and tweaks to rust and antiqua. did not to cameras because i have a lecture in six hours.
Signed-off-by: CaelAislinn <cael_aislinn@yahoo.com.au>
2012-05-01 03:33:29 +10:00
Ren Erthilo
439aafc7f7 TG: Added lasertag vests, guns, projectiles. Sprites for the vests and guns from
Muncher.

Lasertag guns are only usable if you're wearing the appropriate team vest.
Lasertag projectiles will only stun people who are wearing vests belonging to
the opposing team.

Four vests and four laser tag guns are now in fitness (two sets of red, two sets
of blue)

Fixed emergency storage having chem storage access, removed the R walls around
it.

Updated changelog.
Revision: r3333
Author: 	 kortgstation
2012-04-29 22:36:06 +01:00
Ren Erthilo
15b1e94351 Adds watering can, fixes point blank stunning, adds new gaming kit sprite. 2012-04-29 03:37:14 +01:00
d_h2005@yahoo.com
4b9e382170 Runtime fix for the floral somatoray shooting at mechas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3525 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-28 15:54:50 +00:00
Ren Erthilo
925d0fee2f TG: Some work on aliens. I'll finish this up soon.
Gave riot shields a 99% chance of blocking pushers from pushing their wielders
(given their wielder is not on the help intent).

Added a projectile reflection mechanic. Ablative Armor will often, when the
groin or torso is struck, deflect projectiles back to the tile they came from
(not back the original shooter). Deflected projectiles aren't 100% accurate, so
ablative armor can result in friendly fire.

Hopefully stopped humans from waking up 1 second after they fall asleep.
Revision: r3286
Author: 	 vageyenaman
2012-04-26 23:27:16 +01:00
VivianFoxfoot@gmail.com
ff3e399a9c Fixes Fix for some weapons not checking if they have a round in the chamber before attempting to load another.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3519 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-26 21:53:56 +00:00
Ren Erthilo
4c7a2dc853 TG: Fixed the objectives not being assigned properly when the Summon Guns spell is
used.

Removed the wizard's Nar-Sie grav pull entirely to reduce lag/it is strong
enough as is.

Fixed the gyrojet projectile name

Removed the ion rifle from the armoury
Revision: r3272
Author: 	 kortgstation
2012-04-26 22:42:56 +01:00
Ren Erthilo
1b5e0b5588 TG: (Paperwork overhaul, not actually added until we decide what to do with it.)
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.
Revision: r3253
Author: 	 petethegoat
2012-04-25 23:17:21 +01:00
Ren Erthilo
37f4d550a1 TG: 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.
Revision: r3252
Author: 	 vageyenaman
2012-04-25 22:22:05 +01:00
VivianFoxfoot@gmail.com
a3bfd6ca3f Guns with ammo no longer melee at point-blank range. They now fire normally. Guns without ammo you bash with.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3506 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-25 19:56:48 +00:00
Ren Erthilo
e174e7ca76 TG: (Does not actually remove c20r) Desert Eagles now use magazines, .50AE ammo, and only have 7 shots. They're basically revolvers that use magazines.
Nuke ops lost that horribly nerfed piece of shit c20r and now get Desert Eagles
and Riot Shields.

The detectives .38 ammo now does the same damage as regular revolver bullets. If
he wants to keep acting as a glorified sec officer, he can go grab a taser.

The Veil Render now summons a subtype of Nar-Sie which doesn't pull anchored
objects. This should reduce the power of the item/reduce lag while I get sprites
and finalize details with Urist for reworking it as the Sphere of Annihilation
(as in, this is temporary)

Updated the changelog
2012-04-23 21:24:13 +01:00
Ren Erthilo
7d04c9c169 TG: Added Spacevines to the random events. Added a spawn space-vines option to the
secrets panel.
Fixes  issue 250  (borg door bug)
Fixed silicon interactions with engineering equipment.
Fixed access lists for radiation collectors, so locking them actually serves a
purpose. Fixed using crowbars on them.
Borgs can name themselves upon module selection (unless a roboticist has named
them previously by using a pen)
To avoid Borgs griefing and then changing their name by selecting a module,
borgs are now unable to move independently until they choose a module.
New sprites for spacevines are on the way. So you'll have to tolerate my crappy
stand-ins for a bit until he is finished with them.
Revision: r3128
Author: 	 elly1...@rocketmail.com
2012-04-23 21:07:55 +01:00
Ren Erthilo
c23a674710 TG: - Using robot parts on a suit that already has that part no longer eats up the
part you used on it
Revision: r3127
Author: 	 quartz235
2012-04-23 19:30:06 +01:00
Ren Erthilo
7707b3d6bd TG: Chaplains are no longer immune to cult magic. Instead, a new item, the null rod,
spawns in the chaplains office. Having the rod on your person will make you
immune to cult magic.

Runes are now dispelled with the null rod, not the bible.

Chaplains can no longer self heal with the bible.

Simple animals can now attack mechas and critters

Constructs no longer take extra damage from bibles.

Fueltanks now explode when shot by lasers or bullets.
Revision: r3125
Author: 	 kortgstation
2012-04-23 19:28:05 +01:00
d_h2005@yahoo.com
41ba8a7ae6 -Added soil to plant seeds in. Make it by crushing up sandstone. Soil does not have indicators like trays do! Watch your plants carefully!
-Added money trees. When life gives you lemons, mutate them into cash.
-RnD can create a new tool for botanists: The floral somatoray. Has two modes. Use it on your plants to induce mutations or boost yield.
-Raised the passive species-mutation chance slightly.
-Fixed a goof I made before when I was editing poppies. Woops.
-Changed the name of "Generic Weeds".
-Normalized grass harvests.
-Couple of typo fixes.
-Updooted my changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3495 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 05:55:33 +00:00
petethegoat@gmail.com
f91dfe2e0d Updated the barman's shotgun, it acts like a double-barrel now, and he can saw it off.
Added Khodoque's new shotgun sprites.

Added my new gasmask sprites. Removed emergency gasmasks, as the distinction is non-existent.

Very slightly reshuffled some mask stuff around, but it's still godawful.
Medical masks are now /obj/item/clothing/mask/breath/medical

Removed the define for HALFMASK, as it was completely unused.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3493 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-22 03:18:17 +00:00
Ren Erthilo
242648c256 Properly adds attack logging to a separate attack log. Also adds logging for flashbangs. Config change too! 2012-04-19 20:18:24 +01:00
Ren Erthilo
249f38d464 Adds a click sounds for empty guns. Adds supervisors for the AI. Adds some A17 implants and sprites. 2012-04-17 19:02:18 +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
Ren Erthilo
ebebfaabb3 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/modules/mob/mob_defines.dm
2012-04-04 20:19:23 +01:00
SkyMarshal
5b20f6a2fd Adds dismemberment to Tajarans and Monkeys. Added some sanity checks to prevent you from punching you when they are missing hands. Fixed more wound stuff. Some examine fixes. Adds a hasorgans proc which checks if the given argument is a mob with organs. Fixed pathing for guncode. 2012-04-02 19:44:43 -07:00
Ren Erthilo
af9a80cce4 Merge branch 'master' of git://github.com/Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/modules/mob/mob_defines.dm
	icons/mob/items_lefthand.dmi
	icons/mob/items_righthand.dmi
	icons/obj/storage.dmi
	maps/tgstation.2.0.8.dmm
2012-04-02 00:37:54 +01:00
SkyMarshal
cd4a82a90b Fixes for the fingerprint runtimes, other runtimes, the new damage system, and the new objective system, to reduce the super hard objectives. 2012-03-31 22:01:21 -07:00
Ren Erthilo
ae57f8db64 Merging SkyMarshal's stuff. 2012-03-30 16:26:04 +01:00
SkyMarshal
61820bc5ec Final commit of the examine/damage overhaul. 2012-03-29 20:44:10 -07:00