Commit Graph

39 Commits

Author SHA1 Message Date
SkyMarshal
730461840f UltraLight optimizations, and moving of access levels into a defines. (Pre-processor stuff is fun) 2012-06-21 13:35:34 -07:00
Mloc
fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01: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
Thrain
c1ca3d58de Added a "Initiate Crew Transfer" option to the Communications computers.
This will call the shuttle, which will start the round reboot. shuttle
starts with a 90 minute refuel timeq.
2012-05-24 02:09:34 -07:00
Erthilo
7894a7e0ef TG: - PDA messaging reworked a bit. If you receive a message with your PDA somewhere
on your person (so not in a backpack), the message will be displayed to you in
the text box along with the name and rank of the sender. A reply button will be
next to this to make replying easier. The PDA beep will still appear and the PDA
must not be in silent mode for this to work.

Screenshot:
http://www.kamletos.si/PDA%20communication%203.PNG

Added this to the changelog.

Revision: r3628
Author: 	 baloh.matevz

-Added confirmation prompt when calling the shuttle as an AI
-Glass airlocks no longer super-silent

Revision: r3629
Author: 	 ericgfw...@hotmail.com
2012-05-21 17:20:23 +01:00
Erthilo
3afdedc43e Lets the Head of Personnel change alert levels, might make this all heads later, who knows! 2012-05-15 22:36:10 +01:00
Ren Erthilo
e2b21ce916 TG: 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.
Revision: r3382
Author: 	 elly1...@rocketmail.com
Date: 	Mar 31, 2012
2012-05-01 14:09:47 +01:00
Ren Erthilo
a548d23194 Adds confirmation to AI call shuttle verb. 2012-04-09 12:23:51 +01:00
Ren Erthilo
dcc7b8e1dd Reverted some changes. Clarified the admin messages. 2012-04-08 21:10:51 +01:00
Ren Erthilo
ad590fbbc4 Fixes setting status display from comms console. Messages can now be sent to CentCom (admins) using comms console, and the Syndicate (also admins) when emagged. This functions like a prayer. 2012-04-08 12:20:14 +01:00
cib
66447b2b39 Added virus epidemic mode.
- Mode will only start with at least one doctor at round start(CMO or MD)
- Lethal vira won't spawn anymore outside this mode
2012-04-04 19:27:31 -07:00
Ren Erthilo
25ff006575 TG: Bit of blob work r2905 2012-03-27 06:38:55 +01:00
Tastyfish
c02979c148 Toggle-Deny-Shuttle, can build fire alarms, atmos alarms, intercoms, status displays, and light switches 2011-12-31 12:28:26 -05:00
vageyenaman@gmail.com
75c7670e75 TG update: Small changes and bugfixes:
◦ Metroids can now be observed by ghosts.
   ◦ Saved User Interface preferences ("Old UI" & "New UI") now correctly get transferred to clones.
   ◦ Captain announcements now require the player to be next to the console. (Issue 220)
   ◦ Radio headsets no longer sometimes fail to deliver the messages (Issue 221)
   ◦ Some other insignificant back-end shenanigans.
   ◦ The pregame lobby now has title music. The gameticker chooses between two .ogg files on game start and plays that for everyone who joins. The music stops when create_character() gets called though.
   ◦ Gave some critters, namely "creature" and "blob" some attack sounds.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2655 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-24 22:15:22 +02:00
Albert Iordache
b067fdc726 TG update: ...
- added feedback logging for alert levels
 - alert level descriptions are now part of config.txt
 - alert levels default to the ones I had before, if the config file isn't configured.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2641 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-24 00:50:52 +02:00
