Commit Graph

3417 Commits

Author SHA1 Message Date
baloh.matevz
eaa13ba9bd - Fixed the bug which made lights not use power.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4211 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 04:50:23 +00:00
johnsonmt88@gmail.com
cfd5cff352 The 'Check AI Laws' verb now shows which AI (if any) the cyborgs are synced to.
Fix for a runtime due to an attack_verb being a string instead of a list. (You can once again robust people with toolboxes!)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4210 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 04:09:40 +00:00
elly1989@rocketmail.com
919677e2d5 Finally fixed those clean_blood() calls so they update mob-overlays properly. Resolves issue 681. Fixes space-cleaner grenades/splashing/spraying, Soap (work-around), Showers (again) and Janitor-borgs.
Fixed putting ammo in RCDs, resolves issue 696. Removed a little spam-text from RCDs too.
Removed some dyslexia from spesscash.
added an undef for LEGCUFF_LAYER


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4209 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 04:04:24 +00:00
baloh.matevz
070c956e25 I forgot a ..() call in my last commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4208 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 04:01:41 +00:00
baloh.matevz
dc937612d5 - Added an easter egg to the game.... GET IT??? :D:D:D:D:D:D:D
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4207 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 03:50:57 +00:00
sieve32@gmail.com
e3acc68917 Quick fixes again, firstly, you won't hear emotes at the login screen (Didn't realize new_player was being put into the dead list), and admins that are promoted/demoted will be added/removed to the list as needed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4206 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-29 01:34:15 +00:00
rockdtben@gmail.com
affab1467d Fixed almost all of the Atmos lag. Testing for this was done by the following: Sieve, flazeo25, QualityVan, and trubble_bass
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4205 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 20:11:02 +00:00
johnsonmt88@gmail.com
24ec69ac7a It is now easier to modify UI's through genetics:
Instead of the subblock picking a random value far from the current value, the player can select a 'target' value to aim for and subblock will try to zero-in on that target.

This affects UI's only, SE's don't do this. This will not be added to SE's because superpowers don't need to be made easier to obtain.

Hitting the arrows to change blocks/subblocks will now loop around once you've hit a limit. 
- For example if you're on SE block 14, clicking higher will bring you back around to block 1.

Commented out the scan console process() as it was just doing meaningless checks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4204 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 19:16:58 +00:00
sieve32@gmail.com
096a419443 Fixes Issue 697
Alright, added in list stuff to the alien's New() to handle it, and while I was at it I reworked add_to_mob_list() to actually be useful and used that in some places instead (It just takes into account everything for the lists, so that should be a bit more robust.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4203 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 18:33:31 +00:00
sieve32@gmail.com
082c7a13ce Welp, fix for me accidentally re-adding the MC failsafe, and a stat check for metroids, so now they won't process targets, their friend list, or any of that other shit when dead.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4202 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 16:36:22 +00:00
elly1989@rocketmail.com
92dd10f892 Tidied up on_consume() and the trash code for snacks.
Trash is now the path for the trash-item prototype (the thing it will spawn when you finish eating). This removes the need for a switch. Only obj/item/ paths may be trash.

You can also set var/trash to any obj/item to dump that item as trash. This is now used by the fortune-cookie rather than giving it its own proc for no reason.

This resolves issue 687

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4201 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 13:05:46 +00:00
giacomand@gmail.com
b026ada41f Fixed a typo which caused Reishi to not produce seeds.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4200 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 04:48:05 +00:00
baloh.matevz
423786f54c - Removed the logging of guest accounts... don't want that.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4199 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 03:45:29 +00:00
baloh.matevz
4931a1f992 - Used the wrong character in the insert statement for poll voting... yay...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4198 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-28 02:50:08 +00:00
sieve32@gmail.com
6b1073f610 Fix for me breaking AdminWho
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4196 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 23:11:40 +00:00
johnsonmt88@gmail.com
7d1b47e482 Mimes can no longer whisper without breaking their vows. Mimes don't talk!
Lockers and crates now holy a maximum of 20 objects. 
This is to prevent players from dragging a locker into a populated area and opening it; resulting in clients with a weaker connection to lock up and crash. I realize this is an inconvenience for botanists but players being able to intentionally crash other players takes priority.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4195 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 18:31:28 +00:00
sieve32@gmail.com
0705168f1b Alright, a quick fix for 2 things. Firstly, it adds transparency to the YouTool's broken sprite, and a del call for turret's bullet_act(), Fixes Issue 691
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4194 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 16:49:50 +00:00
baloh.matevz
c948e15873 - Added UI buttons which appear only when you have certain items on you to make toggling some stuff easier and lessen the need to juggle a million items all the time.
Screenshot: (Upper left)
http://www.kamletos.si/object%20ui%20action%20buttons.png

