Commit Graph

2182 Commits

Author SHA1 Message Date
polyxenitopalidou@gmail.com
f1d75fb05b •added black syndicate jetpack and made necessary changes for it. Still not in-game, but fully coded. I'm preparing to use some of them as standard station suits, adding to the grey models we have.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1730 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-25 17:04:38 +00:00
rastaf.zero@gmail.com
f639ece55d Update for game masters:
-Right click commands "Make robot/alien/ai/monkey" moved to "edit player" screen.
-Right click commands "Make traitor/cultist/changeling/etc" moved to "edit mind" screen.
-- note: currently the only way to humanize monkey is to use "edit mind" screen.
-Added right click commands showing "edit player" and "edit memory" screens.
In light of an incoming tournament on ss13.ru I have added "Select equipment" right click command. It allows to instantly dress mob as you wish. Coders, feel free to add more dress packs, like "centcom inspector", "space pirate" and so on.
A strange command "list_occ" now called "List free slots" and shows unoccupied jobs.
Added golden cup, sprite belongs to Farart.

You can now take a power cell from charger even if there is no power.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1724 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-25 11:30:05 +00:00
panurgomatic
15a5ecdd06 - Moved passability flags from atom/var/flags to atom/var/pass_flags.
Currently there are three - PASSTABLE, PASSGLASS and PASSGRILLE. PASSTABLE - same as TABLEPASS, PASSGRILLE - can this atom pass through grilles and PASSGLASS - can this atom pass through windows, glass doors, etc. Most can_pass() procs were updated.
Added checkpass atom proc to check if this atom has certain pass_flag set.
- Added proc/sanitize_simple() and proc/strip_html_simple(). sanitize_simple does not html_encode the string and strip_html_simple does not sanitize it. Additionally, sanitize_simple and sanitize can take associative list of key-val chars as second argument, where key is char to searh for and val is replacement.
- Added datum/gas_mixture/proc/return_volume() and datum/gas_mixture/proc/return_temperature().
- Added proc/tg_text2list() and proc/tg_list2text(). tg_list2text is slower then dd_list2text, but processes associative lists differently (it adds not the keys, but associated values). tg_text2list is somewhat faster then dd_text2list.
- Added proc/listclearnulls(), proc/difflist(), proc/intersectlist() and proc/uniquemergelist(). Check the code comments for more info.
- Mechs can hold 3 equipment pieces. Gygax can hold 4.
- Tweaked global_iterator CRASH report.
- Fixed mech pilot ejection if mecha was destroyed.
- Fixed mech fabricator process() waiting for sync() to finish.
- Fixed mech fabricator Topic() waiting for process_queue() to finish.
- Some bugixes related to global map and random sectors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1722 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-24 23:30:27 +00:00
rastaf.zero@gmail.com
7c400a7492 Fixes for APC:
- fixed issue 88: monkeys now can play with APC.
- Silicon liveforms cannot use malfhacked APCs if they arent an AT who hacked APC or his slaved borgs.
Fixed issue 121.
Latejoiners got their backpacks back.
Fixed attack log.
Fixed ammo icons not showing in dreammaker map editor.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1720 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-24 17:52:49 +00:00
Superxpdude@gmail.com
774a07bdb2 Added buttoning and unbuttoning for the labcoat, and the CMO's labcoat. Green labcoat from the theatre doesn't support this yet.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1715 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 20:04:09 +00:00
Superxpdude@gmail.com
fed2ddeb54 Merged some revisions from the branch with the trunk.
List of changes:
E-Guns are now back in the armory.
Shotgun is now back in the bar.
Medical and Security HUDs can now be constructed via R&D.
Fixed the spelling in the Autolathe board on the R&D console. It used to say "Atuolathe".
Added the colourful syndicate suits into the game.
Added the colourful syndicate helmets into the game.
Added Detective's armor using the detective's armor sprite.
All tables on the map are replaced with the default instances since we have smooth tables.
Medical Anesthetic closets now spawn with medical masks instead of breath masks.
Detective's armor spawns in forensics lockers.
Finally finished the cyborg manual from a while back.
Many useless aesthetic wires removed to help reduce lag.
Two sleepers located in medbay lobby.
EVA racks now spawn with breath masks instead of medical masks.
Engineering RIG racks now spawn with breath masks instead of medical masks.
Three copies of the Cyborg Manual are located on the map. One in the RD's office, one in robotics
and one in the CE's office.
The Atmospherics mix tank now starts with no air inside. So that now you no longer have to drain the
air before mixing gases.
Added in some icons for new possible chemist, virologist, geneticist and scientist jumpsuits.
Coded in those jumpsuits, they aren't used anywhere yet though.
Added in a new lawyer's suit.
Added in a new suit jacket for the lawyer. Can be buttoned up or unbuttoned using the command under
the "objects" tab.
Added in a sprite for a Riot Helmet.
Coded in a riot helmet and riot suit. Not used anywhere though.
Lawyer now spawns wearing his new suit and suit jacket.
Orange prisoner jumpsuit now has suit sensors forced fully on.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1711 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 17:19:19 +00:00
rastaf.zero@gmail.com
7107193778 Guns partially fixed:
- you can now safely put guns on balse and in containers
- you cat beat people woth gun without shooting
- detective's revolver returned to his office.
- aliens now cannot use guns.
A bit of cosmetic changes to code.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1710 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 13:46:20 +00:00
noisomehollow@lycos.com
3c0a76df30 Reduced deathsquad marauder number to 3 (previously 4). Added some fluff to their launch sequence.
Revisions to CentCom. CentCom now has its own access levels set, and a unique ID changing computer.
Added nasa void suit and captain armor to item steal list.
Fixed some run time errors for hand-tele from my previous commit.
Removed the remove poo and urine button from secrets.
Decoy AIs can now say stuff like regular AIs. This is useful if you need a non-player announcer for something, while taking into account talk_understand and the like. I use it for deathsquad shuttle announcements. I've placed A.L.I.C.E. on CentCom for such reasons.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1704 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-22 06:28:28 +00:00
rastaf.zero@gmail.com
d6e0f1cf22 Freaking big GAMEMODES UPDATE.
I have done lots of work to make selecting players for special roles be fair.
- New options preferences: "be traitor", "be changeling" and so on for all special roles.
- Now you can have job of AI/cyborg in preferences and do not lower your chances to become wizard/changeling/etc. And vice-versa: you do not have to select AI in your preferences to have non zero chance to play malf.
- Jobban from syndicate bans player from any special role (including malf AI, cult, etc).
- Fixed bug with changeling round not ending sometimes.
- All special roles were tuned to work better as admin-driven event.
-- All adminmade special characters will be listed at the end of round of any type.
-- All adminmade special characters are fully functional with following exceptions:
--- The ending conditions are determined at round start, i.e. you cannot end revolution by killing wizards and malf AIs (however, with nuke you can end anything).
--- The cultists cannot get their special objectives.
--- The malf AI can hack the APCs but without any profit.
--- The syndicate operatives must obtain the nuke/working code from admins.
--- As before, nuclear explosion ends round. Even if nuke was used in wrong place.
- Fixed thingy like "Not enough players for revolution game mode. Restarting world in 5 seconds."
- Changeling wont get objective "absorb X genomes" when there are less that X players in game.
- proc/equip_if_possible now has return value, procs like equip_revolutionary (giving a flash) should be more reliable.
- There are no fake wizards anymore. The research staff have to kill ALL wizards on order to win, even adminspawned ones. ("give spell" verb works as before, not making a spellcaster to actually be wizard).
- The semi-new game mode: traitor+changeling. Just like regular traitor mode plus one changeling. Round ends when the shuttle reaches centcom. Option for config.txt: "PROBABILITY TRAITORCHAN".
- Successful malf AI now have 60 seconds to choose to explode the station or not (some players still have to rejoin game to have their new verbs shown in Malfunction tab).
- Monkeys mode fixed, monkeys wouldn't randomly cure anymore.

