Commit Graph

4339 Commits

Author SHA1 Message Date
baloh.matevz@gmail.com
0a1b16f620 - Moved access definitions for jobs to the job datum. In addition, I added an extra access definition: minimal_access and access. Minimal access is intended for servers with large populations. All jobs have the bare minimum access they need to survive. access, on the other hand, is a far more generous list of accesses, intended for servers with lower populations, where players are expected to do more than just the job they were assigned. Also for servers which don't want to allow people to hide in their own ultra secure departments, where no one can get to them.
I did not go through the list to assign 'access' yet, so the two are currently identical.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5479 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-06 16:38:45 +00:00
giacomand@gmail.com
f614122778 -Added a new button to NTSL's IDE which will clear the server's memory.
-Changed the broadcast function using a precreated human. The human would still be existing and a new one was created for every use of the broadcast. Garbage collecting it was almost impossible and deleting it everytime a broadcast is made would be laggy so I modified the broadcast code to not need a mob reference.
-Added some checks in the events.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5477 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-06 06:55:52 +00:00
Kortgstation@gmail.com
bc56419710 Fix for slime steroids not working.
Fix for slime monkey spawning only spawning one monkey (it spawns 3 now).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5476 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-06 01:27:58 +00:00
giacomand@gmail.com
e4478711e4 -Added a logging message for a node having a null powernet.
-Misc stuff.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5475 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-06 00:08:51 +00:00
Kortgstation@gmail.com
49b6e1c64f Added three new slime reactions.
Made slimes emote less often.

Found a better way to fix the runtimes I'd been getting, most cores delete on being used again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5474 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 18:20:10 +00:00
Kortgstation@gmail.com
14643c9517 Fixed slime extract related runtimes. Apparently it didn't like having them get deleted as part of the chem reaction.
To make it easier to deal with all the extracts that are gonna be laying about, made it so using a slime extract changes the name to "used slime extract" (this means you can store used ones neatly and separately within the slime fridge).

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5473 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 14:31:21 +00:00
Kortgstation@gmail.com
7dde9794cf Added a smart fridge variety that holds slime extracts and placed it in xenobio.
Touched up xenobio/misc research a bit more adding missing lights (and a few missing blast doors, whoops)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5472 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 13:44:51 +00:00
Kortgstation@gmail.com
96d4a47027 Fixed the xenobio area overlapping into space/added a missing light.
Removed the chance for goo people to SKREEEEEEEEE cause I am pretty sure sreeking is a metroid thing

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5471 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 10:47:38 +00:00
johnsonmt88@gmail.com
2c3ae32f04 You can now commit suicide using certain items! There will be more items to come, this really just lays the groundwork.
Credit goes to CodenameB and Spike68 for the original proposed commit. Althought it ended up changing, this commit still uses all of their suicide messages. Thanks to carn for pseudo-coding the base of the system that I ended up using to implement this.

The suicide verb checks the item in your active hand and calls that item's suicide_act(). (/obj/item/proc/suicide_act(mob/user)) The proc displays the suicide message to any viewers and returns a damage type. The suicide verb then applies 175 damage to the mob divided by the number of damage types. If the proc returns null (meaning that the item does not have a suicide_act() defined) the regular suicide occurs.

To any coder wanting to add items to this: 
- You MUST return one or more damage types. "return (BRUTELOSS|FIRELOSS)" for example.
- Please do not manually type in the item's name; use [src] to refrence an it instead. It'll save time down the road if an item gets renamed. It also helps handle any child of that item without copy/pasting the proc to each child.
- Please do not use 'usr' for anything.

Parrots can now see which item they are holding onto in the stat panel.

The toy crossbow should once again work properly. Fixes Issue 1227.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5468 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 03:56:24 +00:00
baloh.matevz@gmail.com
9cf23741ca - Fixed department security, so you no longer spawn in walls
- Applied some changes that happened to jobs since department security was started.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5467 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-05 03:37:22 +00:00
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
sieve32@gmail.com
6e1e708110 -Fixed a typo in slimes.dmi that caused baby blue slimes to have an invalid icon when their core was removed. Thanks SuperSayu
-Fixed a runtime with mechfabs where they would loop a 'return process_queue()' forever, that was an oversight on my part

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5463 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-04 02:42:17 +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
aranclanos@hotmail.com
bc56760a35 Moved the defines of damtype from /obj/items and /obj/mecha to only /obj.
This fixes a fuckload of runtimes and makes structures and machinery being able to cause damage on attackby procs, for example, using TK.

I'm not entirely happy of doing this, adding another var to a base class, but it's better than leaving a lot of hasvar() procs and it's easier than moving obj/machinery, obj/structure, etc, to obj/object/machinery, obj/object/structure, etc.
Also it doesn't break the entire game.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5457 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 10:24:36 +00:00
aranclanos@hotmail.com
5febd8103a Runtime fix for secbots and ED 209 bots trying to handcuff all mob types.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5456 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-03 09:25:34 +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
411b4ece9c Runtime fix for trying to inject chemicals on mobs without reagents using the sleeper.
Stop making runtimes with runtime!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5449 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 10:54:19 +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
aranclanos@hotmail.com
c673a6f974 Runtime fix for airlocks calling for an AI that doesn't exist anymore after the AI started the hacking process.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5447 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 09:28:21 +00:00
aranclanos@hotmail.com
503939e0f3 Runtime fixes for trying to use some href buttons on the DNA modifier console without a subject on the DNA scanner.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5446 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 07:08:18 +00:00
ericgfwong@hotmail.com
468a106278 Science lockers spawn with their striped labcoat now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5445 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-02 01:22:52 +00:00
Kortgstation@gmail.com
2003244388 Fixed beartraps instant-killing simple animals (now does 20 damage, enough to kill mice/pets, but not enough to one hit kill an alien empress or something).
Fixed beartraps working on "floating" simple animals (constructs, shades, viscerators)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5444 316c924e-a436-60f5-8080-3fe189b3f50e
2013-01-01 08:36:50 +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
ericgfwong@hotmail.com
098b8f6080 Added additional access_research requirement to the robotics/science door.
Gave the HoP and RD morgue access.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5439 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 19:55:17 +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
aranclanos@hotmail.com
71694d809c Runtime fix for finishing the appendicitis surgery, using the cautery. The disease was being deleted before it was added to the resistance list. However, this is already done on the datum/disease proc, cure()
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5437 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 11:13:13 +00:00
aranclanos@hotmail.com
eee9bbf94a Runtime fix for trying to use an empty hand on a secure briefcase.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5436 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 10:25:55 +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
aranclanos@hotmail.com
5f90ea1a0f Runtime fix for moving around your hands a light tile. The new() proc of the light tiles missed some vars that the parent proc uses.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5434 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 08:42:11 +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
aranclanos@hotmail.com
ed0f8bf066 Fixes a runtime if there's no mob when a dna injector is injected by adding a sanity check.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5432 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-31 05:37:51 +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
ericgfwong@hotmail.com
70dcb95ddd Reorganized the Command Sector. The Captain has his own private quarters in addition to his office.
https://dl.dropbox.com/u/831776/bridge_swap11.png

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5426 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 23:41:45 +00:00
johnsonmt88@gmail.com
154a7c0f76 The code compiles again but I make no promises about whether or not the piano works.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5425 316c924e-a436-60f5-8080-3fe189b3f50e
2012-12-30 17:51:49 +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