There can be a maximum of 5 of these buttons shown at any one time.

Currently the following items have a UI button associated with them:
- Flashlights
- Hardhat
- RIG suits
- Welding masks
- Jetpacks

To add more buttons, add a button icon_state to icons/mob/screen1_action.dmi, then set the variable icon_action_button to the icon state of the icon you just added. This is all you need to do if you want the default action to be taken when the button is clicked, which is attack_self(). If you don't want the default, you can redefine the ui_action_click() proc. A call of ..() will call attack_self(), so mind when you use that.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4193 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 15:20:44 +00:00
baloh.matevz
e87875a242 - Changed the text that is displayed when you use disarm on Ian or a corgi from 'X gently pushes aside Ian' to 'X bops Ian'
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4192 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 12:43:13 +00:00
baloh.matevz
18ad19d3cf - Me and noddie were both working on the same thing at the same time. So one of the doubled procs has to go. And since I'm making the update it's gonna be his proc that goes :3
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4191 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 07:51:27 +00:00
baloh.matevz
f908a610b7 - If someone enters the name of an AI or the word 'AI' in an adminhelp, a (CL) link is displayed along with the others, which is a shortcut to the 'check laws' secret panel button.
- The 'check laws' secret panel button now outputs AI laws, cyborg laws and also pai laws. It used to just be AI laws.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4190 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 07:13:08 +00:00
sieve32@gmail.com
d5738657cc Fixed an issue with AIs not being properly listed (Gotta love that special-snowflake code).
While I was at it, implemented the attack sounds for simple animals, most importantly constructs. 

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4189 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 02:55:11 +00:00
johnsonmt88@gmail.com
9822174a60 Changed the dormitory area from /area/crew_quarters to /area/crew_quarters/sleep so that wizards and the like who try to teleport there wont end up in completely unrelated places like /area/crew_quarters/hor (RD's office)
Moved 'Check AI Laws' to the admin tab instead of being hidden away in the secrets window.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4188 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-27 02:10:35 +00:00
baloh.matevz
20112b58f7 - Added a proc which logs some information about a client when they connect. The information gathered is:
- id (given by database)
- ckey
- firstseen (date and time)
- lastseen (date and time)
- last ip
- last conputer id

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4187 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 23:07:15 +00:00
giacomand@gmail.com
296d21251f Renamed the Space Shroom to Reishi.
Fixed some mistakes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4186 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 19:04:43 +00:00
johnsonmt88@gmail.com
58910a2318 Secure closet 'Toggle Lock' verb now takes into account whether the locker is broken. Fixes Issue 683.
The admin 'Spawn Xeno' verb will not longer state that an admin spawned a xeno when they cancel out of the operation. Fixes Issue 688.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4185 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 15:51:33 +00:00
sieve32@gmail.com
e8b48a8548 -Fixes a bad check for radios, and I hate myself for missing it.
Thanks Mwahahaha for the bug report.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4184 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 15:10:32 +00:00
giacomand@gmail.com
ec8a7d7bcb -Added a new mushroom, the space shroom! (Original Title Do Not Steal) It has relaxing properties with a small amount of space drugs and sleeping toxin. I added this to allow the cutlery jobs (Chef & Bartender) a secondary access to anaesthetics; instead of having to ask Chemistry all the god damn time.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4183 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 13:34:50 +00:00
johnsonmt88@gmail.com
c930622bea Attack verbs!
Instead of 'x has been attacked with y by z' it now reads 'x has been 'y.attack_verb-ed' with y by z'!
Example:
Monkeyman has been bashed in the head with a riot shield by Nodrak!
or
Monkeyman has been stabbed in the chest with an energy sword by Nodrak!

- Every obj now has a list named "attack_verbs"
- When declaring an object, just use attack_verb = list("verb1", "verb2") and so on to initialize the list for that specific item.
- I've added a bunch of these to a ton of items already, feel free to modify or add more. Just try to stay away from gimmicky verbs (clown stuff being the exception.)

clothing.dm and spawner.dm only had a single definition in each of them, so their definitins have been moved to obj.dm and their original dm files deleted. I'm not sure about spawner but clothing had all of its other definitions removed recently.

radio.dm was a completely blank file, so it was removed.

Changelog updated

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4182 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 05:21:24 +00:00
ericgfwong@hotmail.com
3939599047 Fixed item_state for red and blue pens
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4181 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 04:49:15 +00:00
ericgfwong@hotmail.com
991f921dd3 Forced command_name to always be Central Command.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4180 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 03:13:43 +00:00
sieve32@gmail.com
7bf6788082 -OPTIMIZATION TIME
-Almost every instance of 'for(mob in world)' has been killed. Because GODDAMN was it being run a bunch. Instead, a series of global lists have been made, and they are all handled auto-magically through New()'s, Del()'s, Login()'s, death()'s, etc...

Lists are as follows:
-mob_list : Contains all atom/mobs by ref
-player_list : Like mob_list, but only contains mobs with clients attached
-admin_list : Like player_list, but holds all mobs with clients attached and admin status
-living_mob_list : Contains all mobs that ARE alive, regardless of client status
-dead_mob_list : Contains all mobs that are dead, which comes down to corpses and ghosts
-cable_list : A list containing every obj/structure/cable in existence
Note: There is an object (/obj/item/debuglist) that you can use to check the contents of each of the lists except for cables (Since getting a message saying "a cable," x9001 isn't very helpful)

These lists have been tested as much as I could on my own, and have been mostly implemented. There are still places where they could be used, but for now it's important that the core is working. If this all checks out I would really like to implement it into the MC as well, simply so it doesn't check call Life() on every mob by checking for all the ones in world every damn tick.

Just testing locally I was able to notice improvements with certain aspects, like admin verbs being MUCH more responsive (They checked for every mob in the world every time they were clicked), many sources of needless lag were cut out (Like Adminwho and Who checking every single mob when clicked), and due to the cable_list powernet rebuilding is MUCH more efficient, because instead of checking for every cable in the world every time a powernet was broken (read: A cable was deleted), it runs though the pre-made list, and even with a singulo tearing all the way across the station, the powernet load was VERY small compared to pretty much everything else.

If you want to know how any of this works, check global_lists.dm, there I have it rigorously commented, and it should provide an understanding of what's going on.

Mob related in worlds before this commit: 1262
After: 4
I'm helping


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4179 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 03:04:05 +00:00
ericgfwong@hotmail.com
db14f50657 -Fixed shuttle stuns not affecting mobs without clients
-Shuttle stuns no longer affect non-carbon mobs

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4178 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 02:41:08 +00:00
giacomand@gmail.com
d4c8c14bb1 -Fixed issue 658
-Changed the way light fixtures are constructed. You do not need a light to finish it and instead it will just create an empty light fixture, when you perform the final step.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4177 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 01:58:23 +00:00
ericgfwong@hotmail.com
7a76580560 -Players not buckled in when the shuttle/pod moves or docks will get stunned for 5 ticks
-Shuttle doors now automatically open when it docks at centcom
-Screen shaking now works properly on shuttle/pods

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4176 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-26 00:07:16 +00:00
giacomand@gmail.com
365cdb4a60 -Added an "inuse" check for the Light Replacer.
-The Light Replacer will drop the replaced lights once again.
-Fixed a runtime with the Plantbag and the All-In-One grinder.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4175 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 23:28:45 +00:00
johnsonmt88@gmail.com
1f1784c2d2 Cleaned up metroid/life() and metroid/AIprocess().
- Reduced metroid sight range from 12 to 7.
- Reduced metroid target hunting range from 30 to 7.
- Removed unnecessary loops and checks.
- I didn't do much with AIprocess() but it could really use some more work.

Cleaned out unnecessary checks from porta_turret process() and reduced the range from 12 to 7.

Removed handle_virus_updates from brains, metroids and aliens since there are no viruses that affect them.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4174 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 21:14:28 +00:00
polyxenitopalidou@gmail.com
927741ea33 •Zere vill be order in mein FEA
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4173 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 18:44:06 +00:00
johnsonmt88@gmail.com
e9e434c226 Laser tag guns, practice lasers and staves of change no longer blow up in the clown's face. Fixes Issue 638.
Changed mode.txt from traitor to extended. Extended makes a heck of a lot more sense for testing purposes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4172 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 17:04:22 +00:00
baloh.matevz
18b4a0e713 - Changed beartrap arming from a verb to attack_self.
- Gave two beartraps to the janitor for pest control purposes...... ... . .

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4170 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 06:00:46 +00:00
d_h2005@yahoo.com
b157661c3b -Sprites for beartraps!
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4169 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 05:13:17 +00:00
sieve32@gmail.com
feca093222 -New pinpointer for nuke ops, it has 2 modes, with the first one pointing to the disk, and the second pointing to the shuttle (Specifically, the console). Also, if you leave the z-level with it on, the screen with flash in an alert so nuke ops are at least aware when they get thrown god knows where. Changed the nuclear closet spawn list to include these
-Gave all the new hardsuits actual inhands, instead of all of them using the rig one.

-Changed a good bit of Brain/MMI damage processing, now an MMI will never go unconscious, and it will not be deafened/blinded by explosions or whatever (Since the MMI acts as senses). However, it does mean they are vulnerable to emps, with all kinds of fun effects (impaired vision, hearing, the ability to speak, the ability to speak PROPERLY)
Fixes Issue 655

-Also gave MMIs some emotes, things like blinking lights, alarms, beeping and booping, etc...

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4168 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 04:32:23 +00:00
johnsonmt88@gmail.com
1efec9ad21 Cyborgs can now repair APC's with the AI wire cut. Fixes Issue 679.
- This is a very hackish way to do it.. I don't like it, but it'll work for now. apc's could do with some recoding.

Someone seemed to mix up some indentations in cult rune examines. Fixes Issue 680.
- Cultists examining a rune will be able to read the words.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4167 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 00:51:17 +00:00
baloh.matevz
1808b82cd4 - You can now wash people's mouths out with soap by having soap in your hand and targeting their mouth.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4166 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-25 00:16:43 +00:00
ericgfwong@hotmail.com
5081f91dd9 -Increased chance of hulks breaking through r-walls, but hulk has been made slightly harder to get
-Reduced the announcement delay for several random events, especially since some of them would be resolved before centcom even detects it (eg. blob)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4165 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 09:01:13 +00:00
baloh.matevz
af99faf4a3 - Made legcuffs a thing. At the moment the only legcuff type is the beartrap, but it needs sprites before it can get added to the map. The bear-trap triggers when you arm it and then someone runs over it. It attaches to their leg, making them unable to run until they remove it. You remove a legcuff by resisting out of it or by getting someone else to do it for you in the same way that handcuffs are removed. Resisting out of a beartrap takes
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4164 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 07:09:57 +00:00
ericgfwong@hotmail.com
6642a5353b -Added/extended some delays for creating solid structures from stacks
-Fixed retitling books sanitizing itself twice. Should also stop the unwanted & code

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4163 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 06:31:13 +00:00
sieve32@gmail.com
120510d4fa Replaces the special snowflake proc for save slot names with something simpler that is more compatible or something.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4162 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 06:00:22 +00:00
baloh.matevz
2a16ccfd7c Fixed an oversight from my previous commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4161 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 04:41:50 +00:00
baloh.matevz
699c4472c2 - Added wood floor tiles (made from wood planks)
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4160 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 04:34:12 +00:00