Tastyfish
0e8d32df49 fixed com console security screen 2011-12-13 01:32:03 -05:00
uhangi@gmail.com
414cfbe8c1 Uncommented erro's code, reticked erro's code.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2620 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-05 02:02:35 +00:00
uhangi@gmail.com
025288d4eb Commenting out erro's broken code until he fixes it so no compilation errors
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2619 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-05 01:48:48 +00:00
baloh.matevz
962919f6e0 - Added the ability to communications computers to switch between the blue and green security levels. I wanna make a super special way to get to the red level, which involves the turning of multiple keys (id cards) in multiple areas :)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2615 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-04 20:32:30 +00:00
mport2004@gmail.com
a72e6d6a84 Projectiles cleaned up a bit and moved into a /modules folder.
Solars should work a bit better now.
Removed the old shield item as it has not been used in forever and was cluttering up some of the mob code.
IonRifle only has 5 shots before it needs to be reloaded down from 10.
Lowered the weakbullet's stun to match the taser.
You can no longer recall the shuttle on meteor.
Fixed a bug I caused on rev where if the revs were in space and dead it would count them as living.
Bit of blob work.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2220 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-18 07:27:05 +00:00
mport2004@gmail.com
c471fde2f9 Fixed cyborg rev heads counting as living and still being able to flash people.
Normal revs that get borged will be unrev'd.
Added a cooldown to the captains message system.
Cleaned up the Coms computer slightly.
Fixed a few runtimes.
More blob work.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2207 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-16 05:52:10 +00:00
mport2004@gmail.com
206c30c48a The safe plasma limit on breathing has been lowered causing plasma to actually damage you at a semi decent rate.
The force secret mode will now build the list of possible modes and make sure it can set the forced mode up before it actually picks the mode.  If the setup fails it will just use another mode from the secret list.
The R-table in medbay lobby was replaced with a normal table and medbay mostly follows the old "Can you get to the hall with next to nothing on you" map design.
Blob mode work.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2185 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-12 08:57:02 +00:00
rastaf.zero@gmail.com
4f7030a426 Jack Rost updates:
-more dismantable consoles:
--Teleporter
--Supply ordering console
--Supply shuttle console
--Power Monitor
-new circuit boards (both constructable and destructable)
--Supply ordering console (programming 2)
--Supply shuttle console (programming 3)
--Outpost Status Display(programming 2)
--Operating Computer (programming 2, biotech 2)
-R&D Console circuit now requires programming 4 (was 6).


Balagi updates:
-Trash bag: works as mining satchels but for trash.
-Started redesign computers code
-fixed candles sprites
-trashbag now has "in hands" sprite
-fixed emagging supply shuttle console

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1883 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-18 19:17:58 +00:00
uporotiy
1e7eb1ce16 Issues
Fixed issue 80.
 Hydroponics
Plantmen are added, only badmin-created for now, though.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1499 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-25 12:26:25 +00:00
rastaf.zero@gmail.com
e074166845 Added sanitize() to verb/me().
Enabled adminlogging of using robotic console.
Some admin messages are duplicated to log file now.
Fixed bug with ghosts sometimes not hearing people.
WIP stuff from Nikie:
a sprite for detective's armor
an alternative sprite for SWAT armor


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1391 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-06 08:47:51 +00:00
n3ophyt3@gmail.com
294302aebc Shuttle pingpong now gets logged as to who is doing it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1209 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-19 03:02:41 +00:00
noisomehollow@lycos.com
7c122ab3cb Changelong:
More tweaks to death commandos.
More work on CentCom.
Fixed turret control issue for AI.
Station blueprints now spawn in CE's locker.
Power control modules placed on the map.
More shield generator stuff by Barhandar: shield walls and shield wall generators now respect bullets and they (bullets) have chance to get past the shield. This also means you can power shield generators through emitters but it takes two to make a generator stable.
Misc map changes.
Re-check gimmick closets so they no longer spawn empty.
Added a new admin button under Special Verbs. Allows to easily respawn a player (as an assistant) if their original body was gibbed. Currently doesn't set player preferences. WIP.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@675 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-20 00:33:10 +00:00
morikou@gmail.com
799c2dcd36 Updates: The Reckoning
* Carp are delicious! Slice them open with a kitchen knife, and you get carp fillets.
* Carp gib when hit by meteors. WHen gibbed or exploded, they leave behind meat as well. Pulse rifles can also gib them.
* Fixed lizardman emotes.
* New cake sprites by matty406 (carrot cake my edit of his cheese and regular cake).
* Shuttle can be called in Malf and Revolution modes. HOwever, it'll automatically return after a random duration. The message when the shuttle is recalled due to this is identical to when it's recalled by a player.
* Shuttle cannot be called while it is returning to CentCom.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@672 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-19 22:29:05 +00:00
noisomehollow@lycos.com
1a5a2ba826 More updates to death commandos. Their shuttle should now work, along with other fixes. They are complete at this time.
Updated icons for plastic explosives.
Replaced one of the Construction sites with a Xenobiology lab on request. It is a temporary location and is mostly for roleplay. There will NOT be a job associated with it.
Added Barhandar's updated shieldgen stuff.
Copied icons to stationobjs.dmi for future shieldgen update.
Misc changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@666 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-19 02:39:56 +00:00
noisomehollow@lycos.com
bdb561960a Fixed a bug with communication code. Calling the shuttle should work fine now.
Hopefully fixed strike team code not properly deleting discarded ghosts.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@656 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-18 07:50:54 +00:00
noisomehollow@lycos.com
fb67bec217 Added a new admin command under the fun tab for Coder and Host.
Fixed a communication console bug that prevented the shuttle from *not* being called in the first 10 minutes of the game.
Updated clothing code. Swat armor slows you down less and provides for large suit storage. Ninja suit speeds one up and provides syndicate-like suit storage.
Re-added and modified pulse rifle code and icon.
Some misc modifications.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@650 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-17 22:16:39 +00:00
crazyclonetheninja
644ec2f158 Fixed the old emergency shuttle bug where it'd go crazy when you recalled the shuttle when it was already at ten minutes.
Mime access added because clown access felt lonely. Both have no current use other than for door construction.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@619 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-14 23:23:26 +00:00
n3ophyt3@gmail.com
1b4d6517c7 You can now stick IDs in PDAs.
If you look at your PDA window, there should be an option to stick an ID in, like with some computers.
  While carrying an ID, a PDA can be used for almost everything an ID can.
    While ID scanners can read cards through a PDA, it is difficult to shove a PDA into the ID slot on some computers.
    It is possible I missed some functions, but I was quite thorough in my sweep through the code.
    In the event of PDA destruction, any inserted ID is ejected unharmed.

