Commit Graph

9304 Commits

Author SHA1 Message Date
giacomand@gmail.com 8c54f50c56 -Small fix for PDAs using telecommunications to send messages.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5188 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 17:12:49 +00:00
petethegoat@gmail.com dbd759477e Improved window code, mostly formatting and styles, but also general improvements.
I've tested it a fair bit, but there may be bugs, so please report those if you run into them.

Added an ismetroidadult() helper

Improved L6 code.
Made the syndie shuttle console impervious to bullets.
Made mirrors breakable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5187 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 17:09:38 +00:00
johnsonmt88@gmail.com 8ae9dfd947 Removed the MASKINTERNALS from /obj/item/clothing/mask flags. There is no reason for -every- mask to act as internals.
Added an issilicon() check to the PDA's remove id/pen verbs so that the AI can no longer be rendered helpless if they happen to click the 'Remove Pen' verb. Fixes issue 1124.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5186 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 04:01:54 +00:00
johnsonmt88@gmail.com 4ddf9100f5 Sending a message should no longer work if you are incapacitated. Fixes issue 1120.
Moved some mob vars to carbon:
mob/var/handcuffed -> mob/living/carbon/var/handcuffed
mob/var/legcuffed -> mob/living/carbon/var/legcuffed

As a result, I've turned some procs into pure virtual procs and moved their code into carbon.dm.

mob/proc/restrained() -> mob/living/carbon/restrained()
mob/proc/can_use_hands() -> mob/living/carbon/can_use_hands()

The hand and legcuff portion of mob/proc/u_equip() was moved into mob/living/carbon/u_equip().

The handcuffed portion of mob/proc/show_inv() was moved into mob/living/carbon/show_inv().

Fixes issue 1114.

Made parrots immune to bear traps since parrots should be flying over them anyway.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5184 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 00:28:47 +00:00
giacomand@gmail.com c6a4b991bc TELECOMMUNICATION
Improvements to Telecomms. I wasn't happy with my relays and having telecomms send several messages on different Z levels was not effecient. I decided to overcome this by removing the need to attach Broadcasters and Transmitters to relays. Then I made relays just add to the signal data which z levels the message will be broadcasted on, instead of sending the message several times. It's a bit hard to explain but basically it should be better then ever, and adding more relays will not create serious performance issues. Since you can't control whether the Z level could only receive messages or only send them, I added options on the relay itself so you can set it. I then made an additional feature, which Nodrak gave me the idea for, which is that busses can change the frequency of a signal. It's an option on the Bus and you can set it to change the signal's frequency, which can create hilarious situations such as the command channel being redirected to the general channel. No way to duplicate a signal with a different frequency at the moment.
Since relays earlier depended on a stupid system in order to become a off-site relay, I instead just made it limited to the satellite Z level, which makes more sense.

Broadcasters and Receivers are linked to the HUB, but it's still possible to create a simple telecommunication system with a "Receiver -> Bus -> Processer -> Broadcaster" (though it will be slow)

OTHER

Smartfridge limit was lowered to 999, just below the infinite loop check limit. This is to prevent further issues that may occure.

Moved creating some icon datums above the SQL procs, just to make sure that the SQL itself isn't sleeping and causing issues with the datums being used before being loaded.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5183 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-25 00:08:29 +00:00
Hawk-v3 2cdbafa87e Merge pull request #2009 from CIB/master
Fixes voting
2012-11-24 14:06:58 -08:00
cib 5120d70e04 Fix the issue with time not counting down before game start. 2012-11-24 19:13:15 +01:00
petethegoat@gmail.com fd9f6490f1 Updated listeningpost.dmm to look nicer and be a bit more interesting.
Updated the Stechtkov pistol. Should be pretty solid now.
Made a returning ex_act for snow floors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5182 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-24 17:38:24 +00:00
Kortgstation@gmail.com 95b109ff62 Ported hivebots over to simple_animal
Ported viscerators over to simple_animal 

Updated spawning grenades to match.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5180 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-24 17:02:12 +00:00
Kortgstation@gmail.com 5ee5d21004 Replaced all of Agouri's stolen google image search posters with player created ones.
Sadly there are now only 10 instead of 17, but whatever.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5178 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-24 15:11:36 +00:00
giacomand@gmail.com 7926b373af -Re-ordered some stuff around. I couldn't replicate any bugs with the preferences but I can't be sure that it's 100% full proof.
I did find that your be special preferences, i.e: be alien, be traitor, be changeling and etc, are shared between preferences. I'll ask if this is intentional or not.

-Some minor stuff.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5175 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-24 10:50:59 +00:00
Hawk-v3 74ed33360b Merge pull request #1975 from RavingManiac/master
Wrapping paper fixes and improvements
2012-11-23 17:52:52 -08:00
Hawk-v3 2197fd6cbc Merge pull request #2000 from Whitellama/master
Map Fixes
2012-11-23 17:52:27 -08:00
giacomand@gmail.com 43e06e4ebb AIs in intellicards will not be able to move their camera anymore. Limiting them to their own core vision.
Committing Zelack's cleanup and fixes from here:
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=11056

