Commit Graph

4062 Commits

Author SHA1 Message Date
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
599430c3ff Re-added warnings. Admins can now give players formal warnings via the player panel. Even when they are offline. These warnings can no longer be reset by logging out.
The number of strikes a person gets is a define so hosts can modify it to their liking (I should probably move this to a config option but I can't be bothered to test it again). It defaults to 3 strikes, on the third strike you're out. It'll autoban you for 10 minutes.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5123 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 16:48:03 +00:00
petethegoat@gmail.com
3847c3d638 Photocopiers work properly with photos once again.
Updated gateways a bit, they use a few less globals now.

Added some new snow icons.
Added a wip away mission.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5122 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 16:28:52 +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
petethegoat@gmail.com
b39b1417cc A bit more bugfixing and clean up for new cameras.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5120 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-19 02:13:10 +00: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
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
petethegoat@gmail.com
b67262b32b Ported over BS12 style cameras, which photograph a 3x3 area. It's fuckin radical.
Removed /obj/item/weapon/camera while I was at it (unused).
New cameras are in modules/paperwork/photography.dm.
Standardised folder and paper naming a leetle bit.

Added a new gamekit sprite, also from BS12.

Path changes!
/obj/item/weapon/camera_test > /obj/item/device/camera

Updated all maps with the path changes, excepting oldstation.dmm.

Updated the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5116 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 23:41:37 +00:00
petethegoat@gmail.com
0a610c3df6 Fixes issue 1063. Catatonic revheads count as alive in terms of the round not ending
Catatonic players now count as dead for assassinate and mutiny objectives.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5115 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 21:43:53 +00:00
petethegoat@gmail.com
f9c4ce17e7 Added A WINTER WONDERLAND to the map. But on z2 this time.
Shuffled around the pod retrieval shuttle and the syndie shuttle a little bit.

Added fake unsimulated glass windows.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5114 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 21:16:08 +00:00
petethegoat@gmail.com
9c399618db Removed A WINTER WONDERLAND from the map
Improved poster code a little bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5113 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 19:58:28 +00:00
elly1989@rocketmail.com
796726543e message_admins() now only has one argument. The message you want to send. The find and replaces for %holder_ref% -> src=\ref[C.holder] and %admin_ref% -> src=\ref[C] are no longer needed. Instead we will be using _src_=holder to direct to holder and src= to direct to client (not needed, you can just omit the src parameter completely in your link)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5112 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 19:30:25 +00:00
petethegoat@gmail.com
8594527d2d Updated signs.
Fixes issue 1015. Layering issue, false wall, station map

Path changes!
/obj/effect/sign > /obj/structure/sign
/obj/effect/decal/poster > /obj/structure/sign/poster
/obj/effect/sign/maltesefalcon1 > /obj/structure/sign/maltesefalcon/left
/obj/effect/sign/maltesefalcon2 > /obj/structure/sign/maltesefalcon/right

Updated all maps (except oldstation.dmm) with the new paths.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5111 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 18:43:41 +00:00
elly1989@rocketmail.com
8eba871575 Can no toggle whether an objective is completed via the traitor panel.
Currently only works for custom objectives.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5110 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 17:45:20 +00:00
petethegoat@gmail.com
0c400d1a75 More fixes for flora because I'm terrible.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5109 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 15:48:42 +00:00
petethegoat@gmail.com
a2cb5199c6 Fixed a BUNCH of typos in flora.dm.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5108 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 15:26:25 +00:00
petethegoat@gmail.com
e789d6048f Added defines for snow and various snowy flora, including trees, grass, and bushes.
Fixed a mis-indented update_icon in floor/attack_hand(). Asteroid floors and such should no longer change when you click them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5107 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 15:22:13 +00:00
petethegoat@gmail.com
a2764fbfc5 Removed the old style asteroid turfs.
Removed a lot of old and unused turf sprites.
Removed some old botany sprites (fucking cocoa pods).
Replaces the lava turf sprite with a good one.

Adds a lot of Ausops' snow sprites. Defines for these coming soon.

I might have been overzealous with the turf removal, so if anything was actually used, feel free to just revert, or add back the sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5106 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 14:01:01 +00:00
elly1989@rocketmail.com
a10f6e0ec2 Added a switch inside client/Topic which can direct the topic call to a few frequently used destinations.
Before, when making a link to an admin tool, you done this:
<a href='?src=\ref[C.holder];parameter=1;>link</a>

Now, we do not need to use a reference to direct it to places like usr or usr.client.holder (or client, but you never needed src for that anyway)
usr: <a href='?_src_=usr;parameter=1;>link</a>
holder: <a href='?_src_=holder;parameter=1;>link</a>

This basically allows us to move a LOT of code outside of loops as we no longer have to create a \ref for every recipient of the message. They can all be sent identical links. A simple example of this would be in pray.dm Although it's most noticeable in the adminhelp code which is vastly simplified.

Adminhelp name spotting code thingy...whatever... looks for ckey matches first, then surnames, then forenames. This is to stop it possibly weirding out if there is a station full of "Ed"s of "Sarah"s

Prayer code no longer loads a new icon into memory every time a prayer is sent. Use image() not icon()!

key_name() no longer needs a reference for it's admin_link argument.

message_admin() pretty much doesn't need those extra arguments for finding and replacing %holder_ref%. I've got to go through all the code to check before I remove it though.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5105 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 08:27:11 +00:00
giacomand@gmail.com
a0e8bb51e0 -Increased the amount of units the sprayer used to make water slippery again.
-Added a verb to empty the contents of the sprayer onto the floor.
-Admin spawnable only poisonousness apple added.
-Apples will always be eaten in one bite, to balance it, the apple can only hold 20 reagents now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5104 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 02:13:00 +00:00
petethegoat@gmail.com
d8c0a0e437 Added crate traps for Cheri.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5103 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-18 00:24:31 +00:00
elly1989@rocketmail.com
97e95e4ab0 Moved "there can only be one" to the secrets panel (fun)
Removed the last of the old promotion/demotion code.
Permissions panel accessible via player panel.
Uncommented the attack log verb. I mistakenly thought it wasn't used.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5102 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 23:28:54 +00:00
giacomand@gmail.com
9894568500 -Cyborg Hypospray will no longer lose it's reagents when switching modes.
-Spaceacillin will now prevent the spread of diseases while it is a mob.
-Moved the "Create A Disease" code into a proc.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5101 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 22:28:48 +00:00
giacomand@gmail.com
e2acdcfe47 -Admins can now make their own advance diseases via the secret button! Instead of the useless "virus2" button, there will now be an option called "Create Your Own"! Use this button and pick from 5 symptoms to make your disease from.
-Fixed a bug where blood/vomit decals would be creating new viruses.
-Medical computer won't recognize advance diseases... for now.
-Used english_list when displaying symptoms.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5100 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 19:53:00 +00:00
daniel.cf.hultgren@gmail.com
e86ba45882 * Added constructible/deconstructible air alarms and fire alarms.
More of these to come!
Uses sexy programmer-art sprites, if anybody feels for it, update them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5099 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 18:54:37 +00:00
petethegoat@gmail.com
06ef565d4d Some runtime fixes for the med data computer and hopefully the mule cart.
Fixes issue 526. MMI-Mech issues
MMIs can now change intent. There's no feedback, but they can at least function properly now in mechs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5098 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 17:44:29 +00:00
elly1989@rocketmail.com
0bca943424 Fixed OOC color being missing from the preferences screen (was using the wrong flag, changed from FUN to ADMIN)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5097 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 16:00:52 +00:00
elly1989@rocketmail.com
175b64cb9a Fixed an incorrect flag. Spawning was looking for DEBUG rights rather than SPAWN rights.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5096 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 07:02:38 +00:00
aranclanos@hotmail.com
5d9f6d4ccd - Fixes the ugly runtimes caused in r5087 about dismantling walls.
- Fixed the mineral of the silver walls. It was by default, metal.
- Fixed a runtime about building airlocks/walls/false walls with only 2 sheets.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5095 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 03:50:45 +00:00
Kortgstation@gmail.com
121e8fa1d9 Split corpses into corpse and mobcorpse. Corpse is still used for decorating maps, mobcorpse is used for simple animals dropping human bodies.
Committing Brotemis's updates to his Wild West map/fixes he had for the associated code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5093 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 01:43:13 +00:00
giacomand@gmail.com
32a855049f -Cyborgs can use Page Down to activate an item in their held module.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5092 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-17 00:08:37 +00:00
petethegoat@gmail.com
b30abb014f Added a large variety of the alien queen for testing and feedback.
Thanks to WJ and Cawoijfaoiw for the sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5090 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 19:21:35 +00:00
petethegoat@gmail.com
ee66c32bd0 Updated the L6.
Fixes issue 1095. L6 Icons bugged after reload

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5089 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 18:52:41 +00:00
aranclanos@hotmail.com
0258d5be22 -Changed all minerals path from /obj/item/stack/sheet to /obj/item/stack/sheet/mineral. (This change excludes glass, Rglass, metal and plasteel)
-Reduced the chunks of code about minerals in door_assembly.dm

Preeeetty much this commit is just to update all the files to the new path of the minerals. From here, if I can, I'll start changing one by one to remove the huge chunks of code.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5087 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 15:00:09 +00:00
Kortgstation@gmail.com
a814ff7be4 Syndicate simple animals will only attempt to destroy obstacles when chasing a target. Now the away missions wont start horribly smashed up.
Committing Brotemis's away mission and related code. I think he wanted to make a few more changes, but it should be functional.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5085 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 02:32:38 +00:00
elly1989@rocketmail.com
5ba2a398a1 Removed an extra "cartridge = C" that accidentally got left in
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5084 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 02:14:24 +00:00
elly1989@rocketmail.com
43dfc564f4 Removing an inconsistent restriction from the rightsedit thing.
I'll need to talk to Erro to figure out what to do with that.
Personally, I'd like to think people with PERMISSIONS rights could be trusted but you never know >_> bloody internet

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5083 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 01:57:48 +00:00
d_h2005@yahoo.com
2aadd58680 Removes duplicate watermelon define.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5082 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-16 01:08:34 +00:00
d_h2005@yahoo.com
34905c08d4 Adds kudzu plants, which can be grown in hydroponics trays. They are only obtainable by injecting mutagen into a tray with lots of weeds.
Glowberries have uranium inside them now instead of radium, which caused overlap since glowshrooms also had radium.
Also tweaked cocoa pod sprites a little bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5081 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 23:56:28 +00:00
elly1989@rocketmail.com
25b61bae72 Removed the infra_sensor define for noddie.
Integrated the sql and standard admin_rank stuff a little. Still needs some work.
Permissions Panel has a sexy floating search bar. The scripts and stylesheets are external files which will be sent to every client at connect, so they can be used in any panel you wish with no additional overheads.

If there are any bugs with the permissions panel (particularly the search bar) please let me know. thanks.

rights2text now has a seperator argument. It defaults to "", but can be any string, for instance "<br>"

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5080 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 20:35:37 +00:00
petethegoat@gmail.com
323c527e9d Committing a fix for recursive books
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5079 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 20:30:36 +00:00
petethegoat@gmail.com
2c3a60e350 You can carve out books with a pair of wirecutters or a kitchen knife to create a handy hiding place.
Dice are no longer the same size as fire extinguishers

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5078 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 20:15:49 +00:00
giacomand@gmail.com
78887723ca -New corridor airlocks! They will replace the regular glass airlocks in the corridor but they have an extra feature. They stay open by default and close/open automatically based on the local area's air alarm alert.
-Got rid of a magic number in implants.
-Robots cannot hide their items in food anymore.
-Updated changelog with disease naming.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5077 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 16:40:54 +00:00
aranclanos@hotmail.com
8af0cf02fd Fixes Issue 1099 - Not being able to build rWalls with plasteel. I slipped it there, sorry.
Deleted beach.dm and moved the code to floor_types.dm, the turf/simulated/beach is now turf/simulated/floor/beach.
Changed the turfs in the holodeck beach to the new type.
Falsewalls and walls have the right descriptions and names now.
'bananium' and 'sand' falsewalls are deleted, we already have 'honk' and 'sandstone', that are the same thing
Deleted a bunch of code that does the same thing in girders.dm (This still needs a lot of work, I'm unhappy of how it ended up)


I'll keep working with sheets of minerals, they are really messy, I think some of them are defined twice (!) and there are large chunks of code that does the same thing when they are used. But, as always, to be continued~

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5073 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 09:38:06 +00:00
giacomand@gmail.com
9afc2cbe7f -Chemical implants can now hold 50 units instead of 10.
-Made mutagen a catalyst instead of an ingredient. Fixes Issue 1100.
-Spellbook and Teleport Scroll doesn't show up for other players now.
-Added a syndicate intercom in the wizard's den.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5072 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 08:03:05 +00:00
giacomand@gmail.com
67906a03a0 -You can now name your advance diseases. You can only name unnamed diseases.
-Removed the mutagen requirement from a metroid recipe so it does not conflict with the mix_virus recipe.
-When deaf, you'll get a notice when you see someone talking but you don't hear them. Being blind and deaf will give you no message, because you won't be able to tell. Talking while deaf will give you a message, even while blind.
-Diseases can't be cured by having a high body temperature now.
-I cut down the copy+paste on the meter code.
-Advance diseases now have a limit of 3 in a single mob, increased the amount of symptoms you can have to compensate.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5069 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-15 02:30:29 +00:00
petethegoat@gmail.com
ad5e92d3cd Fixed a bug where building and deconstructing a wall on top of atmospheric pipes would cause them to disappear.
See issue 1096 for some info, though it's not technically a related issue.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5068 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-14 22:53:08 +00:00
d_h2005@yahoo.com
15e001d19d New sprites for electropacks. Readds transparent-case PDAs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5067 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-14 22:22:22 +00:00
petethegoat@gmail.com
1a4d38dfab Added stomping sound effects to the mech toys. Thanks to Skasi for the idea.
Click them inhand to make a stomp, and click them with your other hand to make a turn.

Added a cooldown to riot shield bashing, as it does actually seem to cause lag. Kor was right! Who knew?

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5066 316c924e-a436-60f5-8080-3fe189b3f50e
2012-11-14 20:37:43 +00:00