Commit Graph

1740 Commits

Author SHA1 Message Date
rockdtben
9db4138a4f -Fixed a runtime error.
The shock code for grilles assumed that all grilles have cables connected to them. Fixed that.

runtime error: list index out of bounds
proc name: electrocute mob (/proc/electrocute_mob)
  source file: power.dm,453
  usr: Brett Prescott (/mob/living/carbon/human)
  src: null
  call stack:
electrocute mob(Brett Prescott (/mob/living/carbon/human), the power cable (/obj/cable), the grille (/obj/grille), 1)
the grille (/obj/grille): shock(Brett Prescott (/mob/living/carbon/human), 70)
the grille (/obj/grille): attack hand(Brett Prescott (/mob/living/carbon/human), 1)
the grille (/obj/grille): DblClick()
the grille (/obj/grille): Click(the floor (97,118,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=16;icon-y=12;left=1;scr...")
Brokenriddle (/client): Click(the grille (/obj/grille), the floor (97,118,1) (/turf/simulated/floor), "mapwindow.map", "icon-x=16;icon-y=12;left=1;scr...")

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2306 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 20:24:34 +00:00
uporotiy
a71691759c Aliens can now shape membranes.
AIs now see runes as blood.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2305 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 16:36:23 +00:00
mport2004@gmail.com
995fb5f788 The clown's new name may no longer be things like floor or wall and it now checks nonhuman mobs for duplicate names.
Cleaned up Move() a bit still needs some work.
To help balance them a bit Cyborgs may no longer pick the standard iconstate unless they are the standard module.
Might have fixed space wind.
Donuts added to the secbelt item list. 


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2304 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 12:16:57 +00:00
bbusse@gmail.com
a65a26bdb3 moar atmo runtimes
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2303 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 05:46:55 +00:00
panurgomatic
268f1d4aea - Additional fixes for mech fabricator and added option to eject materials.
- If door access check fails for exosuit pilot, exosuit operation permissions will be checked instead (meaning, if your ID lacks permission, but exosuit has it, the door will open). Should work for MMI-ed exosuits.
- Exosuit Armor Booster Module (Ranged Weapons) will increase deflect probability.
- Added safepick() prock. Same as pick(), but no runtime errors if list is empty - in that case it returns null.
- Reagents in water particle (extinguisher foam) will react with atom said particle bumps into.
- Other bugfixes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2302 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 01:55:39 +00:00
vageyenaman@gmail.com
9c611cae1e More weird shit in the station names.
Attempt at fixing some of the weird shit with mecha fabricators. Let me know how this fares!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2301 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-01 01:39:43 +00:00
baloh.matevz
c539fb0538 Spce Law is now Space Law...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2300 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-30 15:14:01 +00:00
baloh.matevz
5ccd9fd647 - Space law books added to the game
- Guide to engineering, guide to hacking, guide to construction and space law books now get their information from the wiki. If stuff gets outdated, update it on the wiki.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2298 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 19:12:12 +00:00
n3ophyt3
53da0c8bf1 Another arcade tweak.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2297 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 17:14:41 +00:00
petethegoat@gmail.com
bcdc8d259d Uploading resin & membrane sprites for Urist.
Only vending machines which accept coins have a coin slot.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2294 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 15:07:10 +00:00
mport2004@gmail.com
3f5d755272 bluh bluh this is what happens when I am coding very fast and tired.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2293 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 07:23:55 +00:00
mport2004@gmail.com
378848bfac Runtime fix for atmos and one last jobedit
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2292 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 07:10:36 +00:00
mport2004@gmail.com
93cfe375de Wire fix for the detectives office and quickfix for jobs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2291 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 06:32:40 +00:00
mport2004@gmail.com
e782d47580 Few runtime fixes.
Cleaned up the job selection code.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2289 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 05:20:33 +00:00
bbusse@gmail.com
32804d2a7f Runtime fix for portable pumps IIN SPAACE
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2287 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-29 01:53:20 +00:00
baloh.matevz
98338e8c14 A sound will now play when admins receive adminhelps. By default this is disabled, but any admin can enable it by using the 'toggle adminhelp sound' verb. Note that it will revert to not hearing sounds when a new round starts.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2286 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 22:52:48 +00:00
n3ophyt3
3d5ccb7d72 Tweaked emagged arcades a bit, admins get informed when someone wins.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2285 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 22:40:02 +00:00
n3ophyt3
792f67a6f2 Arcade machines can now be emagged, do you dare play a round of Outbomb Cuban Pete?
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2284 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 22:15:06 +00:00
n3ophyt3
b0045ed2b7 Added a new core law module.
1: You are expensive to replace.
2: The station and its equipment is expensive to replace.
3: The crew is expensive to replace.
4: Minimize expenses.

Currently adminbus only, someone can add tech_origins to it later.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2283 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 21:07:30 +00:00
polyxenitopalidou@gmail.com
61aaa00af2 •Fixed small bugs with fireaxing unpowered doors.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2282 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 20:55:44 +00:00
baloh.matevz
116ffe156a New job assignment proc by Rolan7.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2281 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 19:23:25 +00:00
baloh.matevz
4768bab71c View vars and game panel spawning updated:
- You can now edit variables for clients. You however can't mass-edit them.
- Common variables are displayed on top of the view variables menu. Screenshot shows examples of mobs, objects and datums.
Screenthot: http://www.kamletos.si/view_var_lost_count1.PNG
- Fixed the problem where long type paths ruined everything forever in view vars.
Screenshot: http://www.kamletos.si/view_var_lost_count2.PNG
- Added an option to the spawn object/mob/turf screens which lets you pick whether you want the item to spawn under your mob or in the object you have marked. You can only spawn stuff in objects of type /atom.
Screenshot: http://www.kamletos.si/spawn_objects.PNG

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2280 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-28 18:58:53 +00:00
polyxenitopalidou@gmail.com
2105904072 •Stock parts now fit in pockets, as cagersomething requested. Sensible change.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2279 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-27 11:37:52 +00:00
mport2004@gmail.com
7ec232dea6 Quick edit to the blob spawn in notes.
Mime wall recharge time is now equal to the time for the wall to vanish.  In short you can only have one wall up at a time.  The walls also finally have a bullet_act proc so hiding on top of walls is much less effective.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2278 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-27 09:48:09 +00:00
mport2004@gmail.com
cf0023bbb2 You can now interact with belts that are not on your belt slot.
Added Security Belts, 4 slot belt that can carry basic sec gear.
The security shuttle control can now be emag'd.
Removed the old take off and stabilize verbs for the pshuttle. 
Cleaned up some computer defines.
The detective's cabinet is now a secure cabinet.
Most of the secure closets cleaned up a bit.
The captain no longer spawns with an ID box in his backpack.
RD's locker got its flash back.
Added the blob node sprites.
Removed the 2% laser resist that normal jumpsuits gave.  Normal clothing should not be blocking lasers.  Left the 10% special block on each department.
Riot suit slowdown lowered to 1 from 2.5
Repiped the right side of sec and tidied up the powerlines.
Loyalty Implanter moved into the outer rec room checkpoint.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2277 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-27 06:26:45 +00:00
polyxenitopalidou@gmail.com
d8991f9d25 •New sprites added, the work of veyveyr: New large grenade, new formal black jacket (spawns in the laundry room) and new screwdrivers.
•Airlock electronics now tiny
•Marked unused drink sprites

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2276 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-26 23:52:16 +00:00
bbusse@gmail.com
357174b67f Fix to prevent ghost fire
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2274 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 20:36:00 +00:00
bbusse@gmail.com
211f5c3e5f Added a z-level air transfer vent for eventual multi-level shenanigans
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2272 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 17:08:13 +00:00
Superxpdude@gmail.com
7522e75d20 Certain random events now have a random delay between when the event happens and when the announcement is given to the crew.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2271 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 16:00:55 +00:00
bbusse@gmail.com
5e540cc037 Atmo tweak
Use air.compare() to trigger turf delays

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2270 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 14:47:36 +00:00
bbusse@gmail.com
fd9ad9376c Atmo: triggered tiles have a short period of mandatory high processing to avoid switching off too early.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2269 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 07:08:24 +00:00
tronaldnwn@hotmail.com
66e70b5b3b Xenomicrobes finally removed from xeno food as promised, though we were about a month late about it.
You can now eat xeno burgers all you want now!

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2268 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 05:35:15 +00:00
bbusse@gmail.com
8254e001dd Small bugfix: Atmo meters should work now. Husks can't have blood samples taken.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2267 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-25 04:21:56 +00:00
baloh.matevz
3794c0c64f - "delete all of type" added to the view variables panel.
It requires you to first select whether you want to delete all objects of the strict type or of the type and all subtypes. After this you need to confirm. And then you need to confirm again. If anyone manages to get through 3 confirmation screens 'by accident' they are lying.

You can only use 'delete all of type' for objects (of type /obj)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2265 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 21:55:21 +00:00
bbusse@gmail.com
eba53b1287 First commit, time to break the station.
Atmo fixes here, should help lag a bit.  Turfs and air groups start skipping processing ticks if they haven't been doing anything lately.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2264 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 19:03:07 +00:00
vageyenaman@gmail.com
233b49a829 Cloning:
Whenever you're a ghost and your corpse is inserted into a DNA scanner attached to a cloning computer, you will receive a message notifying you.


Chemistry:
    Minor changes, such as synthetic meat reactions have been changed to make an actual meat subtype instead of /obj/item/weapon/syntimeat, which is a pain in the ass and you can't even eat it raw.
    

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2263 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 17:26:07 +00:00
baloh.matevz
30a9bea8e1 - New click proc now uses the following delays for clicking. This means that you are unable to click anywhere until the delay time has passed.
- attackby uses a 1s delay,
- attack_hand and varieties and attack_self use a 0.2 second delay,
- clicking the HUD has a 0.2 second delay,

Items with the USEDELAY flag set the attackby delay to 2s.
Items with the NODELAY flag set the attackby delay to 0.2s.
Items without either of the two flags (most) use the standard 1s delay.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2262 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 15:48:35 +00:00
baloh.matevz
bd73bf33d3 - Randomized light brightness for lights at round start is now no longer tied to individual lights, but to the area they start in, meaning some areas might start out darker on some rounds. Most have far too many lights tho, so they don't affect anything.
- 10 percent of lights with tubes will now start out broken and 25 percent of lights with bulbs will now start out broken.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2261 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 14:14:40 +00:00
vageyenaman@gmail.com
92dbb05fd5 Moved around some stuff in R&D. (Change by Blaank)
Donut boxes and paper bins are now put immediately in your hand to prevent weird shit from happening when you're holding them in your hand or a backpack. Also fixed some compile error with the new special rig suits.

Added some new sprites, mostly chopped up and made by me. RESERVED FOR FUTURE SHENANIGANS.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2260 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-24 04:24:39 +00:00
baloh.matevz
00d055d7f6 - Moved another proc from datums/disease.dm to mob.dm so doubleclicking /mob actually gets you to the mob's definition.
- Two new admin verbs. "toggle hear radio" and "toggle hear deadcast". These don't care if you're a ghost or what you had for breakfast, they work because they're tied to your client, not your mob. To non-admins it might seem silly that this is needed but when dealing with multiple adminhelps you don't want text to move at lightning speed, so anything that you can disable is good.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2259 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 22:47:00 +00:00
tronaldnwn@hotmail.com
d069b81ccd Elite Rig, sprite by TankNut. They are about as protective as a red suit, with a bit better bio protection.
I noticed the RIG's Helmets didn't have their radiation variable anymore! I re-added the .25 protection they originally gave, I can only assume it was a mistake when moving them or revamping them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2258 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 20:22:04 +00:00
baloh.matevz
517dd55abe - Made a beta version of the new DblClick() proc. As per my testing it is far more efficient than the old one. The click-proc is ready for ingame testing. To initiate a test, use the "Toggle NewClickProc" verb if you're a game admin or game master.
- The following procs have been added: ismetroid() ispAI()
- Using the new click proc adds support for the following new procs: attack_robot(), attack_ghost(), attack_admin(), hanr_r(), hand_m()

Proc description:
- attack_robot() is the proc that gets called when a cyborg clicks on any atom without having a module selected. It defaults to attack_ai() and for the moment always calls the default as there is no separation.
- attack_ghost() is the proc that gets called when a ghost clicks on any atom. It defaults to examine()
- attack_admin() is the proc that gets called when a ghost with admin status clicks on any atom. It defaults to attack_ghost()
- hand_r() is the proc that gets called when a restrained cyborg clicks on any atom. It defaults to hand_a(), which is the the proc for a restrained AI, whatever that means.
- hand_m() is for when a restrained metroid clicks on an item.

Please note that the new click proc drops support for the HEAL mutation. Let me know if this mutation is important. All I can tell you is that it doesn't belong in this proc.

- Moved the mob/Delete() proc to mob.dm. Doubleclicking /mob in the object tree will now throw you to mob.dm instead of some random datumvars.dm.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2256 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 19:48:06 +00:00
petethegoat@gmail.com
18990b04e1 Added Syndicate soap! Available for one telecrystal.
Updated most of the new bedsheet sprites.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2255 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 19:33:03 +00:00
mport2004@gmail.com
b13ecf6254 Added Derp's jump_to_dead_group proc.
Uncommented out the warn verb.
Derelict areas consolidated a bit to remove some of the APCs.
Cut around 30 air groups including 3 that would go inactive shortly after round start.
Prison station started as a simple pipe remap because the pipes were so messy in there and ended with an overhaul.
Altogether the pstation is slightly smaller.  
Observation room replaced with more windows and a few space tiles to make people actually have to work to break out without tools.
Most of the interior R-walls replaced with normal walls.
Pstation shuttle width increased by 1 tile granting 3 more tiles to stand in.
Vending machine placed inside the prisoner room so they can eat if needed.
Cells interior doors removed to cut down on the number of vents needed,  if you want to lock them in just shut the firelock and weld that.
Pstation solars shrunk slightly and don't fully block access to the back of the pstation.
It likely still needs a few tweaks and I might redo the pipes again later.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2254 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 09:41:06 +00:00
petethegoat@gmail.com
f08df6445d Fixed being able to climb into disposals while stunned or weakened, etc.
Fixed floorbots creating a full toolbox on death.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2253 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 01:55:16 +00:00
baloh.matevz
b4193b0f0e - Baby steps in rewriting the DblClick() proc. Will work on it later.
- Removed all effect of wizarditis. The disease still exists but has absolutely no effect on anything. And no, this is not a removal only from the game world, it's a removal, period. Admins don't have it either. As I said however, the disease exists so you might see wizarditis as a diagnosis on your medical scanner, it won't have any effect tho.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2252 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-23 01:44:58 +00:00
baloh.matevz
7144a1fdb6 This commit adds nothing new to the game whatsoever, the only thing it contains is comments about how the DblClick() proc works. It took me a few hours to decipher it, so hopefully the comments will save you some time.
DblClick() is the proc which determines what proc will be called when you click on the screen. (Single clicking also calls this proc btw, in case you're confused.)

So DblClick() is the proc which then calls attack_hand(), attack_ai(), attack_paw(), attackby(), afterattack() and the hand_h(), hand_ai() and simmilar proc for when you're restrained. 

In case you noticed one common proc missing, attack() is called in a mob's attackby() proc, which originates from here. So the cascade for that is
Click() > DblClick() > attackby() > attack()

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2251 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 19:56:16 +00:00
baloh.matevz
b709a2b04a - Fixed a bug where putting a crayon into a washing machine, closing it and opening would disallow you from putting another crayon in. If you then tried to wash something, it'd color it in the crayon's color, but wouldn't delete the crayon, which wasn't in the actual machine anymore.
- Added 9 additional 'colors' which you can color shoes, jumpsuits, gloves and bedsheets into.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2249 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 15:51:59 +00:00
mport2004@gmail.com
27388d52cc Fix for a rev mode bug where people in lockers would count as off the Z level.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2248 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 07:10:45 +00:00
mport2004@gmail.com
c972c33d76 Stun batons will no longer randomly stun people when they bump/are bumped by a guy holding one.
Bit of blob mode work.
Added a Blob Core sprite by Scottzar


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2247 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-22 04:27:33 +00:00