It is now possible to stick PDAs in your jumpsuit's ID slot.
  Since PDAs are named, you can disguise yourself as someone else using one.
  Beepsky/ED-209 can see through a PDA disguise if you stick your real ID in for access.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@592 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-12 04:37:39 +00:00
uporotiy
be044b18c8 -Finished work on the "cult" gamemode. I'll still add features to it later, but it is safe to be put on secret rotation now.
-Added an energy cutlass and made a pirate version of the space suit in preparation for a later nuke update.
-Changeling now ends 15 minutes after changeling death, unless he's ressurected.
-Further fixing of wizarditis teleporting into space.
-Fixed the wise beard sprite.
-Fixed missing sprite for monkeyburgers.
-Fixed Beepsky automatically adding 2 treason points to EVERYONE.
I believe that's everything.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@365 316c924e-a436-60f5-8080-3fe189b3f50e
2010-11-02 19:13:32 +00:00
uporotiy
39efab2ce3 Added the very basis of cultist mode, it doesn't have proper objectives yet, but at least I can catch some bugs via playtesting, hopefully.
Wizards now shout a spell when they're casting - not corresponding to the spell itself, though, it's a placeholder until granny finishes his voice acting.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@336 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-20 21:46:31 +00:00
uporotiy
139e7fd7e3 Library computer now has two additional functions, one of them only available via emag.
Added a new emote per request.
Added a description for the cap's antique laser gun.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@256 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-08 18:49:51 +00:00
uporotiy
ccb3e306f4 Moved Boom Boom Shake The Room to a separate tab (no misclicks on my watch).
Added the ability for the captain to globally announce shit via the comms console.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@254 316c924e-a436-60f5-8080-3fe189b3f50e
2010-10-07 17:58:29 +00:00
Skiedrake
7bc89cbc8c Added a small fix to the pipe system that should reduce lag.
Added new AI/announcer sound files for when events happen, when game starts or ends, when shuttle is called/recalled/docks and when a new AI is chosen.
Removed traitor.ogg and main.ogg because they weren't being used and were quite large files.
Fixed flash effect and crit-state effect. But now shroom effect is a bit broken. (to-do)
Added a sound effect when a robot comes to life.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@87 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-12 18:26:44 +00:00
only.lurking
662c08272a git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2 316c924e-a436-60f5-8080-3fe189b3f50e 2010-08-23 14:29:20 +00:00