Commit Graph

2282 Commits

Author SHA1 Message Date
elly1989@rocketmail.com
a6c1a64d89 runtime logs automatically log to data/logs/runtime/YYYY-MM.txt
fixed giveruntimelog getruntimelog and getserverlog
Any admin with ADMIN rights can give anybody permission to view runtimes simply by typing .giveruntimelog The person given permission can then type .getruntimelog
Admins can type .getruntimelog without giving themselves permissions first
Moved a lot of the copypasta code into helper procs in __HELPERS/files.dm. There is one which allows a client to browse through folders on the server (in this case to look for logfiles). You can now also return to the directory you started at.

Note, for some weird reason, runtimes will no longer show in dreamdeamon. If this is a massive problem I can make it a compile option or something (or you can comment out the line if you're a coder). I know this is a massive pain but it sort of removes much of the effort in getting runtimes from other servers, since they all now have their runtimes saved in a way coders can easily access. It also sort of means we don't have to rely on people remembering to log runtimes and such. And all logs will be organised by month.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5466 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 22:16:54 +00:00
rockdtben@gmail.com
169c96db1b Too remove potential excessive garbage collection per tick. We will be reusing lists for overlays instead of deleting and creating them.
the .Cut() proc on a list will empty a list by default. This also will set the len to 0.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5465 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 15:11:06 +00:00
Kortgstation@gmail.com
51613ccbb6 Made it slightly easier to get Tier 4 slimes.
Gave additional reactions to grey and purple cores (using blood and sugar, respectively).



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5464 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 07:01:00 +00:00
giacomand@gmail.com
037cf2b071 -Additions to NTSL from /vg/:
Logging for scripts.
A non-recursive replacetext function.

-Fixed an issue with the broadcast() function for NTSL, it will now properly broadcast again.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5462 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 22:57:47 +00:00
Kortgstation@gmail.com
227afb5e24 Moved stuff about in xenobio. The stuff related to the slime extracts is now where the egg hatching room was (which no longer had a reason to exist, sorry Giacom I know you wanna gas people). Gave them a water tank for their extinguisher as well.
Slightly increased the slimes chance to mutate when reproducing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5461 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 21:34:11 +00:00
Kortgstation@gmail.com
294f990519 Fixed the icon states of the slime mutant race people. Had not changed their names correctly from when Phoal gave them to me.
Made adult slimes split into two baby slimes on death (no mutation chance, the list of friends doesn't pass over, and they'll start very hungry).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5460 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 20:07:21 +00:00
aranclanos@hotmail.com
808455cbbe Runtime fix for syringe projectiles trying to hit all the mobs on the same turf.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5459 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 17:07:46 +00:00
giacomand@gmail.com
31e8a5ebae Portable generators will not remake powernets everytime a wrench is used on it.
Got rid of the reliability factors for generating power or critically failing.
Increased the time factor for each sheet for all generators.
Added some feedback stuff such as saying which fuel the generator takes and how much power is in the current powernet, that it is connected to.

Powernet making will not wire up "power" machines that are not anchored.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5458 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 15:23:43 +00:00
giacomand@gmail.com
a2c1c935de -Made Emitter EMP_act do nothing. For the concerned.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5455 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 08:23:52 +00:00
Kortgstation@gmail.com
aa92ab7df9 Added 13 types of slimes/changed slime reproduction to give mutation chances on birth.
Added 13 core types with a mix of old and new reactions. Each slime has its own core type/reaction.

Added plasma sheets/a grinder to xenobio.

Added Phoal's slime people sprites.

Added simple animal pet slimes (one of the core types allows you to obtain them).

Updated the changelog

Still to come: slime types having their own temperature resists/special attacks.

This is all probably unbalanced as well but we'll see how it goes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5454 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 02:51:52 +00:00
johnsonmt88@gmail.com
32ebb82e68 Updated books linking to the Nanotrasen wiki to the wiki's new url. Fixes Issue 1218.
Picking up items will now automatically stop you from pulling them. Fixes Issue 1107.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5453 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 00:46:41 +00:00
giacomand@gmail.com
78cc7379d4 Made fires be garbage collected and not hard deleted on demand.
Committing for S0ldi3rKr4s0 (I hate your name).

Fixes some typos in blueprints.dm, designs.dm, dna_mutations.dm, gift_wrappaper.dm and research.dm.
Gives minerborg some eyes to signify activity (finally)
Made pAI cards need only programming 2.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5452 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 17:30:40 +00:00
aranclanos@hotmail.com
0eee76d693 Runtime fix for the singularity, who is trying to search for the var glasses on mobs without them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5451 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 12:25:26 +00:00
giacomand@gmail.com
f2854db4b0 -Made firesuits effective again by changing the proc which damages the humans due to the flames to fire_act(). The flames themselves will hurt people, who are directly on top of it, but if they're wearing a firesuit the damage is much less.
-Added some procs for getting IDs and getting access. Helps clean it up so we don't have "istype(A, IDCARD) OR istype(A, PDA)" everywhere.

-Made wallets equip able in the ID slot and be able to be used as an ID.

-Added a PACMAN generator in Engineering to jump start the Singularity if they run out of power.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5450 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 11:26:30 +00:00
aranclanos@hotmail.com
c471031935 Runtime fix for Ian chasing items that not exist. There was a check for this, so I just included the code who was runtiming to the if. Tab is a powerful weapon.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5448 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 09:35:49 +00:00
giacomand@gmail.com
c276432b84 -pAIs can no longer use an exploit to bring up the PDA window menu.
-Made "Do not ask me this round" last only for that round. At the moment the action is undoable so I added a warning. Fixes Issue 1209 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5442 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-01 02:27:37 +00:00
johnsonmt88@gmail.com
e7ebfae317 Another whack at the defines folder:
Removed defines/obj/toy.dm and moved the defines down to objects/items/toys.dm

Moved a big chunk of defines out of defines/obj/weapon.dm and into their respective .dm files.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5441 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-01 01:25:02 +00:00
johnsonmt88@gmail.com
095e84de15 Removed vending.dm and machinery.dm from the defines folder and moved the defines to their respective chunks of code.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5440 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 23:51:04 +00:00
baloh.matevz
9455347fa5 - You can now ban guest accounts.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5438 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 19:27:09 +00:00
giacomand@gmail.com
9d0ee3559d -Moved all copy+pasted use of mob Move() has been moved into /mob/living/Move().
-Because of this, simple animals can now pull.
-You can stop pulling something by using the pull verb (or CTRL+click) on it again.
-Added a commented out debug verb for freelook.
-Converted the "stop pulling" proc to a verb for normal usage too.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5435 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 08:49:46 +00:00
giacomand@gmail.com
10cd5b1ca7 -Freelook was updating too many chunks than it needed to. This will probably help get rid of less then half of the lag it causes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5433 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 06:06:50 +00:00
giacomand@gmail.com
ab4789fec6 -Added a queue update icon system for APCs to use during process(). This will limit how often they can update their icon and will help when the power is being unstable.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5431 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 04:35:07 +00:00
aranclanos@hotmail.com
d4d4e8a1dd Finishing the runtime fixes started on r5420, the exact same thing, but this time on disposal bins.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5429 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 02:58:02 +00:00
johnsonmt88@gmail.com
0549de1b93 Removed some world messages when disconnecting powernets.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5428 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 02:57:05 +00:00
giacomand@gmail.com
2bd3025fe1 -You can buy shield generators from cargo. Teleporter access required.
-Small update on emitter.
-Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5424 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 11:06:53 +00:00
giacomand@gmail.com
a04eb3f275 -Changed emitters.
Emitters will now need to be wired.
Emitter type has changed to /obj/machinery/power/emitter
Fixed cables not correctly disconnecting power machinery from the powernet after being removed.

-Fixed a typo with smashing tables/racks.
-Fixed maps having incorrect types.
-Fixed singularity EMPing when at stage 1.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5423 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 10:47:25 +00:00
aranclanos@hotmail.com
d99e8264e2 Fixes a fuckload of runtimes related to checking the loc var of an atom who was disposaled but it's not moving yet.
With this change, the black screen of the delivery chute is gone. Ya know, when you entered in them you had some 3 seconds of a stupid black screen.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5420 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 00:01:20 +00:00
giacomand@gmail.com
6d63d6d4e0 -Got the disease types switched around. I switched them back. Fixes Issue 1213
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5419 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-29 12:35:56 +00:00
giacomand@gmail.com
7af60a7fb5 -Changed the powernet nodes list to be a dictionary list (associative list, hashtable, etc..)
-Added a solars_list. The sun will use this list instead of the machines list. I made a proc which decided on whether to use this list or the powernet nodes list depending on what is smallest. I replaced some loops to use this proc.
-The sun will reference this list for debugging purposes. The sun will also remove solar equipment in the list which are not connected to a powernet.
-Cut down on some duplicated code.
-Fixed an issue with solar panels not updating their direction correctly.
-Changed the proc updateicon()'s name to update_icon()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5418 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-29 07:24:42 +00:00
ericgfwong@hotmail.com
7408d897de Added a camera to library so the librarian can play reporter if he wanted to.
Added more swag to Vacant office so it'd be more unique from the other construction areas.
Changed photo item_states to look like paper.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5415 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-29 03:43:23 +00:00
ericgfwong@hotmail.com
82f31bc6e2 -Fixed up floor arrow icons so that they're not just the same one rotated around.
-Made chemistry a bit less reinforced.
-Moved more engineering equipment to access_engine_equip.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5413 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-29 00:14:01 +00:00
johnsonmt88@gmail.com
d4dc5ae070 Moved var/force from /obj/item to /obj so that everything gets it, including structures and machines that get tossed around using Telekenesis. The default force is still 0. This should finally put a stop to a large number of runtimes.
Runtime fix for being hit by something without there being a usr. This was most likely due to explosions or possibly mass drivers.

Runtime fix for simple animals using department channels. Only parrots can use them now as they are the only simple animal with the 'ears' variable.

Runtime fix for the mech's energy relay process() when there is no battery in the mech.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5405 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-27 02:08:41 +00:00
johnsonmt88@gmail.com
08e2733c0c Commit for lpeters:
Prevents you from entering the disposal chute from any direction except that in which it is facing. Fixes issue 918.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5403 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-26 19:32:22 +00:00
johnsonmt88@gmail.com
7d7aae0334 Some fixes/changes to Poly:
- Poly will no longer perch on closets/crates.

- Poly should now stop picking up items that it has already collected on its perch.

- Poly should now stop picking up the wrong item. Meaning if it 'looks in the pen's direction and takes flight' it'll grab that pen and not a bruisepack.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5402 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-26 02:56:59 +00:00
giacomand@gmail.com
3e24586d6b -Work done on facehuggers to stop them from being buggy if they're sterile or in a bag. Added icon sprites for inactive facehuggers when they're on a person, meaning they won't turn invisible.
Fixes Issue 1052
Fixes Issue 1065

-Added a world limit for blueprints naming areas.
-Fixed a wrongfully named research design.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5394 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-24 19:56:20 +00:00
giacomand@gmail.com
e9fd2037d2 -Committed lpeters's patch which Fixes Issue 1189. http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=11549
-Made the shower not require power.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5391 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-24 01:38:36 +00:00
giacomand@gmail.com
c06fc96acf -Committed something I shouldn't as it wasn't ready and I forgot to untick it while committing my last change.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5389 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-24 00:14:44 +00:00
giacomand@gmail.com
cdc4332769 -Should fix machines not depowering correctly. Let me know if you find a machine which should be powered off but isn't.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5388 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-24 00:12:12 +00:00
baloh.matevz
92a2749fb7 Fixes issue 1111. Makes it possible to apply a manual job ban (via the form in the banning panel) for AI, cyborg, pAI and antagonist roles.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5387 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 23:56:08 +00:00
giacomand@gmail.com
fc86180f6c -The Military PDA will not show up on possible PDAs to message but you can reply to the PDA if it sends a message to you.
-Changed the exchange rate for plasma to supply points to 2:1
-Admins can now see photos in newscaster channels when using the button in the fun tab.
-Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5383 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 20:08:32 +00:00
baloh.matevz
5cebb40123 - Fixed a runtime that happens when you try to add a new admin via the permissions panel. Adding admins through that panel will now work again.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5382 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 19:35:20 +00:00
baloh.matevz
b55042e64b - Added temporary jobbans.
Screenshot: http://www.ss13.eu/tempjobban.PNG

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5381 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 12:20:11 +00:00
giacomand@gmail.com
a7d2445693 -You can now sell plasma sheets for supply points. Conversion rate is 3 plasma sheets for 1 point. The rate is adjustable.
-Permission from Erro to remove the "redeem a mech by colllecting all the toys" feature. Removed the description from the mech toys too.
-Fixed a possible exploit with ghost following to create more than one follow loop.
-Re-added send mob to the player panel.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5377 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-23 01:01:25 +00:00
baloh.matevz
4ac30972ee Added a fix in IsBanned() that alters the SQL statement based on whether an ip and computer id was passed into the IsBanned() proc.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5374 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-22 17:24:06 +00:00
baloh.matevz
77afc4383d Removed some world << "" debug messages from multichoice polls.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5373 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-22 09:56:10 +00:00
ericgfwong@hotmail.com
e7dc7f9f0e . now works for department radios, in addition to : and #
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5370 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-21 20:44:34 +00:00
giacomand@gmail.com
76a6ef2252 -Cleaned up computers. Fixes Issue 1195
-Made computers use idle_power_usage and active_power_usage that it used from the MC.

I'm sure something is likely to break because I removed a lot of snowflake code. I tried to test all the computers with what I can but if you find something odd then please tell me.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5369 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-21 20:38:36 +00:00
d_h2005@yahoo.com
12e8a32eb2 Tiny adjustment for Ikarrus: The alternate HoS jumpsuit is not a subtype of the normal, and therefore counts towards fulfillment of the Steal objective.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5365 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-21 04:28:11 +00:00
johnsonmt88@gmail.com
17b162d3ba You can now use # to speak over department channels. (#e Hello now works just like :e Hello)
# was the most voted for symbol, despite it being in different places on british keyboard layouts and every other layout.
The old : symbol still works with department channels.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5361 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-19 23:24:57 +00:00
d_h2005@yahoo.com
68969baa5c Fixes issue 1106 - Splits the chicken suit into suit and hat. Adds an egg to the costume landmark for honks and giggles.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5359 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-19 06:36:12 +00:00