Commit Graph

40 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
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
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
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
johnsonmt88@gmail.com
8063f6dd06 Bugfixes:
Projectiles now last 50 ticks then dissipate. 
- This is to prevent people from firing these into space causing large amounts of projectiles to be processed needlessly.

Re-coded the cremator's cremate(), it should not lock up any more.

Removed a duplicate attackby() in pill bottles. They should now be able to pick up all pills on a tile properly.
- Fixes Issue 490
- Thanks to Zelacks for pointing this out.

Handcuffed mobs who are being dragged by another player can now move when the puller is stunned or paralysed.

Ashes are now decal/cleanable and can be mopped up by janitors

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4103 316c924e-a436-60f5-8080-3fe189b3f50e
2012-07-18 04:53:18 +00:00
elly1989@rocketmail.com
48088b79d9 ugh...this was horrible. I'm really sorry if I fucked anything up, I was literally going braindead towards the end.
Replaced every l_hand = and r_hand = and all that if(hand) crap to use standardised procs. This means we can use procs like Dropped() reliably as they will always be called when things are dropped.

Thorough documentation to come. But generally, if you want a mob's icons to update after deleting something in the inventory...use drop_from_inventory(the_thing_you_wanna_drop) just before deleting it. If you wanna put something in a mob's hands use put_in_hands() (or one of the variants). It'll try putting it in active hand first, then inactive, then the floor. They handle layers, overlays, screenlocs calling various procs such as dropped() etc for you. Easy

mob.equipped() is now mob.get_active_hand() because there was another totally unrelated proc named equipped() and stuff was confusing.

Weakening was made instantaneous.

Minor optimisations for human/handle_regular_status_updates(). I'll port these changes over to the other mobs next. Basically it should stop it constantly incrementing every status effect even after death.