For admins:
- New powerful mind editor oriented to mixed rounds.
-- Setting someone as special character (like wizard) does not equip him/her automatically. You have to do it it next step. Note, that in case of wizards and nuke operatives their old dress will be deleted! If you do not want it you shall use "undress" link.
-- Only operatives, head revs and cultists have their objectives set immediately.
-- You can unemad borgs!
-- You cannot unemag borgs because calling mind editor for nonhumans is blocked atm.
-- many other useful features.
-- you can fix burned out flashes from mind editor.
-- first assign the new malf AI/wizard then demalf/dewizard old one or round will immediately end.
- if delete the nuke bomb during its downcounting round will stuck. Using "edit ticker variables" set ticker.mode.explosion_in_progress = 0.

For coders:
- /datum/game_mode/malfunction/AI_Module renamed to /datum/AI_Module. Reason: What. The. Fuck.

Unrelated fixes:
- Blueprints can create areas up to 300 tiles (was 100).
- Cyborgs wont leave backpacks at spawn point anymore.
- Fixed bug in preferences causing preferences files to be huge.
- Diseases can infect again.
- The option "SQL_ENABLED 0" now works in config.txt.
- fixed critical bug on assassinate objective.

Bugs:
- We have a bug with job distribution for people who haven't any available jobs in their preferences. Players tends to group by jobs.
- For example, if we have 3 players they with hight chances will got same jobs. And probability of having one engineer and one medic _exactly_ equals _zero_.
- I am not sure if my changes made that bug worse. Anyway I MUST do this commit. Bug will be fixed eventually. Maybe.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1703 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-21 21:22:23 +00:00
noisomehollow@lycos.com
835118fa49 Ninjas are now a random event. They may appear in most game modes after about an hour, with an assigned objective list.
Fixed aliens :a talking while dead.
Disabled hand-tele on clown-planet z-level since people were still finding ways to abuse it.
PDA menu will close properly if detomatrix fails and explodes own PDA.
Late joiners are now added to minds. It's now possible to assassinate them, and so on, as an objective.
Added a few more objectives (capture, steal brain of, protect, and download research) and new possible items to steal (also fixed admin-added steal objectives). Mostly focused on ninjas but admins can give them to regular traitors. Only research downloading is outright impossible for regular traitors (they must wear a ninja suit).
Added a few revisions to mind/objective datums and a few other things. The game should now report any extra antagonists for most round types, excluding AI malfunction.
Added two new words to station_name.dm.
Other misc changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1698 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-20 05:22:41 +00:00
polyxenitopalidou@gmail.com
10ca44ad51 Hello, I'm back :3
Bugfixes: Paper bin and clipboard now retrievable from pocketslots
Reagent grinder could not process plasma, rending the station plasma-less. Now fixed.

