Added job name to 'debrain' objective
expanded find_target_by_role
Fixes a critical exploit with the autolathe.



While browsing through my server's code looking for possible exploits to fix, i noticed the following :

The autolathe can be used to duplicate any and all objs.

The faulty code accepts any refID from the usr without a safetycheck to see if the requested obj is in the autolathe_recipes list.

This works "only" on objs because it will trigger a runtime error if the object has no material vars.

The default buildcost values for obj are zero, so it always goes through the materials-check, but it would not be sufficient to plug this exploit at this point.

The trivial fix is to have a check to see if the given refID is in the autolathe_recipes list, although a datum-based construction method would probably be more robust.

As basically identical autolathe code appears to be used in Baycode , /tg/, /vg/, Para, and all other builds i could look at, i assumed this exploit has been undetected since Goon.

And indeed, the faulty code is present in Gooncode rev4407 and has been ever since.
Merge pull request #179 from Walter0o/patch-2

Fixes a critical exploit with the autolathe.
Merge pull request #178 from alex-gh/ServerCode

Server code
Stun Revolver Upgrade

Stun Revolver update - makes it do slightly less pain, but a little bit
of stun and weaken to give it some actual purpose
AI law fix

Changed AI laws in the modules to say crew or organics
Emergency Message Cooldown

Dropped from 10 to 1 minute so people can actual hold a bit of
conversation with CC if needed. If they spam, BSA is still there.
Wisewill Sprites

Added wisewills sprites - bane stuff, sec rig fixes
Swap NT Rep and Customs Officer costs

30 for NT Rep, 15 for Customs Officer to represent their importance.
Added alien AI to custom synthetic

for ultimate chimera custom sprite
Hyperzine bottle

A pre-spawned bottle of hyperzine
Fixed spacelaw

no longer 404
New map

New map upgrades
Fix satchels

I herped a derp and broke satchels
Jukebox additions

Removed empty jazz playlist, added papers please and aussie music
Map bugfixes

Fix the errors I made in the last map update
Jukebox

Adding missing , because i need more coffee
Protect objective should select other traitors now
Merge pull request #180 from alex-gh/objective_fixes

Various fixes for the objective system