Commit Graph

77 Commits

Author SHA1 Message Date
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
petethegoat@gmail.com
117e4b643e gg byond, gg
fixed some more stuff from the dmi cull

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3877 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-20 16:08:13 +00:00
Erthilo
2e8f1932a8 TG: - Deleted ERP.dmi
- Moved some objects into /effect
- Removed the debugger object
Revision: r3739
Author: 	 baloh.matevz
2012-06-07 02:41:38 +01:00
baloh.matevz
2233548788 - Deleted ERP.dmi
- Moved some objects into /effect
- Removed the debugger object

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3739 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-04 21:49:28 +00:00
Erthilo
8e72965077 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/game/objects/items/weapons/cigs_lighters.dm
	code/game/objects/items/weapons/grenades.dm
	code/game/objects/items/weapons/implants/implant.dm
	code/game/objects/radio/headset.dm
	code/game/objects/radio/radio.dm
	code/modules/assembly/assembly.dm
	code/modules/assembly/holder.dm
	code/modules/clothing/glasses.dm
	code/modules/mob/living/silicon/robot/robot_modules.dm
	code/modules/paperwork/paper.dm
	code/modules/research/circuitprinter.dm
	code/modules/research/protolathe.dm
	icons/mob/suit.dmi
2012-05-31 15:09:35 +01:00
Mloc
fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01:00
Erthilo
126e4f1365 TG: - Replaced some hardcoded hallucination strings for screen placement to instead
use #defines from hud.dm. Please don't use hardcoded constants when there are
variables or defines available...
Revision: r3672
Author: 	 baloh.matevz
2012-05-29 00:56:13 +01:00
baloh.matevz@gmail.com
2fe93e3e25 - Replaced some hardcoded hallucination strings for screen placement to instead use #defines from hud.dm. Please don't use hardcoded constants when there are variables or defines available...
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3672 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-26 02:14:17 +00:00
baloh.matevz@gmail.com
c2c7a3bcda - Variable declaration standardization. Big commit.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3671 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-25 19:26:36 +00:00
Ren Erthilo
4f48a518ab Merge fixes. 2012-04-26 18:35:15 +01:00
Ren Erthilo
37f4d550a1 TG: Modified TK to be more effective and polished. You can use the TK grab to
interact with machines and stuff from far away (but you cannot pick them up!).
This means you can also bonk people with items you are holding with your TK
grab.

Changed the energy gun sprites to a better-looking version, made by Khodoque!

More work on NTSL. Including the ability to create comments by using // and /*
insert comment here */.

Removed the traffic control machine from telecomms, as requested by Urist. NTSL
is still a work in progress, and needs to be completely fool-proof before
players can get anywhere near it.
Revision: r3252
Author: 	 vageyenaman
2012-04-25 22:22:05 +01:00
Ren Erthilo
5ca785e516 TG: Buffed/bugfixed hallucinations. Uncommented the "Fake Attackers", for the lulz.
Revision: r3230
Author: 	 joe.heinemeyer
2012-04-25 01:06:20 +01:00
SkyMarshal
b86cd6bda4 MAde appendicitis only happen once, jump to explosion link should work, hallucination improvement/sanchecking, increased the damage of things to pre-nerf levels. 2012-03-21 09:46:42 -07:00
joe.heinemeyer@gmail.com
fa3c701eb2 Some hallucination updates. Should make fake attackers work better, and allowed more than one to occur at once. Also: Health properly updates with halloss, which was an oversight on my part.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3330 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-20 03:12:51 +00:00
Tastyfish
6874cc03d1 cleaned up the paths of a few ported things 2012-03-08 00:46:24 -05:00
vageyenaman@gmail.com
d5bff25b5b Modified TK to be more effective and polished. You can use the TK grab to interact with machines and stuff from far away (but you cannot pick them up!). This means you can also bonk people with items you are holding with your TK grab.
Changed the energy gun sprites to a better-looking version, made by Khodoque!

More work on NTSL. Including the ability to create comments by using // and /* insert comment here */.

Removed the traffic control machine from telecomms, as requested by Urist. NTSL is still a work in progress, and needs to be completely fool-proof before players can get anywhere near it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3252 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 21:41:51 +00:00
SkyMarshal
3e3534f00b Map update, CE now knows wire colors, added some old BS12 stuff (AI upload sprite, warning stripes), complete mute can still be adminhelped, removed gooncode in hallucinations, fixed the poweroffline event.
Map update has a redone CE's office and AI upload.
Explosions now let admins jump to them.
2012-03-03 20:23:10 -07:00
joe.heinemeyer@gmail.com
37d1db8ea7 Should fix the massive between round lag. Fucking gooncode.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3247 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-04 02:18:02 +00:00
joe.heinemeyer@gmail.com
ba7ff62fb9 Buffed/bugfixed hallucinations. Uncommented the "Fake Attackers", for the lulz.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3230 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-02 06:37:50 +00:00
SkyMarshal
67502c5d2e Bugfixes for Hallucinations, borgs'n'doors, and airlocks autorefreshing. 2012-02-29 22:21:01 -07:00
joe.heinemeyer@gmail.com
04c39436f2 BS12 port: Hallucinations and Dreaming
To take advantage of hallucinations, just have something that sets the "hallucination" var in a human mob to a positive number (The higher it is, the more crazy things are)
LSD is currently the only thing that does that, ATM.  (silicon, hydrogen, anti-toxin)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3221 316c924e-a436-60f5-8080-3fe189b3f50e
2012-03-01 04:30:16 +00:00
SkyMarshal
c1ea1d0a97 Fix for HERP DERP LAG. 2012-02-03 10:51:52 -07:00
SkyMarshal
37ac7e31ee Hallucinations. 2012-02-02 21:53:08 -07:00
SkyMarshal
3087c5d2e6 Hallucinations are 50x creepier now, thanks Mr. Fox. 2012-02-02 01:13:49 -07:00
SkyMarshal
e0c86aa6d3 Missed some sanity checks. 2012-02-02 00:36:50 -07:00
SkyMarshal
2ed57e0cc6 Finished up the last parts of my fingerprints work. Added a rag which lets you smudge away prints, and sinks do the same.
Added hallucinations properly.
Added LSD (with hallucinations.)
Remapped slightly.
2012-02-02 00:35:48 -07:00
SkyMarshal
d2eff85c17 Porting much of Aryn's stuff
-Sounds
-Detective Work
-Hallucinations
Tweaked server air alarm
Tweaked gibs
Working on de-derping surgery
Ported some BS12 stuff (stunned radio and adminwho)
Player's mind datum now holds their antagonist preferences.
2012-01-31 02:01:36 -07:00