Warning: I have no idea how well it'll work on populated server - meaning, it may cause lags. In that case, I'll try to optimize it better.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1597 316c924e-a436-60f5-8080-3fe189b3f50e
- Asteroid floors are now defined as /turf/simulated/floor/plating/airless/asteroid. So they now act as plating.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1595 316c924e-a436-60f5-8080-3fe189b3f50e
Added sandstone. You get it by clicking a sand... block, I guess? with itself, and it'll convert the sand and all sand on that tile to sandstone bricks.
Added mineral doors. They have a cool sound effect, can't be opened by AI or critters (including bots, carps and huggers), but can't be locked either.
Blatantly stole DF music for ambience because I'm a dick :33
Chapel
Removed imperium something robes. Just... no.
Crayons
Added the ability to draw graffiti and letters.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1594 316c924e-a436-60f5-8080-3fe189b3f50e
Also yes, yes, if you are really bothered by the fact that picking up a green wire piece with a blue coil will result in all of them being blue then that's fine, but I really think it's more than good enough for a game. It will also allow people who want to use a particular color the abbility to get enough wire pieces of it without unneeded problems.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1593 316c924e-a436-60f5-8080-3fe189b3f50e
This should make wiring tight places slightly easier as well as more possibilities for wire art. Enjoy. Can't wait to see your whacky library wire-runes.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1592 316c924e-a436-60f5-8080-3fe189b3f50e
Went through and added armor values to shit.
#Jumpsuits have very light (2%) laser/taser protection.
#Security (includes warden, HoS, and detective) and nuke team jumpsuits have some melee/bullet/bomb protection, as well as slightly higher (5% total) laser/taser protection
#Medical jumpsuits have light bio protection
#Engineering jumpsuits have light radiation protection (also light laser protection, since emitters fall under laser protection)
#Security's bomb/biosuits are more armored than nonsecurity variants.
#Biosuits block alium spit
#Detective's coat has some degree of protectiveness now, but not as much as regular armor
#Labcoats are similar to biosuits, but not as effective
#Real wizard robes are magical, applying a measure of protection to the entire body.
#Fake wizard robes are less magical, applying very little protection only to the covered body parts
THESE VALUES ARE RELATIVE TO THE OLD VALUES, SINCE THESE THINGS HAVE ALWAYS BEEN PROTECTIVE
#Armor vests are slightly worse at melee/bullet protection, but slightly better against laser/taser
#HoS/thunderdome armor is slightly better at laser/taser
#Captain's armor is worse at melee than armor vest, but better than it at laser/taser.
#Swat/heavy armor is better against laser/taser
#RIG has some armoring
#syndicate/ninja/pirate spacesuits have slightly better armoring than RIG
#Helmets/gloves/shoes have armor values to match the suit they go with (armor vests for generic helmets)
##This means that spacesuit helmets/hardhats/weldingmasks are no longer far more protective than they have any right to be.
#Insulated gloves are pretty good at blocking taser shots if anyone happens to be aiming at your hands.
Might have missed a few things, this was a lot of numbers.
Also, sorted head.dmi so sprites are properly paired up.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1588 316c924e-a436-60f5-8080-3fe189b3f50e
It should report attacking for most weapons. Some (health analyzer, weed killer and such) have been skipped.
As far as guns go it logs shots by and at for tasers, laser guns and energy guns.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1586 316c924e-a436-60f5-8080-3fe189b3f50e
New rune! Stun rune. When used as rune, briefly stuns everyone around (including cultists). When imbued into a talisman, hit someone to stun and briefly mute them. Spawnable with the starter talisman.
Imbue rune doesn't disappear after succesful invocation, only the source rune.
Chaplain's bible now has 20% chance to convert a cultist (was 10%), and gives a message on success.
Lots of typos and errors fixed in the tome text.
Wrapping paper added to mailroom.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1584 316c924e-a436-60f5-8080-3fe189b3f50e
Tables now automatically determine which direction and sprite they'll use. They will connect to any adjacent table unless there is a window between them (regular, reinforced, tinted, whichever)
To achieve this I had to reverse all sprite directions in the dmi file, this means that on the dreammaker map, every single table piece faces the exact opposite way. I will fix this on monday but can't at the moment. There are no issues on the map tho as all the dirs get recalculated at map load and whenever an adjacent (cardinal or diagonal) table is created or deleted.
Ingame I removed the annoying CORNER/SIDE/ALONE, EAST/WEST/N... blabla menu as it determines this by itself now.
So yeah, smooth tables.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1583 316c924e-a436-60f5-8080-3fe189b3f50e
The bug consisted of attacks only causing damage if the attack also causes stunning/weakening. Originally the bug only affected groin shots, but was spread to chest attacks in rev1418.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1579 316c924e-a436-60f5-8080-3fe189b3f50e
- In containers where there isn't a perfect ratio of reagents, reactions won't consume ALL of the related reagents (so if you mix 10 anti-toxin with 20 inaprovaline, you get 10 tricordrazine and 10 inaprovaline rather then just 10 tricodrazine).
- NOTE TO CODERS: I couldn't find a clean way around this (and this is true with the old code) but if two reactions are possible with a given combination of reagents, the one listed first in Chemistry-Recipes.dm reacts first. However, it's been changed so that if there are reactions X and Y (in that order) and Y makes a reagent required in X, you'll still get reaction X (before, reaction X would just be ignored). I guess this is a semi-bugfix.
- New reaction variable: required_catalysts. Catalysts are reagents required for a reaction to occur. However, unlike required_reagents, catalysts are NOT consumed as part of the reaction. A few reactions were changed as a result and more might be in the future. If coders want some but not all of a catalyst to be consumed in a reaction, just have the reagent appear in both required_reagents and required_catalysts. It won't break anything.
- Because of the addition of catalysts, all recipes that require Universal Enzyme now require 5 units of the enzyme but the enzyme isn't consumed (So Tofu, Cheese, Moonshine, Wine, Vodka, and Kahlua recipes).
- Sterilzine reaction now works properly (it's anti_toxin, not anti-toxin).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1578 316c924e-a436-60f5-8080-3fe189b3f50e
#A few specific religions will now spawn unique books (they all use the Bible sprite). Feel free to expand on this.
#AIs and cyborgs will now get the code phrases if they are a traitor. Rev heads will no-longer get them. Finally, rev heads will properly equip their items if admin-made.
#Added field generator code improvements by Aygar.
#Added a general turf proc to kill mobs/creatures in a tile, kill_creatures(). Might be useful in the future if more creatures are added.
#Added a general teleport proc, get_teleport_loc(). Supports only 4 directions of movement.
#More code improvements to ninjas. Admins will now only spawn player ghosts as ninjas. No more admin ninjas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1577 316c924e-a436-60f5-8080-3fe189b3f50e
Rewrote the armor checking proc, it now checks mask, head, jumpsuit, gloves, shoes, and suit slot for armor values, and selects the most protective item that covers the targeted area. This means that phase 3 is going to be a pain in my ass, since a lot more things can actually matter in terms of armor values.
Also included a full-body armor check, which checks ALL bodyparts for protective values, and averages them out. This is currently only used for explosions, and mainly only means you now also have to actually wear the bomb suit hat to be considered fully protected (though the suit alone still provides a 90% chance of not getting gibbed from a max-severity explosion)
As with phase 1, testing consisted of attacking myself and standing in turrets, and also included dropping explosions on myself while in a bombsuit since I changed the bombsuit code.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1570 316c924e-a436-60f5-8080-3fe189b3f50e
Anyhow, HUDs' memory leak fixed, also security HUD added (only shows current ID assignment for now, gotta figure out why it doesn't want to show the arrest/prisoner status).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1569 316c924e-a436-60f5-8080-3fe189b3f50e
Admins cat see if other admin has left the game.
The game actually checks for configuration variable guest_jobban (still be turned on by default).
Added white list for heads and some non-heads (as in guest jobbans). Add keys to file data/whitelist.txt and turn on the option USEWHITELIST in config.txt.
Cyborgs were added to the list of important jobs (for guests jobbans and whitelist).
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1568 316c924e-a436-60f5-8080-3fe189b3f50e
Added a direction finding algorithm for target, get_dir_to(). Mostly useful for positioning sprites in relation to a target. Such as energy beams, lines, and so on.
Changes to ninjas. Fixed a bunch of bugs and finished content. It is now possible to drag people with you when phase jaunting/shifting. Jaunting/shifting should also kill livestock, huggers, and damage mechs.
Renamed /obj/spell path to obj/proc_holder/spell in order to have a generic proc_holder category. For now it only works for the AI but can be expanded to other mobs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1566 316c924e-a436-60f5-8080-3fe189b3f50e
- Basic Drills Now can be made
- Flame throwers give plasma research
- Plasma cutters give plasma research
Fluff Text change:
- Lights out event: The fluff text now is that an "Electrical Storm" causes the lights to overload, and Nanotrasen isn't blowing out expensive lights randomly.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1563 316c924e-a436-60f5-8080-3fe189b3f50e
-Added frame sprites for the Phazon.
-Added digital/manual T-valve and 4-way manifold sprites for Hawk's atmo project.
-Updated library binder and bigscanner sprites so they aren't flat.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1562 316c924e-a436-60f5-8080-3fe189b3f50e
Armor protection rates are now handled by checking the var I added to obj/item/clothing instead of static percentile chances in the robusting code. What this means for the future is armors that differ in more than just bodyparts protected.
Currently, all armors/helmets are running off the same set of protective values, which are roughly identical to the old hardcoded ones. a future phase will juggle these numbers around.
What this means for right now:
*Melee attacks to the chest/groin are slightly more likely to succeed than before. (80%-force block chance instead of 90%-force)
*Bullets are slightly more likely to penetrate armor than before. (60% block/30% partial instead of 70%/40%)
*Alien spit/e-crossbow bolts have a 10% chance of being blocked by armor.
Lasers/Pulse Rifles/Tasers have unchanged values, as do melee head/arm/leg/hand/foot shots.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1561 316c924e-a436-60f5-8080-3fe189b3f50e
For an example, let's say the phrase is: culture, wine, admit. The response is: massive, tired, doctor's delight. A traitor may begin a conversation with something like: "A man of culture always drinks wine, I must admit. What do you think?" The response to that: "When I am massively tired, I drink doctor's delight. Otherwise, I abstain." The example is best referenced in the Bar, or any place where drinks are available. With enough creativity and linguistical acumen, it may be used elsewhere.
The point here is to make conversation seem as natural as possible while providing traitors a means to recognize each other. The words do no have to be exact, either. Quarter Master may be QM and the Captain may be Cap'n. Traitors should still recognize what is being communicated--or not.
#Deactivated AI cores are no longer mobs. This is mostly cosmetic. You cannot gib a deactivated AI since it will be an object, not a mob. It will also not announce arrivals since it's an object, not a mob (this is an improvement, in my opinion).
#Some code tweaks to AIs. They will now auto-start with a random name instead of their default-chosen name (which is still changeable).
#Intelicards should no longer constantly refresh the window when they are being wiped.
#Added new mech sprite.
#Resin walls should no longer delete the person inside when killed in certain ways. Hulks will easily break free from resin if placed inside.
#Ninjas can now download the AI onto spiderOS, provided Drain is on. SpiderOS works with AI cores, AI cards, and restoration terminals. Make sure Drain is on when you click on either the object (core/terminal) or the suit (aicard). AIs with law zero may get to have some fun, depending on circumstances.
#Toggle Drain renamed to Toggle Interaction. It now serves as general trigger for special ninja interactions.
#Added energy net power to ninjas. Prototype for HerpA and whatever he may want to do with it but it's pretty much finished. The energy net can be destroyed by the person trapped (or others) and will teleport them to the prison after 30 seconds.
#Ninjas can now slice cameras apart per request.
#Added a few more type checking procs (isliving, islarva, isobserver, ishivemainframe).
#Mobs that are anchored will no longer be able to move (AIs will still move as normal). You will also not be able to grab them.
#Incorporeal Move now works properly for regular mobs once more.
#Marauders from CentCom can now launch directly from their bay. Start the shuttle and wait on a mass driver. On that note, mechs can now go through portals and launch through mass drivers.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1558 316c924e-a436-60f5-8080-3fe189b3f50e
Walls taken down with thermite now leave a hole in a wall instead of completely removing the wall. To fix it use the crowbar on it to remove the (broken) tiles and place a new tile on it
floors.dmi now contains:
- The new hole in wall sprite (i think veyveyr made it),
- A red, yellow, green and dark blue version of the light floor sprites. These are not ingame yet.
- Sidings, which are not anywhere in code yet but just so the names are reserved for when I finally get around to coding them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1555 316c924e-a436-60f5-8080-3fe189b3f50e
Moved the Vacant office over by arrivals.
Merged Mail Sorter and Cargo Tech.
Cargo Techs now spawn with Mail Room access.
QM now spawns with Mail Room access.
Commented out the lockreset, lockenable, woodhit and pianocrash audio files from the respective lockers and piano smashing. It was causing compiling errors.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1547 316c924e-a436-60f5-8080-3fe189b3f50e
•Fireaxes, extinguishers and fireaxe closets placed around the station. Functionality described in changelog. Airlock modifying is because you can use the fireaxe to crank open doors.
•Piano? Being able to be smashed? What are you talking about?
•The two handed system is purely experimental and subject to much cleaning up/proc making to enable it for other objects as well.
The mob modifications is because of the two handed system making it unable for you to switch hands.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1543 316c924e-a436-60f5-8080-3fe189b3f50e
Added an /obj/vaultspawner which very shitty right now.
Health Scanner
Added xeno embryo detection.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1542 316c924e-a436-60f5-8080-3fe189b3f50e
-Mass Driver Moved down to the death sentences area
-Lethal Injections room added
-Lethal Injections locker added to prison station
-3 Empty Large Syringes added to lethal injections room
Added Lethal Injections Locker (Contains 2 Large Chloral Hydrate Syringes)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1541 316c924e-a436-60f5-8080-3fe189b3f50e
Fixed PDA flashlight.
To clarify, you can still use the PDA when you are stunned/weakened. This was always the case, apparently. You cannot use the PDA when knocked out or dead.
You can now stick an ID card into a PDA without clicking 400 times (click on PDA with card in hand).
Changed how the ninja suit functions in relation to energy. It will now hold a power cell as APCs/Borgs/etc.
Ninjas can now replace their starting power cell (reduced to high capacity/10000) with larger capacities. Drain the cell as normal to do it. On that note, hyper-capacity (30k) cells added to research.
Can now drain energy from a recharger. Much like draining from wire.
Added cooldown to certain ninja abilities. It is a global cooldown; meaning, most abilities will be unusable until it finishes. Usually a second.
Some icon changes for ninjas.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1540 316c924e-a436-60f5-8080-3fe189b3f50e
-captain tunic
-cap.
New suits for chaplain were placed in his/her wardrobe:
-Nun robe
-Hoodie
-outfit of Imperium monk
Credits for captain's and chaplain's stuff belongs to Farart.
Red jumpsuit (worn by security) for fat cops was fixed by axc9.
Glitch with items placed to/got from container laying on floor was fixed by Laguis.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1539 316c924e-a436-60f5-8080-3fe189b3f50e