Plantbags now correctly pick up plants from trays.
Using a hoe or injecting reagents updates the tray icon.
Plant Analysers now work on seed bags.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5173 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-23 23:01:04 +00:00
Whitellama 5f1552d35e Turned off space ninja spawning as a minievent 2012-11-23 14:59:18 -08:00
RavingManiac f4fe11fc4c Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-24 01:26:19 +08:00
Kortgstation@gmail.com 67ee202a2e Fixed everyone seeing in the dark.
Committing my almost finished away mission listeningpost.dmm so Giacom can look/help me with the telecomms.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5171 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-23 04:09:32 +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 76ede03966 Moved mob/var/footsteps to /obj/item/clothing/shoes/clown_shoes/var/footsteps
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5166 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 17:43:25 +00:00
elly1989@rocketmail.com 73b54b017b Removed mob/var/UI, it now uses client.prefs.UI_style
Removed var/constant/Pi It's already defined in setup.dm
Moved a bunch of global_lists to global_lists.dm
Fixed hair randomisation. (still bits to do)
Moved a lot of preferences_setup.dm stuff into __HELPERS/mobs.dm They'll be FAR more helpful as generic procs, rather than something tied to preferences.
Merged mob/var/nopush into status_flags with the CANPUSH flag
Merged mob/var/nodamage into status_flags with the GODMODE flag
Removed mob/var/be_syndicate and mob/var/be_random_name as they are not used.
Added /proc/ui_style2icon(ui_style) proc. It converts a string like "Midnight" into its corresponding dmi file. The code fore creating a new hud uses it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5164 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 15:22:08 +00:00
d_h2005@yahoo.com 13c2f29555 Adds brooms, by request! They don't do anything special yet. They can spawn in the theater, and there's one on the wizard's den.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5158 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-22 02:28:43 +00:00
d_h2005@yahoo.com 4893815006 Removes the poorly-done and completely arbitrary check on suit storage unit panels that prevented you from altering the settings without insulated gloves.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5157 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 21:36:51 +00:00
petethegoat@gmail.com 8fad89773b Nuke shuttle displays cooldown time now.
Updated some area names for nicer formatting on the shuttle console.
Improved pinpointers.

Updated the map; moved some syndie shuttle areas around to be further away from the edge of the map, and removed my birthday cake (thanks carn!)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5154 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 20:55:14 +00:00
Chinsky 7150999fc6 Rolling pins now work not inly only in full moon at the odd day of week between 1 and 3 am if stars are right.
Fixes issue #1980
2012-11-21 22:29:46 +04:00
petethegoat@gmail.com 0c9195fbe4 Fixes issue 1097. Shaft Miners not getting pda
Fixes issue 1118. duplicating trashbags
Fixes issue 1117. evidence bag issues

Syndie shuttle can now travel to mining and the tcomms sat.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5152 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 17:17:00 +00:00
Chinsky 15abc757d3 Nullchecks. And one zero division. 2012-11-21 20:55:53 +04:00
aranclanos@hotmail.com ab9c532ae8 - Fixed some ugly runtimes regarding mineral doors (Not mineral airlocks)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5151 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 14:53:12 +00:00
Whitellama f3e3ce7429 Merge branch 'master' of https://github.com/Baystation12/Baystation12 2012-11-21 04:01:32 -08:00
Whitellama 71b8045ee4 Added banging against windows with harm intent 2012-11-21 04:00:52 -08:00
giacomand@gmail.com fb90b18664 -Added new buttons to smart fridges which will let you take out more products at once. The buttons are x5, x10 and x25.
-Increased the fridge capacity to 2000.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5149 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 11:29:13 +00:00
giacomand@gmail.com 83193eaa95 -Committing Zelack's fix for retrovirus and committing his work on converting checking names to checking types when playing ambient sounds.
-Committing SuperSayu's fix for allowing robots to quickly empty items that they carry.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5148 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 10:45:17 +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
petethegoat@gmail.com 02c12a5877 Updated nuke mode a bit. The main changes are to the nuke shuttle.
The nuke shuttle now has no restrictions (except a cooldown) on movement, and can be piloted to any location. It also travels through hyperspace.
Nuke lockers and such now start on the shuttle, rather than spawning on landmarks. (with the exception of the bomb, and the uplink locker)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5141 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-21 01:28:14 +00:00
RavingManiac e31e117315 Package wrappers can now be put inside backpacks or other storage containers if the container is being held or worn. 2012-11-21 00:48:03 +08:00
petethegoat@gmail.com 6db2d55bbd Improved rigged crate code for some anon on /vg/
Made syringe guns do no damage on behalf of coderbus.