I was going to add new pill sounds but I couldn't find any :<
Changelog updated, only with this entry. Gotta study.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1694 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-15 14:21:22 +00:00
baloh.matevz
b7c67f1df1 STORAGE ITEMS UPDATE:
- All code is now standardized. No more copy-pasted code for each item individually.
- It is now possible to edit the following things with variables alone (ingame too):
  - Storage slots number: Ingame HUD support for up to 21 items.
  - Max w_class: the maximum w_class of items that the storage item can hold. Note that it will not be able to hold storage items of the same size as it is to prevent the stacking of storage items in eachother.
  - Can hold: List of items that the item can hold (old)
  - Can't hold: List of items that the item specifically can't hold. (Use in the same way as can_hold, not used at the moment)
- Syringe boxes are no longer listed as first aid kits. I don't think this will affect anything but who knows.
- The HUD interface for storage items is slightly changed. It's just the X button is positioned one tile to the right of the bottom-right-most tile. This is needed for the correct expanding of the HUD.

I THINK I applied all the changes to these settings for all the items that used copy-pasted and slightly altered code. If there are any anomalies anywhere, let me know. If you find any special attackby() procs that still remain, delete them or tell me about them. Thanks.

Also: I checked to make sure first aid bots and floorbots are constructable.

Also: Listing myself as Game Master in the svn copy of admins.txt so I don't have to do it manually every time I do a fresh checkout. I need this to access the mapping helpers and since it doesn't cause any effects to the game, I don't see any potential problems with this.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1683 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-12 03:47:43 +00:00
n3ophyt3
c0bad53a84 Unless I'm doing something wrong, it doesn't want to let me create a branch without an existing folder on the svn to branch it into.
Also fixed my power armor not improving bullet protection when active.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1677 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-12 00:54:38 +00:00
noisomehollow@lycos.com
bbd3be907a Fixed and improved object mind transfer. It will work properly now.
Fixed teleporting randomly on clown planet z level (with hand tele). Probably won't work on extended but who cares.
Some misc improvements to code words.
Cut down on the amount of chloralhydrate in the sleepypen since it was fatal, apparently.
Fixed observing. Entry shuttle starts with less sleepers than before.
Some more wip stuff.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1670 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-08 04:12:05 +00:00
noisomehollow@lycos.com
501c855aac Sight update to strike team admin proc. It should pick people as intended now. Can't really test it locally so who knows.
Admins can again spawn everyone as ninjas, including themselves. Inactive player checking is still there though.
A slightly updated stealth graphic for ninjas.
Fixed a lawsync() run time error.
Fixed station_explosion_cinematic() run time error.
Fixed copy_to() run time error.
Fixed dnainjector/attack() run time error.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1667 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-06 06:43:59 +00:00
tronaldnwn@hotmail.com
3d77db4ead Typofix.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1662 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-05 01:20:42 +00:00
morikou@gmail.com
8188eb5e17 Gun Code Overhaul Phase 1: (Now with 50% less wasted code!)
- Gun code condensed to make future modifications easier. Functionality should (mostly) remain the same.
- Taser guns shoot ONE WHOLE SHOT more then they do now. Yippy!
- Energy Crossbow has a slightly higher shot capacity (still automatically recharges).
- Guns that shoot projectiles (such as revolvers) now eject the ammo casings when they fire (this will be adjusted somewhat in phase 2).
- Revolvers can either be loaded one shell at a time or all at once with an ammo box.
- All guns now have a badmin var. Have fun (think shotguns).
- A few admin-only guns have been removed (for now). They'll get re-added in a future update.
- Shotguns no longer need to be pumped before firing (will change back in phase 2).
- All gunshots fired by players are now logged in both the firer's and the target's attack_log. So if someone gets shot and it doesn't show up, it's because a turret or something shot them.

