Commit Graph

52 Commits

Author SHA1 Message Date
xxalpha
3df42cfdba Added new event: portal storm.
need the file of course

world name
2016-01-30 01:23:55 +00:00
Firecage
332bde0f4f Does the rest of the if()'s/ else's 2016-01-17 19:03:12 +02:00
MrPerson
471d69fcf7 Change many ERROR() calls into thrown exceptions
This requires a 508 beta version to use. If Travis fails this he's a bitch

Exceptions will generate a stack trace, which is way easier to see and more helpful in actually solving this kind of crap. Also logs all the arguments, src, line, and file automatically.
Removed any dubiously helpful information in the exception names so the runtime condenser won't see each one as a different runtime. If the information is critical to solve these bugs (camera one maybe?), then I'll just make these warnings.
Thrown exceptions crash the currently running proc. Yes that means there's useless returns in a bunch of these, sue me. spawn()'s are to let the proc continue.

Almost all of these are difficult to trigger, but I did test playsound. And frankly even if they do cause bugs by crashing procs, big whoop
2015-07-23 08:19:08 -07:00
Firecage
4688c2c969 Fixes proc arguments 2015-07-15 23:52:35 +02:00
Cheridan
7a5f2453e6 Merge pull request #9612 from Aranclanos/lobbyMusic
Fixes a really strange case where the lobby music will play after you joined the round
2015-05-24 19:13:12 -05:00
phil235
f643769ef4 Fixes some runtimes with bluespace artillery, handcuffs on simple animals, lobby music start, stunbaton attack, kitchen bowl update_icon, particle accelerator admin log message, and plasmaman spec_life(). 2015-05-23 22:34:04 +02:00
Aranclanos
e275a65c91 Moved stopLobbySound() from code/modules/mob/mob.dm to code/game/sound.dm 2015-05-23 06:34:23 -03:00
Remie Richards
632ecdbd02 Atoms don't have clients, Revert of previous commit 2014-12-27 01:04:32 +00:00
Remie Richards
815f3700fc Clientless atoms don't get sound 2014-12-27 01:00:50 +00:00
Remie Richards
cdbd40f796 Adds a new step_trigger, "sound_effect", acts as a mapper friendly wrapper for playing sound effects
Adds a new step_trigger variable, "mobs_only", like affects_ghosts this is a boolean for allowing/denying atom/movables from triggering step_triggers
playsound_local() is now a /atom proc, all mob specific requirements have been moved to an override
2014-12-12 16:35:16 +00:00
Remie Richards
99fe1c9d04 Sounds in space/places with low pressure are quieter. You cannot hear people in low pressure environments unless you are next to them (or are them) 2014-11-19 17:03:12 +00:00
Miauw
452a760dfe [VIOLENT FROTHING] 2014-03-30 20:54:17 +02:00
Miauw
dc9ead6575 Merge branch 'master' of https://github.com/tgstation/-tg-station into warnstandardization
Conflicts:
	code/_onclick/telekinesis.dm
	code/game/sound.dm
2014-03-30 20:48:03 +02:00
Mloc-Hibernia
8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00
Miauw
520b114293 fixes shit 2014-03-09 18:31:43 +01:00
Mloc-Argent
a677ae8377 Adds crlf default to .gitattributes for most text file types we use.
Massive green/red is to the best of my knowledge caused by files being nearly entirely LF.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-02-04 15:14:39 +00:00
Tenebrosity
5965772782 Adds sounds to falling over
Resting and buckling are still silent.
2014-01-24 15:12:24 +13:00
JJRcop
01f229a60d Adds "surround" arg to playsound, which enables 3D sound
Defaulted to on
Also changes the toy nuke to use it
2014-01-07 17:45:12 -05:00
Giacomand
449a391dc5 Reduces the amount of get_turf calls.
Removes random noises.
2013-12-01 18:51:29 +00:00
Giacomand
17fd5d6cdc * Fixes certain objects not using 3D sounds.
* Gave the piano a bigger falloff.
 * Capped the sound x/z to 7.