umm... bunch of overlays related fixes... I think that's everything. :/

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3900 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-23 21:24:45 +00:00
elly1989@rocketmail.com
8961bd96d0 WARNING: This has been thoroughly tested and I'm happy that it's -stable- (it shouldn't runtime). However, it might have a few niggly bugs caused by specific items using no-standard or weird code. Most bugs will be stuff like it not updating overlays and such and can be fixed simply by dropping the item. That being said, if you're not comfortable with this, I'd suggest waiting to update past this revision.
update_clothing() has been broken up into it's key parts. A full explanation can be found in code/modules/mob/living/carbon/human/update_icons.dm
the tl;dr of it is that overlay updates are no longer called by the gameticker. Instead they are called by procs such as u_equip db_cick etc. This means faster updates (although admittedly, more of them can be called per tick). This however is offset by the fact that specific overlays can be updated now, vastly improving its efficiency. This will especially help when there are large numbers of dead mobs.

Fixed the throw code for TKgrab so it can be toggled.

Cloaking for aliens/humans/ninjas was changed. It's very crude at the moment and for that I apologise. But it works and is very efficient.It also stops cloaked individuals becomming invincible due to people being unable to hit them (even when they know exactly where  they are)

Fixed a bunch of bugs with damage-overlays. They  were updating FAR FAR to frequently. They were also horribly inefficient. They should now be virtually seamless when updating and only use cached icons, so they aren't affected by lag as badly. This may help with explosions lag a little.

There's still a tonne of stuff I need to refine with this. I'll be refining it down into some helper procs to reduce on code duplication and such

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3811 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-13 19:03:25 +00:00
baloh.matevz@gmail.com
18ccabb33a - Removed support for the ONBACK and ONBELT flags.
- Replaced them with a whole range of inventory slot flags. These now govern whether an item can or can't be placed in a certain inventory slot. See setup.dm for information on the flags. These flags only affect humans tho, as humans are the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross them. I hate indented variable definitions!

This commit should not bring any change whatsoever to the game from a player's perspective.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3659 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 07:38:36 +00:00
kortgstation@gmail.com
d3523a3e91 Added Wjohntsons little toy mechas.
Removed restrictions for cultists, anyone can be converted now.

Bibles no longer deconvert cultists to stop the random bible smashing from ruining rounds

Soulstones can no longer capture the manifested ghosts. No more infinite constructs.

Removed the telecomm traffic control from the map until its fixed.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3500 316c924e-a436-60f5-8080-3fe189b3f50e
2012-04-24 05:16:58 +00:00
quartz235@gmail.com
8e745d6bd2 i am the greatest coder of all time
and am also amazing at thoroughly testing what i make

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3103 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 19:32:34 +00:00
quartz235@gmail.com
5c53c4e7b7 -Fixed a typo that caused arcade machines to runtime 1/11 times
-Made water balloon have a lower case name for logical BYOND parsing

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3102 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 18:30:22 +00:00
baloh.matevz
3a0a764243 Crayon boxes are now storage items. I have no idea why they weren't storage items to being with but now they are.
6 storage slots, can only hold crayons. Icon_state is properly updated when crayons are taken out as well as when crayons are put in.

Updated uterus and 2.0.8 with the new type path, which is /obj/item/weapon/storage/crayonbox

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3082 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-11 01:46:19 +00:00
quartz235@gmail.com
a6c2e6e105 - Added water balloons (sprites courtesy of Sieve,) these can be filled with most reagents and burst on throwing if filled, applying the reagents to whatever is hit (along with everything else on that tile.) These are winnable from the arcade, for now. I'll probably think of a better way to implement them.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3075 316c924e-a436-60f5-8080-3fe189b3f50e
2012-02-10 06:55:03 +00:00
uporotiy
3f5b76aff0 Added stun, weaken and paralysis-related procs in place of directly editing the vars. Hulk is 5% chance now due to being completely immune to any sort of stunning (will nerf more later). Think that's all but not entirely sure.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2683 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-14 16:38:46 +00:00
n3ophyt3
67e43e4baf New toy, as coded by Threadstrong.
A delightful fake sunflower, that also doubles as a squirtgun. Refillable via watertanks.

Currently adminspawn only because I am too lazy to make it spawn anywhere right now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2589 316c924e-a436-60f5-8080-3fe189b3f50e
2011-12-02 01:51:40 +00:00
mport2004@gmail.com
46a7143e3a Energy projectiles work again.
Rewrote the job selection system to use bitflags and the jobs are now objects.
Fixed a path conflict with effect which caused a few things to be unable to be clicked on.
Commented out the job.txt, Urist if you still want it to load from the .txt give me a yell and I can update it to work with the job objects.
Fixed up the bits that were missing the slightly updated mob organ attack code.
Moved the traps file into unused.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2340 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-11 07:52:30 +00:00
mport2004@gmail.com
17ed3899c4 Fixed the map/code issues that the body bags caused.
/obj/effects is now /obj/effect.
/obj/station_objects is now /obj/structure.
Did a bit of minor blob work. 
The Bay 12 body bags were replaced with closets because having two sets of code that do almost the same thing is silly.
Changed back a few of the last jobproc edits as the remove from list before assign was a check to see if the mob was fucked up and if it was remove it so we did not check it again as it would still be fucked up.
The medbay/tox monkeys names are random once more.  More random name monkeys will help with changeling and clean up the observe/mob menus.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2324 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 10:28:57 +00:00
baloh.matevz
e8c6b08419 - Object tree grouped a bit more.
Two new categories were made: station_objects and effects. station_objects, which I'm sure someone will want renamed to 'structures' contains the objects which don't need process() or power code.

Effects contains objects which are either landmarks, triggers, spawners or decal.

Screenshot:
http://www.kamletos.si/new%20object%20tree.PNG

I didn't notice any bugs, but with a revision editing 276 files of byond code, you never know.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2323 316c924e-a436-60f5-8080-3fe189b3f50e
2011-10-03 06:54:28 +00:00
uporotiy
167a347526 Arcade machines now vend their contents (if they have any) before vending the standard prizes.
Spinning toy added.
Xbows now stun people instead of doing damage. (may be subject to change)
Fixed a changeling bug.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2157 316c924e-a436-60f5-8080-3fe189b3f50e
2011-09-08 12:24:32 +00:00
LastBattaWolf@hotmail.com
3d04e3505c pete is a feygoat
-snappops in arcades

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2082 316c924e-a436-60f5-8080-3fe189b3f50e
2011-08-31 20:31:52 +00:00
uhangi@gmail.com
b67b83fd2b Syndicate balloons. That is all.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1938 316c924e-a436-60f5-8080-3fe189b3f50e
2011-07-27 00:38:33 +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
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
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
583b5a42cd Glowshrooms
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
2011-05-04 20:15:14 +00:00
tronaldnwn@hotmail.com
95f30cf5b8 Ahem...
Glasses: 
Added Optical Material Scanner - A gimmicky item that lets people see ALL OBJCECTS, even if hidden by turf.

Storage:
Added dice pack - one d6, one d20 (will add more once I add more Dice types).

Toys:
Typo fixes.

Cigarette lighters:
Zippo - Made the lighting message gender neutral.
Match - Made the lighting message gender neutral.

RSF:
Provides new items - Dice packs, pens, and cigarettes

Human life:
Made the Optical material scanners work to see objects.

Robot Modules:
Servicce borg - Has a lighter now (which will be modified soon so people can light other people's cigarettes).

Icons:
Night vision goggles slightly modifies to have a space for the nose of humans to stick out.  The item state changed a bit out of the place holder status.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1386 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-05 22:53:46 +00:00
tronaldnwn@hotmail.com
6fb2e86a5c The fake syndicate suit can hold toys in its suit storage.
Cap guns can be recycled like cap gun ammo boxes. So once you empty your 14 shots, toss the gun and box in the autolathe for 10 metal and 10 glass points a piece.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1380 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-05 16:25:52 +00:00
tronaldnwn@hotmail.com
777e40b782 Arcade prize update:
Arcade prizes are now looking VERY REAL (as both of the head coders wanted them to look real again).

Toy E-swords sound real when you turn them on/off.

New toy! The replica red spess suit! Great for costume parties, not great for keeping security from chasing you down the hall, or space travel. Made of real plastic!

Now no one can bitch about the Ai satilite's teleporter suits. `~`

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1378 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-05 13:31:03 +00:00
rastaf.zero@gmail.com
a05dad6397 Fixed hearing in lockers (and pipes, i-cards, etc).
Added verb Ghost Ears. Dead people and observers can now select if they do not want to hear every word said on the world.
Fixed electronic blink toy sprite.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1243 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-23 09:56:01 +00:00
n3ophyt3@gmail.com
cc9e4a4922 Fixed more runtime errors.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1158 316c924e-a436-60f5-8080-3fe189b3f50e
2011-03-04 16:21:21 +00:00
n3ophyt3@gmail.com
bd9819c272 Made items that get unbloodied update their icon during the unbloodying, so you can tell how much you used your gun between getting blood on it and cleaning it.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@791 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-06 17:08:33 +00:00
n3ophyt3@gmail.com
cc51d5eeb1 Stack of runtime error fixes.
Didn't feel like digging into the DNA code to find the cause of one of the errors I got sent, if anyone feels like taking a crack at it:

runtime error: list index out of bounds
proc name: updateappearance (/proc/updateappearance)
  source file: dna.dm,257
  usr: Walter Bishop (/mob/living/carbon/human)
  src: null
  call stack:
updateappearance(Walter Bishop (/mob/living/carbon/human), "0FF0000660FF000066DC0000000000...")
Walter Bishop (/mob/living/carbon/human): Transform()

What I know: He was a changeling transforming between DNAs, apparently he somehow got a set of hair DNA that was literally off the charts for determining what hairstyle it was

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@781 316c924e-a436-60f5-8080-3fe189b3f50e
2011-01-05 02:12:37 +00:00
noisomehollow@lycos.com
d7c5301c16 Cleaned up wizard spells so that sound and clothing checks are their owns procs.
Fake wizard costume is now able to cast spells like the other two. Wizards still start out with the updated suit.
Fixed toy swords not having their icons set properly.
Updated the tactical turtleneck sprite, the old one is available as a toy.
Updated soviet uniform.
Modified swat shoes to be darker.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@590 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-11 22:44:24 +00:00
noisomehollow@lycos.com
e0228cf2ae Removed window stacks from the map due to r574.
Added some vending machines near the dormitory.
Modified foamdarts.
Modified toy descriptions and item states.
Misc changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@575 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-09 05:43:27 +00:00
noisomehollow@lycos.com
0bbfc0bfa6 Added department headsets to secure lockers in engineering, security, detective, and medical.
Changed icons of RD and CMO secure closets.
Added a medical wardrobe closet to Med Bay.
Moved toy icons to toy.dmi.
Renamed Invisibility to Ethereal Jaunt.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@573 316c924e-a436-60f5-8080-3fe189b3f50e
2010-12-09 03:32:45 +00:00
n3ophyt3@gmail.com
31914a2704 Cleaned up toy.dm a bit.
Cyborgs now give "has been hit by the foam dart" messages when hit.

The toy sword and blink toy are now separate items instead of renamed/re-iconed teleport beacons/cardboard tubes.

The toy sword now acts more like a real sword in terms of its blade.

The blink toy still does nothing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@212 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-29 01:48:01 +00:00
n3ophyt3@gmail.com
2aeff0b79e Fixed a bug with the foam dart crossbow.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@202 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-28 04:04:57 +00:00
n3ophyt3@gmail.com
9ea60e6533 Added another new prize to the arcade machine.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@201 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-28 01:40:46 +00:00
n3ophyt3@gmail.com
12a1259eac Fixed the new arcade prize's missing item_state.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@193 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-27 23:48:27 +00:00
n3ophyt3@gmail.com
f163f6d332 Added a new and exciting prize to the arcade machines.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@186 316c924e-a436-60f5-8080-3fe189b3f50e
2010-09-27 07:31:19 +00:00