Hopefully I didn't miss anything.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1659 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-04 03:39:20 +00:00
n3ophyt3
02c951575d Chucking my powered armor onto the SVN
It could use a fair amount of refinement and/or additional features yet, but it is functional. It is currently adminbus only, until I get some non-placeholder sprites. Already have some on the way from a pretty decent spriter, but don't let that discourage you, more types of power armor are always welcome.

Current model is fueled by processed plasma ore from the mine. Each unit of plasma provides roughly 2 minutes of power, the tank holds 2 units worth of fuel at a time, and can be refilled while the suit is active. I'll probably include a powercell and self-sustaining version when I add in the code to make this sucker buildable via R&D

While unpowered, the suit slows you waaaaaay down, is not spaceworthy, and is inferior to regular armor. While powered, it is between regular and syndicate spacesuits in speed, can be worn in space, and has much better armor. Also, while powered it cannot be unequipped, much like an initialized ninja suit. The helmet is required for the suit to be able to power up, and if the suit powers down for any reason other than the user initiating the powerdown sequence, the suit does NOT unlock, so you're stuck in a crappy slow metal suit until you can get it powered up to properly power it down.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1658 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-04 03:26:01 +00:00
tronaldnwn@hotmail.com
6691236237 Tech Origin update:
-Various item have had their tech origins updated or added to.
-Items that just use metal or glass have their materials origin lowered
-Items that use more advance materials have their materials tech origin raised to equal the uncommon material.

Engineering Tech research:
-Engineering tech origin, because Materials tech origin is just for being able to manipulate rare/ new materials for production.
-Engineering tech field focuses on various engineering items, and will increase in scale as time goes on.
-Various items (especially tools and mech parts) use the engineering tech origin.