2013-11-21 23:50:53 +00:00
Giacomand
c012a7aee3 Changed playsound() to use less code. Playsound now loops through the player list, which means you do not have to check inside closets/objects/other mobs to play sounds.
Made all sounds use 3D sounds! This includes sounds which have less volume the further away you are from it.
The piano now uses 3D sounds.
Changed how the far explosion sound is calculated.
2013-11-18 14:38:49 +00:00
Tenebrosity
9109ef620c Replaces the default gunshot sound effect with four higher quality ones. Replaces the laser sound effect with an arguably better one. 2013-08-19 13:41:25 +12:00
giacomand@gmail.com
4729446ce9 - Replaced all turf code which used "src.loc" in the playsound arguements with "src". Before the sound would play to everyone who was in the area, as the loc of a turf is the area it is in. Fixes Issue 1315.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5791 316c924e-a436-60f5-8080-3fe189b3f50e
2013-02-26 22:28:01 +00:00
giacomand@gmail.com
f1d24f27f9 Simplified Detective.
-Changed the focus from the high-res scanner to the regular scanner. It will simply scan the fingerprints and display them to the detective. For extra functionality, it'll store it's findings in a log and then you can print it out in a report by using attack_self().

-Detectives can now use the medical computer.
-Removed the pda forensic scanning functionality.
-Got rid of now useless high-res scanner computer. Got rid of the now useless fingerprint cards.
-Added a medical computer to the detective's office and replaced the useless medical cabinet with an empty one.

Other

-Got rid of diseases magically moving down a stage.
-Optimized playsound()
-Added an attack_self() to sprayers so that you can change the reagent use of them between 5 and 10.




git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5168 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-23 00:39:18 +00:00
elly1989@rocketmail.com
1aaf44e076 Moved a lot of preference related toggles to the Preferences verb tab.
You can now modify specialrole candidacy mid-round and it will save changes to your savefile.
Added a BE_NINJA flag. Doesn't do anything yet. If somebody wants to implement it, go for it.
Moved prefrences stuff from new_player to the folder /code/modules/client/
Renamed toggles so they appear in a nice order.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5146 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 08:06:44 +00:00
elly1989@rocketmail.com
2e68af07c1 Merged listen_ooc, seeprayers, STFU_ghosts, STFU_radio, deadchat, sound_adminhelp, ghostears, ghostsight, canplaysound, midis, no_ambi and lobby_music into client.prefs.toggles as bitflags.
Toggling these preferences in-game will update your savefile. Meaning that your preferences will persist between rounds.

Added some savefile_version updating stuff. It's pretty crude. If you're changing any of the savefile stuff just ask and I can change it/help.

Removed some unused client vars

Ghosts no longer hear ambience. Simplified ambience code.

Simplified lobby music code. It will no longer cause a massive queue of events (which would eventually balloon in memory use)

Moved ooccolor and sound_adminhelp back to prefs. It's easier and allowed me to remove the setupclient() stuff completely.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5143 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 05:58:04 +00:00
johnsonmt88@gmail.com
757410d487 Closets now pick up all items on the tile they're created on, the same as crates. This makes it easier for mappers to put things in lockers without making new locker types or var-editing them.
Moved snowflake telecomm ambient sound code that only half worked into the switch that's designed to handle it.

Committing for Aranclanos:
- Toggle ambience should now properly work. Fixes issue 992.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4880 316c924e-a436-60f5-8080-3fe189b3f50e
2012-10-15 01:28:06 +00:00
elly1989@rocketmail.com
4073ac9b00 Replaced all 'file.extension' references with 'relativepath/file.extension' using a script by thvortex of ss13-daedalus.
All credits to the author for this handy little script.
I Committed the modified python script to tool directory. Although it needs to be in the root folder of your repo to work.

To notice the improved compile times, in dreammaker go to Build > Preferences > and untick "automatically set file_dir for subfolders"

