Commit Graph

3239 Commits

Author SHA1 Message Date
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
sieve32@gmail.com
cf86c755d6 Made Save Slots much more robust
-Made a 'default' save slot (D), and whenever you connect it automatically selects the default slot to load from, but manually selecting a different slot will allow you to play on that one before it returns to default.
-Added the ability to name your save slots with the '*'. Names can be up to 16 characters and contain letters, numbers, and basic symbols
-The preview icon on the preference screen now takes into account any job you have set on high, and dresses up the icon accordingly. If assistant is set to 'yes', or AI/Cyborg are on high it will put the icon in a grey suit (So you can still customize).
Solves Issue 667 as well

I tested a good bit with other people's saves, so I'm pretty confident it won't bork savefiles. And before anyone asks, the icon blending didn't make any noticeable lag, since icon procs are client-side.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4159 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 04:32:07 +00:00
ericgfwong@hotmail.com
8d05fffa5b -Fixed renaming books changing the author instead
-Added a YouTool vender to Tool Storage

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4158 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 04:03:44 +00:00
baloh.matevz
bee2c93441 - Chef and bartender now both have access to the bar area. Bartender has his shotgun and shaker spawn in his back room, which now has wooden floor and tables. Booze-o-mat is now bartender-access.
- Split the items in the engivend vending machine into the engivend machine, which retained the circuitboards, belts and got power cells; and the YouTool vending machine, which has tools and gloves and such.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4157 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-24 03:06:14 +00:00
baloh.matevz
97bb1fc04b - Made it possible to have admin-only in-game polls.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4156 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 22:44:53 +00:00
baloh.matevz
e3d3f2b8e9 - Added support for pulledby, which tells you who is pulling this object.
- Replaced all the .pulling = object instances with start_pulling() and stop_pulling(). Use these from now on.
- Ian and Runtime will now no longer move when being pulled

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4155 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 07:45:27 +00:00
ericgfwong@hotmail.com
0bde5a915c Reduced chance hulk can break r-walls per hit from 40% to 5%
Added a (0) to death.dm per Carn's suggestion

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4154 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 07:11:24 +00:00
baloh.matevz
6adacc576d - Removed the 'alive' variable from simple animals. It was redundant, since stat already tells that.
- Standardized critter proc declarations
- Added an AdjustBruteLocc() proc to simple animals
- Fixed the bug where simple animals would move when bumped, even when buckled
- Added space bears. They have some decently complex AI which revolves around stances, which include idle, alert, attack, attacking and tired. They are quite a fun little thing. Sprites were in code forever.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4153 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 05:25:13 +00:00
sieve32@gmail.com
64ddd6d2d9 Fix for the lighting.dmi being misnamed, sorry about that
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4152 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 03:30:17 +00:00
giacomand@gmail.com
7576f696d5 -Reverted the hats in the wardrobes file. If you want them back then feel free to re-add them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4150 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 03:15:33 +00:00
giacomand@gmail.com
56d787aa6b Mostly small tweaks.
-Optimized the Grey Tide event.
-Added a world clock for observers.
-Late joiners can now see the number of jobs being taken up before choosing their job.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4149 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 02:08:11 +00:00
baloh.matevz
db63780bac - Added unban logging to DB_ban
- Fixed a runtime error which happened when you tried to unban someone through the 'display job bans' verb.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4148 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 01:24:54 +00:00
sieve32@gmail.com
459c558898 -Make holodeck eswords a child of obj/item/weapon/holo instead of regular eswords, clumsy check removed as a result, and you can no longer do things like cutting through walls or doors or what have you. (Fixes Issue 665)
-Redid icons to be more optimized at compile by setting icon = 'icons/folder/icon.dmi' instead of just icon = 'icon.dmi', meaning that Dream Maker doesn't have to search through every single file for every single .dmi. This shouldn't lead to any errors because of how I went about it, plus the fact that Dream Maker would have freaked out if I screwed something up. Also moved around 2 icons that weren't sorted well.

r4146 compile time: 1 minute, 40 seconds
r4147 compile time: 45 seconds