Mining tools update:
- Drills can dig up sand.
- Plasma cutters can cut down walls and girders, and set fire to thermite, and be used in the reinforced wall deconstruction stages in place of the welder.
- Diamond drills can drill though walls, and girders, and can drill through the plating of reinforced walls.

Tech Origin changes and Circuit boards:
-If it requires a special material to make, it now have a materials origin equal to that special material. General glass circuit boards do not require materials research.
-Engineering research should be applied (reasonably) to the board if it is a machine, computers should stick to programing (even if the computer is related to an engineering field).
-Still a work in progress, as always.

Last update:
-Shovel sprite is back to being a digging shovel in style, a scooping shovel is terrible at digging. I should know, I've dug many holes in my days, and a scooping shovel is terrible, and a spade head is much better.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1654 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-02 04:05:42 +00:00
only.lurking@gmail.com
edfe89e94d pAIs added. Two on station (Crew Quarters, R&D Director's Office) and one on the Derelict.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1634 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-30 19:33:28 +00:00
baloh.matevz
9b46819b80 Twohanded weapons are now more generalized. You can make any weapon twohanded just by setting twohanded = 1. Also fixed the throwing of twohanded weapons as well as dropping. The offhand thing should no longer cause problems. Report any bugs.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1615 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-24 15:07:51 +00:00
noisomehollow@lycos.com
a9d2227518 #Added an check for range/items when trying to insert an ID card/update info into a PDA. It should no longer run time error.
#Added a Halogen Counter function for engineering PDAs. Measures radiation of a mob.
#Brain/MMI code overhaul. Brains/MMIs should no longer screw up when the brain is deleted. MMIs should now properly eject from cyborgs if they are blown up, among other changes. Brains no longer die when transferred between containers but won't be able to speak without a container.
#Added a research MMI that comes with a radio built in. The brain can toggle the radio functions on or off via verb panel (MMI).
#Traitor code words will now use the crew roster for name generation 70% of the time.
#Ghostize() is now a lot more robust. If you need to throw someone into a ghost if they are killed/whatever, use it.
#Deleting a mob will now spawn a ghost for it through ghostize(), if it has a key, so you don't need to worry about that. You can null key people if you want to kick them out of the game.
#Ghost verbs are now in their own panel (Ghost). ghost() is the proc/verb that mobs get to turn into ghosts. ghostize() is now a proc only used through other procs.
#Changed how ninjas get their verbs. Long story short, wizards are now able to mind swap with ninjas. Stay hidden Snake! Also, more code improvements and additions to ninjas, including more fun for the AI.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1607 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-21 05:06:53 +00:00
cagerrin@gmail.com
8295e9efab CHANGELOG UPDATED
-Borg parts are now built by exosuit fabricator, meaning they can be queued and benefit from time/material cost reduction via research.
-Removed borg fabricators as a consequence, and added second exosuit fabricator.
-Exosuit fabricator uses borg fabricator sprite from r1596, which now has loading overlays for all materials.
-Moved fabricator sprite and overlays from surgery.dmi into robotics.dmi, as they aren't surgery-related.
-Borg parts are slightly cheaper, as the exosuit fabricator converts material sheet values differently than the borg fab, and borg parts were slightly more expensive than a Ripley with the cost copied from robot_fabricator.dm.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1605 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-20 06:10:34 +00:00
panurgomatic
1b8037b614 - Paint. Currently, only turfs can be recolored.
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
2011-05-17 20:12:43 +00:00
baloh.matevz
911372623e Attack log should now work. Please report and bugs you might find.
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
2011-05-15 01:11:31 +00:00
baloh.matevz
cea7302b08 Smooth tables added
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
2011-05-14 17:10:19 +00:00
n3ophyt3
d1ee3698f5 Fixed a bug related to melee combat that has existed since revision 2, and was unintentionally made worse in revision 1418.
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
2011-05-13 23:45:00 +00:00
n3ophyt3
d095d82697 Oh lordy I removed the wrong )s when I changed the melee code, sorry about that.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1574 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-12 21:20:34 +00:00
n3ophyt3
550ac659e0 Armor Overhaul, phase 2
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
2011-05-12 00:00:16 +00:00
tronaldnwn@hotmail.com
90f747ffd9 Bug fixes (due to minor typos):
- 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
2011-05-10 04:46:04 +00:00
n3ophyt3
7a2647afb4 Armor overhaul, phase 1.
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
2011-05-10 00:13:04 +00:00
polyxenitopalidou@gmail.com
09a2407395 Uncommenting tray hit sounds too.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1554 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-09 02:43:09 +00:00
polyxenitopalidou@gmail.com
fca84835f7 •What the flying fuck. Actually forgot to include the most important part of the update. Sorry.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1552 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-09 01:23:13 +00:00
uporotiy
678238a0a1 Changed all the magic numbers for mutations to PORTALS, COLD_RESISTANCE, XRAY, HULK, CLOWN, FAT and HUSK constants.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1545 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-07 18:29:23 +00:00
panurgomatic
2a1023b594 - Another batch of runtime errors fixed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1537 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-06 00:32:55 +00:00
uporotiy
615e4be24b Crayons
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
2011-05-05 11:14:41 +00:00
noisomehollow@lycos.com
40b78e2438 Cleaned up ninja code so it's not all-over the place.
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
2011-05-05 01:33:50 +00:00
uporotiy
e4d315863a HONK! update
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
2011-05-04 23:13:38 +00:00
uporotiy
b74f67a3f9 Whoopsie, forgot to add a way of removing the new toy.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1529 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-04 20:34:55 +00:00
tronaldnwn@hotmail.com
a6959b2e69 hydroponics
- 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
2011-05-04 06:27:36 +00:00
baloh.matevz
4c5f17deb5 Light floor added
For non-coders:
- Added floor lights
- To build: Use wire on glass, use metal on the assembly you get, use it on a plating. To fix flickering or broken tiles, use a lightbulb on them.
- To deconstruct: Crowbar on floor to remove it, crowbar on light tile to remove metal, wirecutters to separate the wire from the glass.
- Click on tile with an empty hand to turn it on/off