Added some new book sprites and updated some books.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5134 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 16:06:14 +00:00
giacomand@gmail.com 5b8b1b3302 -Added some visual hit indication by having a variable be set to 20 when the mob takes brute or fire damage. It will then be added to the health calculation, in the overlay code, and then it will reset to 0. Thus making a cool effect.
-Removed the waiting for light replacers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5132 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 12:23:51 +00:00
Kortgstation@gmail.com 7b048f5604 Fixed the NT cruiser areas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5131 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-20 08:12:47 +00:00
SkyMarshal 0644ac9af0 Merge pull request #1974 from CIB/master
Medical fixes and balancing
2012-11-19 11:19:10 -08:00
elly1989@rocketmail.com 27a53e211b removed client/var/be_alien and client/var/be_pai, everything now uses client.prefs.be_special
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5126 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 18:35:14 +00:00
giacomand@gmail.com 6d05ae60de Balance change: Malf AIs can't shunt from APC to APC and must first return to their core. They can also start a takeover from their APC now. This is a test run with it and if people don't like it I'll remove it.
General work to advance diseases.
-Changed the possible cures to a list which is ordered from easiest to cure to -hardest to cure.
-Some tweak valuables to symptoms.

-Air alarms will update their window when you cut/pulse wires.
-Re-added analysers to mechanical (blue) toolboxes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5125 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 18:30:05 +00:00
elly1989@rocketmail.com 14ed3f155b Mutes are now in datum/preferences. That means they are persistent! You can't avoid them by logging out you naughty little spammers.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5124 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 17:09:05 +00:00
elly1989@rocketmail.com 30357d18ce SANITY: Created a series of generalised sanity procs. They can be found in code/__HELPERS/sanitize_values.dm
They include such procs as sanitize_integer(num, min, max, default) which will check num is a number, round num to make it an integer, then check if it is between min and max (inclusive). If it fails the bound-checks it will return default. There are others, have a look.

PERSISTENT PREFERENCES: Every ckey which connects to the game gets its own persistent /datum/preferences datum.
It is archived in var/list/preferences_datums = list("ckey" = datum)
At connect it is automatically associated with the client defines.dm (or a new one is created if it can't find an archived prefs datum). This means clients will ALWAYS have a var/datum/preferences/prefs which references this datum. So you can use it without checking if(client.prefs)
This has simplified only a few bits of code. It will however, allow us to make preferences like see_deadchat ghost_ears etc, persistent. So they will not reset when you DC.

SAVEFILES: Changed the player savefile code a lot. Hopefully I've not fucked it up too much. Every single variable loaded from saves is now sanity checked using the new sanity procs. This should help prevent savefiles becomming obsolete by sanitizing input to meet current requirements, without deleting all the ok variables and making you start from scratch >_> NOTE: I still need to sort out the savefile version stuff. I'll probably figure it out before the server updates anyway. It sees to be fine without it.

You can no longer choose your blood type. It is randomised (with each bloodtype having a realistic probability of occuring). This is to make blood analysis (detective/medical) less pointless. It is chosen as soon as you connect. It remains persistent throughout each round so you won't be able to change it by logging in/out over and over.

Replaces some copypasta code with is_afk() (still a fair bit to do)

There are new hyperlink shortcut things. _src_=vars will direct your hyperlink to viewvars. _src_=prefs to your preferences datum. (These are the only way to access those bits of code via links). This means that the overall amount of operations in almost every Topic has pretty much halved and is much prettier.

Replaced and removed adminplayervars from datum/admins/Topic. It was superfluous. They now all point directly to the viewvars code using _src_=vars

Removed the changelog popup at round start. Instead a button on your game-window will glow white if there are new updates. To peruse at your convenience. This will speed up connect times.

Removed the AFK_THRESHOLD define. It is integrated into is_afk() now.

TODO: remove the prefs stuff from mobs and clients and update code to use client.prefs to access that info.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5121 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 15:13:57 +00:00
cib c5d35839ba Fixes issue #1959
Crew transfer shuttles now force the mode to finish, even if the mode has other finish conditions.
2012-11-19 12:24:14 +01:00
Whitellama 77b6f1e6fc WIP: Porting gun auto-targetting + suicide 2012-11-18 17:40:39 -08:00
SkyMarshal ae3cd42c76 Merge pull request #1973 from comma/master
Runtimes
2012-11-18 17:07:39 -08:00
johnsonmt88@gmail.com 1ea9aaa7ef Extra file got added.. That's the last time I trust the little TortoiseSVN checkmark icon on my folder.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5119 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 01:03:01 +00:00
johnsonmt88@gmail.com 7dad5e0af2 Moved shuttle_engines.dm to the unused folder as it has apparently been unticked for ages.
Moved the modified wish granter and meat grinder from Brotemis' away mission map (wildwest) into wildwest.dm in the random z-level folder. This way if we get to rotating through different maps, we wont have leftover unused code laying around.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5118 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 01:00:32 +00:00
Whitellama a9e3300a73 Disabled automatic spawning of space ninjas 2012-11-18 16:45:53 -08:00
ericgfwong@hotmail.com 4078732bd3 Secure Construction Area is now the Gateway room. Access restrictions changed to require Teleporter access.
Removed light switches from individual dorms.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5117 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 23:58:51 +00:00