[VGTG]

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4147 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 00:48:51 +00:00
ericgfwong@hotmail.com
68558e91ee Added berets to security wardrobe closets
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4146 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-23 00:28:50 +00:00
elly1989@rocketmail.com
95245b2905 I'm not sure what I was thinking when I defined that value. It was outside the 16bit width.
Facial disfiguring should work again now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4145 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 21:27:15 +00:00
ericgfwong@hotmail.com
60260aed98 -Nuke ops and wizards spawn with their preferred backpacks now
-Minor changes to the map, includes fixing that odd setup with the o2 locker in the locker room

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4144 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 21:09:18 +00:00
giacomand@gmail.com
2399e8d561 -PDA notes and uplink notes are working again.
-Added light flickering
-Ghosts can now make lights flicker a little bit with a minute cooldown. (People voted for it http://www.kamletos.si/tgdb/ingamepolls.php)
-PDAs are sorted correctly on the Message Monitor
-Added some light flickering to the following events: High levels of radiation, Grey Tide virus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4143 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 20:56:47 +00:00
giacomand@gmail.com
4f5f726edb -You can make newlines with PDA notes.
-Fixed a bug where if an Alien manages to pickup an item that they shouldn't and put it in their pocket then it won't be stuck remain stuck, being unable to pickup the item you placed in your pocket. It will now instead just drop it if it detects the item in your contents.
-APC will auto-turn on equipment if there is enough power for a certain duration. I want to tweak this some more until I get the perfect balance.
-Updated the changelog

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4141 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 15:45:42 +00:00
ericgfwong@hotmail.com
4a2e3c405a -Husks now lose their hair to make them harder to identify
-Fixed Issue 678

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4140 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 06:33:35 +00:00
sieve32@gmail.com
8a41c895ec -Added a do_after() to Artificer spells so they can't spam walls/rwalls
-Added myself to the admins.txt so I don't have to keep dealing with it

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4139 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 06:29:05 +00:00
baloh.matevz
f572819d51 - Removed an unneeded area
- Hopefully fixed the bug which allowed players to get a million toys from one arcade game.
- Removed poly's master controller failsafe due to it doubling up the master controller for no reason whatsoever.
- You can now redeem a full collection of mech toys at the quartermaster's for an actual mech!
- Added this stuff to the changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4138 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 05:09:22 +00:00
elly1989@rocketmail.com
a4681d5d3d Merged all those vent-crawl procs D:
As such the same rules apply to all mobs now. They all make noise as they exit the vent. They can all be blocked by welded vents. They all cannot carry items through (except implants and facehuggers). They all have a delay in arriving at their destination.

This removes any meta "Vent noise! Must be aliums cos monkeys don't have that code!". Fixes a bug that stopped ventcrawl working. And, best of all, you can vent-crawl to any connected vent..not just one per area. :3

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4137 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-22 02:57:26 +00:00
giacomand@gmail.com
fcdbc4190c Fixed the APC causing runtimes when wires are being cut/mended/pulsed. I mistakenly missed a variable and did not rename it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4136 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-21 22:10:38 +00:00
giacomand@gmail.com
5bd1f78eb1 Fixed issue 663, you should no longer be able to mass inject monkeys.
Fixed DNA injector sprites so they don't remain in your hand after injecting someone.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4135 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-21 20:06:29 +00:00
elly1989@rocketmail.com
f40dcf358e Committing this in-case anybody is willing to speed-test it against the current one.
It's an explosion proc that uses locate to locate only turfs and then ex_acts them. As opposed to grabing every atom in a square around the epicenter and then selecting which ones to ex_act

this version also supports sticking a sleep() in there to help  stop the server getting too backlogged.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4134 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-21 10:31:50 +00:00
elly1989@rocketmail.com
f6ded04899 Minor optimisations for explosions (again). Only removed some unnecessary lists, nothing major. Added some logging to world.log which gives explosion location/duration etc so we actually have something to compare it to whenever that damn code gets changed again :P
Added a shortcut to player notes into the investigate verb. Just type investigate notes

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4132 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-21 02:20:16 +00:00
elly1989@rocketmail.com
c94b35dc00 Added a very stripped-down version of player-notes I made a while ago for a ban system. It's very no-thrills as it was intended merely as storage for the various parts to reference.
I've pretty much stripped everything, added a switch to obj/admins/Topic and linked to a simple browser interface from the player panels.

It's just a single buffer per ckey. You can  use the [+] and [-] links to add/remove notes. Clicking the ckeys will allow you to navigate between player notes. They are listed chronologically.

Their main perk is also their main flaw, they are only a single buffer, which is fast and small. But it kinda means playing with the format won't update existing notes. If you have any complaints about the format please make them known soonish.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4129 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-20 20:47:44 +00:00
giacomand@gmail.com
1bab38a25d All "Crawl through vent" lists are sorted.
Aliens can now attack the APC to short it out.
Aliens and Metroids can now attack Windoors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4128 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-20 20:19:48 +00:00
giacomand@gmail.com
82886383e3 -Fixed issue 673, it will delete the glass if none remains.
-Added issue 672 's enhancement request. Disposal systems should leave fingerprints and transfer prints when building/deconstructing.
-You can put the Light Replacer on your belt.
-Gave the Light Replacer FPRINT and CONDUCT flags.
-Gave the Light Replacer origin tech.
-The Science department can now research the Light Replacer and build it. You need a required tech of "magnets = 3" and "materials = 4" with a material construction cost of 1500 metal, 150 silver and 3000 glass.
-Fixed a bug where you cannot place more than one object into a turned-off disposal unit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4127 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-20 16:08:05 +00:00