For coders:
- The turf system has been rewritten to contain a tile variable which defines what kind of turf it is. The 'intact' var can no longer be used to determine if the turf is a steel floor. Intact only tells if wires and pipes are to be hidden (for hide() procs)
- Use is_plating(), is_steel_floor() and is_light_floor() to determine the floor type.
- Use make_plating(), make_steel_floor() and make_light_floor() to do this. They take the floor tile by default as a parameter, if none is given they will make one themselves.

Credits for the sprites go to Hempuli, used with permission.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1513 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-30 19:56:52 +00:00
tronaldnwn@hotmail.com
4cfd1b7d12 - Attempted to straiten up some clothing dms
- Finally got the NASA Jump suit to be spess worthy. Admins please don't spawn a billion of these.
- Jumpsuits can now be used as spess suits if you add the flag "SUITSPACE"
- Tower Caps are in the Hydro seed vending machine again, and you can get logs from them!
- Sec's vending machine has 12 donuts by default, and can spit out 2 boxes of donuts if hacked.
- Logs can to be sawed with a circular saw, makes two planks each. Otherwise can be used to get more seeds.
- Planks can be formed into wooden objects, currently just wooden tables and wooden barricades.
- Wooden barricades, they can be made from 5 planks. They cannot be moved once built. You can repair with more planks, and destroy them by bashing it (giving a few planks).
- Wooden tables now deconstruct into wooden table parts (no more transmutation of wood to metal).
- Plant scanner now lists water and nutriment level.
- Ammonia, nutriment, and diethylamine are VERY good for plant nutrient. Other types of chemicals have been altered to be more effective. Sugar causes everything to grow, weeds and pests, and plants. Cryodone is very good to save plants from poison and death, water gives a 1:1 ratio for injection, soda water is very good for plants, nutriment now works on plants (it is a fertilizer), and radium properly kills your plants slightly.