If this commit inteferes with any large projects just revert it, do your thing, then rerun the script. Easy-peasy.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4488 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-18 16:33:40 +00:00
baloh.matevz
c8d4064206 - Fixes issue 807. pAIs and any other mob that is located within another mob (IE being held by) will also get sounds played. There are some limitations: It is 1 level deep, so if a pai is on a mob, which is in a closet, they won't hear sounds. Also, if there are two mobs held by the same mob, only the first found will get sounds played to it. Limitations are in-place due to how often this code is called.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4474 316c924e-a436-60f5-8080-3fe189b3f50e
2012-08-17 13:56:42 +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
LastBattaWolf@hotmail.com
4c564ad00e - Added voice clip for malfunctioning AI
- Glass airlocks now sound less like actual airlocks and more like doors, reducing station noise pollution by 39%.
- RUNTIME! SQUEEE
- Fixed toggle-ambiance hopefully for good this time.
- Reorganized the sound folders.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3182 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-24 10:45:31 +00:00
polyxenitopalidou@gmail.com
881e2e4787 •Newscasters are live. Functions described in changelog (which is going to be updated on my next commit, 2 minutes from now), and my code is easily readable so I'm sure that you guys will manage :3
•Bunch of normal newscasters placed around the station, 2 security newscasters -with the ability to censor anything- placed in Sec and the Bridge

•Icon and photo usability in Feed Stories removed (for now) due to pete threatening me with naked pictures of his in-game character.

•Sorry for every datum or obj declaration being in the same file, I will clean them up in a bit. Right now, it gives you all you need to know of the newscater's function.

•If you need clarification about anything at ANY part of the code, ask through a comment

•Total work put into this was 4-5 days in total. Will add more features in the future, and it's easy enough for anyone to do so.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3005 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-29 18:40:30 +00:00
LastBattaWolf@hotmail.com
30021a2718 - Fixed a bug with some ambiance not playing properly, and moved toggle-ambience to special verbs with all the other toggles.
- Ported my changes from Git

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2993 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-27 23:53:25 +00:00
VivianFoxfoot@gmail.com
b655251653 Sounds for people in lockers no longer get progressively louder for each mob that can hear it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2969 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-17 05:53:09 +00:00
VivianFoxfoot@gmail.com
8730d375cf Adds a new special object (stop) that can be used when you need someone to stop moving right away, even before the next life(). Used in door crushing to prevent people from inertiaing through. Checks for /obj/special/stop in loc every move. Compared to the number of other checks, I don't expect this to be an undo burden, but can be commented out in case of OH SHIT LAG under heavy load.
Moves /area/entered to its own file.  
Adds a new area var called has_gravity.  Determines if floor tiles count for movement control (planning on adding more, currently can only be badmined)
Adds a new mob var called lastarea that is updated with the area you're in every time /area/entered is called. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2917 316c924e-a436-60f5-8080-3fe189b3f50e
2012-01-06 06:24:55 +00:00
LastBattaWolf@hotmail.com
8c1f50297a removed title music from bar
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2682 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-14 14:02:43 +00:00
LastBattaWolf@hotmail.com
145625b699 Cleaned up some more sounds and prepped ambistat.ogg and ambibar.ogg for their future as title music
(For PolyBlue) Flashbangs now affect people in lockers

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2608 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-04 08:45:39 +00:00
LastBattaWolf@hotmail.com
855b087f38 (Committed for PolymorphBlue) Traitors in the prison cell on the escape shuttle now fail their objective.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2599 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-04 02:37:19 +00:00
petethegoat@gmail.com
598fe6e961 r2593: LASTY BROKE EVERYTHING PANIC EDITION
But it's okay we still love you.

