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
Shows the health status of all humans in view. Has a slight delay and isn't very optimised, but 5 of them spawn in surgery, as well as one in CMO's office.
Crayon
Crayon runes are anchored.
Glowshrooms
Fixed their spread rate. Goddomot reset to 30 lifespan.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1536 316c924e-a436-60f5-8080-3fe189b3f50e
Toilets now work more like actual toilets. They will auto-flush when you insert a small object. You can also dunk people's heads into the toilet and try to choke them if you have a good grip.
Fixed wiring near detective's office.
Fixed larva and monkeys not being able to move on tables.
Fixed larva not being able to crawl through vents.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1535 316c924e-a436-60f5-8080-3fe189b3f50e
Updated the way they work.
Clown now starts with a rainbow crayon that can draw in any two colours.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1533 316c924e-a436-60f5-8080-3fe189b3f50e
Reworked energy charging to where it's probably bug free and much easier to edit.
Reworked PDA code so it's much faster and easier to use. Might have some bugs left over.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1532 316c924e-a436-60f5-8080-3fe189b3f50e
Crayons
Clown and mime now spawn with crayons. This won't go horribly wrong.
Soap
Added soap to the station. Basically a reskinned banana peel for now.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1530 316c924e-a436-60f5-8080-3fe189b3f50e
Nerfed the spread rate and chance, made the suspectible to plantbgone and acid.
Arcade
Added a new prize.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1528 316c924e-a436-60f5-8080-3fe189b3f50e
The nuke ops now spawn with normal names with one catch - their last names are the same (chosen by their boss).
FIXED microwave's "S" balloon for syndies. Attention, microwave - TEST your code before you commit it.
Revolution
Most likely fixed the bug with cloned rev icons being reversed.
Icons
Added rev/headrev/syndie balloon sprites for holding in hand. Now I need only the item sprites and we'll have new toys :D
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1526 316c924e-a436-60f5-8080-3fe189b3f50e
- Bananas can now be grown (they are now snack/grown/banana)
- Sunflowers can now be grown and harvested (very limited use till I add in some seed recipes). Smack people with them for a unique message.
- Both seeds are loaded into the seed vendor (for now), vendor is alphabetized.
- New seeds added to either of the seed crates.
- Move hydroponic items out of the weapon.dm and into hydroponics.dm
Nuclear Agents
- They have a little S symbol by their head now, that only other Agents can see.
Other
- Optical Material Scanners are blue goggles now, rather than a blind fold.
Map update was just to update all the bananas on clown planet to the new "grown" item path.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1525 316c924e-a436-60f5-8080-3fe189b3f50e