- Moved the wooden log to harvest DMI
- Added some related semi place holder sprites for wooden tables, wooden planks, and wooden barricades

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1502 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-26 00:00:56 +00:00
noisomehollow@lycos.com
52093c8a0d I guess I wasn't as gone as I thought I was. Go figure.
Code cleanup on some ninja+misc stuff.
Slightly faster energy recharge rate for ninjas.
Likely fixed the wizard/nuke operatives/MODE appearing in the Cent Com report.
Added a trio of hidden functions to ninja suit. Use with care!

I'm also removing myself as a committer.
Happy Easter! Peace!

PS: I'll miss you too Microwave :)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1498 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-25 03:09:18 +00:00
uporotiy
790f16f3d6 Cyborgs
Reduced amount of round-start cyborgs to 1.
Removed cyborg latejoining.
Added a 7 ds delay on cyborg laser guns.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1489 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-23 08:26:25 +00:00
noisomehollow@lycos.com
3abc38a2bc Updated xeno ability code.
Updated ninja ability code.
Misc ninja update.
Fixed chemistry reagent code for the ninja suit.

This final update could have been more awesome but whatever.
I've copy-pasted the ninja info on to SpiderOS for future reference.
It's been fun but now I must sayonara. Whatever that means. Oh, it means goodbye.
~Later~

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1469 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-18 07:36:33 +00:00
noisomehollow@lycos.com
bd54d92eb3 Fixed SpiderOS chemical injections to work a lot better. Thanks to Muskets and Darem.
Added a new reagent proc (trans_id_to) to transfer a specific reagent from a list to the target.
Finished SpiderOS. If anyone plans to revise PDA code, or maybe do something similar, I highly recommend looking at the SpiderOS verb first.
Ninjas may now drain energy from exposed wires, ala a powersink. It takes longer than APCs to begin charging and drains slower.
Misc bug fixes and improvements.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1460 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-17 03:32:19 +00:00
baloh.matevz
8b2be74d09 - Wirecutters have a 50% chance of changing to the yellow sprite
- Upon spawn, the screwdriver picks between 7 colors
- Electrical toolboxes now have a 5% chance of spawning with insulated gloves in them. (I did my maths, there are 12 electrical toolboxes on the station, this means only one of them will contain the gloves about once every two rounds) Most of these toolboxes are in protected areas anyway. (Part of DangerCon 2011)

Mapping:
- Tech storage now contains a pair of insulated gloves. (DangerCon 2011)
- There is now an oxygen canister near disposal, in emergency storage and the CE's office. Toxins has a toxin canister near the maintenance access, the incinerator has two toxin canisters and two oxygen canisters again, the construction site north of robotics has a small plasma tank. (All part of DangerCon 2011)
- Notices about financial cuts (announcing the removal of tools, equipment and supplies as determined by Dangercom 2011) now spawn on all heads' desks
- Wooden tables now look nicer
- 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1455 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-16 23:27:18 +00:00
rastaf.zero@gmail.com
1010d955ed You have to turn off your stunbaton before wash it suing sink.
latex loves + short piece of wire + some air from tank = ballon!
Another version of kitchen sink sprite.
New vending machine - dinnerware. Dispenses knives, forks and trays. Will do more once we get functional spoons.
New uniform - Waiter Outfit. Chef can give it to his assistant.
Water cooler was added to kitchen.
Kitchen was expanded.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1453 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-16 15:44:08 +00:00
noisomehollow@lycos.com
3d04f96567 #Added mechs as chargables for ninjas.
#Private lockers can now be sliced open with the ninja sword.
#Added a SpiderOS verb to the ninja suit when initialized. It acts as a lite PDA with some unique features. If I had more time, I would revise the existing PDA system to follow the format of SpiderOS which would make the former run a lot faster.
#Added an adrenaline boost ability for the ninja suit. It will near instantly remove paralysis/stun/etc but has only three uses.
#Added ninja stars ability. Ranged projectiles, the user randomly picks a target from nearby living enemies. Projectile itself is wip.
#Maximum charge for the suit is 30000, or 300%.
#More names for ninja name gen.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1451 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-16 07:59:38 +00:00
rastaf.zero@gmail.com
7707d5a58e Runtime errors were spotted in logs, please respond to svn if you can fix it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1447 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-15 09:26:36 +00:00