(fixed some missing apostrophes that were causing compile errors)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2594 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-03 03:06:54 +00:00
LastBattaWolf@hotmail.com
a6ac7c7f31 shuffled some sounds around to help counteract the SUDDEN CUTOFF issue when leaving an area
experimenting with throwing in actual music to certain areas (bar and possibly lounge in the future), will remove it if it doesn't really work out or fit well
removed some stuff that isn't getting used, everything I've removed since five or six months ago is sitting in a .rar under the downloads tab

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2593 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-02 22:52:30 +00:00
LastBattaWolf@hotmail.com
29a3acab5c quickfix to make ambimalf play less often
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2584 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-01 09:37:47 +00:00
LastBattaWolf@hotmail.com
af1041f4b7 Added some more ambiance
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2583 316c924e-a436-60f5-8080-3fe189b3f50e
2011-11-30 23:24:13 +00:00
LastBattaWolf@hotmail.com
a80f7c7528 - Fixed the karma exploit.
- Added ambiance to space and the mines.
- Updated changelog (UHANGI, SUPER, WHIMSICOTT.)


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2141 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-06 05:20:59 +00:00
mport2004@gmail.com
b471da4ed4 The modified Changeling mode should end properly now.
Tracking implants can now be used to message the holder.
Mini Readme update.
Explosive implants will explode when the host dies.  Might try and wrap these into nuke or as a new traitor item.
Added a play local sound proc.
Fixed most of the runtimes in the latest log.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2074 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-30 07:29:59 +00:00
LastBattaWolf@hotmail.com
163f1fc216 git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2043 316c924e-a436-60f5-8080-3fe189b3f50e 2011-08-23 20:51:20 +00:00
vageyenaman@gmail.com
b0e69dcd99 Bugfixes:
Fixed a boatload of runtime errors. There's so many I just completely forgot what they all were!

     Explosions / Singularities now do not gib people "one-by-one" as some people may have noticed. This looked absolutely weird.


Sounds:
     I was planning on making sounds become all distorted and whatnot if you were "high", but there were some problems. I've instead just settled with making deaf people not being able to hear non-ambient sounds at all.






git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1941 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-27 20:57:21 +00:00
uporotiy
e086aadfaf Mining
Added sandstone. You get it by clicking a sand... block, I guess? with itself, and it'll convert the sand and all sand on that tile to sandstone bricks.
Added mineral doors. They have a cool sound effect, can't be opened by AI or critters (including bots, carps and huggers), but can't be locked either.
Blatantly stole DF music for ambience because I'm a dick :33
 Chapel
Removed imperium something robes. Just... no.
 Crayons
Added the ability to draw graffiti and letters.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1594 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-16 12:42:12 +00:00
n3ophyt3@gmail.com
1aca6254d4 The great verb retabbening.
Assigned categories to assorted verbs that lacked them. Commands tab is now more or less gone. Instead, things are in "IC" for things like say, whisper, me, that are inherent to you, "OOC" for things like OOC chat, and "Objects" for verbs originating from the world around you. I suppose for those non-admins in the audience, you now also get an "Admin" tab, because I stuffed adminhelp and adminwho in there.

This change was only to verbs defined as verbs in the code, procs that are assigned to things as verbs are far more numerous and harder to isolate, but also mostly admin-related.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1234 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-22 21:29:42 +00:00
noisomehollow@lycos.com
e7d0657470 Minor refinement to aliens attacking mechs text.
Changed the ambiance track(s) for engine control. There are now 4 possible tracks.
Admins can now spawn pulse rifles.
Cleaned up some more pulse rifle code.
Monkeys should not properly be able to pick up guns but not fire them outside of monkey mode.
Added sounds to biting.
Larva can no longer roar.
Aliens now have hissing sound effects. Currently unused.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@704 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-26 07:11:13 +00:00
Skiedrake
cbec1b6f3d Removed files that were 0 bytes in size.
Made sure every verb now has a name which starts with a capital letter and makes sense, because OCD.
Changed the categories of verbs a lot, now they are in much more sensible tabs.
Added a couple of admin verbs:
 - Right click monkeyize
 - Call Shuttle
 - Recall Shuttle
Removed some goon verbs.
Gave "Coder" admin group a little more admin verbs:
 - Monkeyize, Cultistize, Abominationize, Call Shuttle, Recall Shuttle, Make Sound
Added mobs a "say_message" variable. Now admin-created mobs can "scree", "squeak" etc. instead of just "chimper" or "hiss".

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@138 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-22 00:41:07 +00:00