Commit Graph

42 Commits

Author SHA1 Message Date
D3athrow
01d2471fc9 Merge branch 'color_replace_2_electric_boogaloo' into Bleeding-Edge
Conflicts:
	code/ATMOSPHERICS/pipe/pipe_dispenser.dm
	code/game/machinery/computer/HolodeckControl.dm
	code/game/machinery/embedded_controller/embedded_controller_base.dm
	code/modules/mining/money_bag.dm
	code/modules/mob/living/carbon/carbon.dm
	code/modules/mob/living/silicon/mommi/mommi.dm
	code/modules/mob/living/simple_animal/friendly/farm_animals.dm
	code/modules/research/destructive_analyzer.dm
	code/modules/research/rdconsole.dm
	code/modules/research/xenoarchaeology/machinery/analysis_base.dm
	code/modules/research/xenoarchaeology/machinery/artifact_harvester.dm
	code/modules/research/xenoarchaeology/tools/ano_device_battery.dm
2015-04-12 16:40:59 -05:00
ComicIronic
cbf5929b69 Adds click params to attackby and UnarmedAttack.
Sorta port sorta not of tgstation/#7833.
Big thanks to Remie for the code permissions.
Lets you place stuff on tables, see the TG PR for an example.
Actual change: wrenches and welding tools can now be placed on tables. You can decon by clicking the table legs.
2015-03-15 12:16:06 +00:00
d3athrow
70578acdc7 Merge pull request #2781 from Angelite191/minorfixes
Minor bug fixes
2015-02-14 11:04:53 -06:00
ComicIronic
18105dceca Priorities for accessories. General procs. More sensibleness. Storage fixes. 2015-02-11 23:21:17 +00:00
ComicIronic
7e75c6ae53 Changes intents to defines. 2015-02-09 20:25:52 +00:00
Angelite191
c1dd6b729d Update click.dm
-didn't add the src check because I was convinced pomf already did that.-
2015-02-03 22:29:04 -05:00
Angelite Entyshak
a6183a3d53 Minor bug fixes 2015-02-03 13:18:47 -05:00
d3athrow
1cf88cc663 Merge pull request #2442 from ComicIronic/SwissArmy
Adds switchtools and the swiss army knife.
2015-01-23 10:34:10 -06:00
ComicIronic
1dc9bd0aab Made gloves more OOP.
Powergloves now use Touch.
Touch now has a user arg.
2015-01-19 22:27:01 +00:00
d3athrow
0f6a032f73 Merge pull request #2486 from clusterfack/remove
Final examine hotfix
2015-01-09 10:45:12 -06:00
clusterfack
ef779403b1 Final examine fixes 2015-01-09 10:38:57 -06:00
Chris
3a320a71fb Merge branch 'examine' of https://github.com/clusterfack/bugfixstation13 into clusterfack-examine
Conflicts:
	code/modules/clothing/shoes/magboots.dm
2015-01-09 10:00:31 -06:00
clusterfack
05ca6ed412 Fixing up lost examine text 2015-01-09 01:43:21 -06:00
clusterfack
87c12062ac Examine overhaul to mob/user, span class and absolute pathing fixes 2015-01-07 14:40:57 -06:00
Chris
a6c108fcaa Sanity for funtimes 2015-01-06 14:46:48 -06:00
ComicIronic
d96033faf7 Adds switchtools.
Come in three flavours: engineering, surgery, and Swiss Army Knife.
Switchtools can store multiple items and let you deploy one to use on shit.
Use a screwdriver to remove items and add new ones.
No way to obtain them currently.
Includes a new sound.
Adds strike-anywhere matches which can be struck anywhere (except mobs).
Edited chiselling a wall to use a do_after.
Edited click code so preattack overrides the other procs.
Made optables and racks use drop_item properly.
2015-01-04 22:38:23 +00:00
Rob Nelson
f1cadf6ef1 Mob movement/attack/click/special delay rework
This code was just a big fucking mess.  Happy motherfucking 2015.

 * Delay procs and variables replaced with a standardized delayer framework.
 * Cleaned up the absolutely fucking atrocious fix_next_move() diagnostic verb.
 * Added the ability to adjust minimum and maximum delay clamps per-mob for adminbus purposes and future features.
   * USECASE: Fat people cannot attack as fast (not implemented)

Tested somewhat by smacking a window with a crowbar.  Movespeeds also don't seem insane, either.
2015-01-01 03:21:23 -08:00
Chris
65a0e84950 Pomf dumb 2: electric chickenaloo 2014-12-31 15:16:04 -06:00
Chris
03f891d38a Compile fixes man i'm dumb as a chicken. 2014-12-31 12:29:48 -06:00
Chris
6ad9e743d0 Click changes. 2014-12-31 12:19:38 -06:00
Chris
ad0aec56cc click dem floors as fast as you can boys 2014-12-02 14:23:40 -06:00
dylanstrategie
5ecaccbca1 Change how shock damage is calculated
After a fair amount of hair pulling, seeing how Dreammaker is unable to
use any function more complex than square roots and powers, I've used
the following formula

Damage = round(power^(1/3)*(rand(15,20)/10))

Changelog was also fixed and the snowflake exception for the power glove
was removed. If the grid contains dozens of DeLoreans, your target is
going to get it big time
2014-11-21 11:55:37 +01:00
dylanstrategie
a1282808d8 Old system with tweaked values 2014-11-19 18:01:42 +01:00
dylanstrategie
a9ee7d2ad9 Revert "Modify shock damage in a single manner"
This reverts commit 8731b3636f.
2014-11-19 17:54:47 +01:00
dylanstrategie
8731b3636f Modify shock damage in a single manner
- Power gloves cap is now at 1 million watts. Zing
- Shock damage formula is power/rand(4000, 6000) capped to 500, reached
in average at 2.5 million watts. Note to self : Nerf Supermatter Engine
which can still reach 3 million watts
- Sample shock damages : 50000 = 10, 100000 = 20, 500000 = 100. This is
a very simplistic damage calculation but it works
2014-11-19 17:52:36 +01:00
eswordthecat
861d2c839a Sync us at -tg-station face_atom. 2014-10-19 21:29:31 -08:00
Chris
0a9f3f8ee3 Alt+Click adjacent human to give item. 2014-09-27 09:26:56 -05:00
Chris
c0f96ae272 Revert Click code cleanup (reverted from commit 439bda24bc) 2014-09-18 15:36:38 -05:00
Wild Bill
439bda24bc Click code cleanup 2014-09-18 14:07:50 +03:00
Rob Nelson
d167302509 Readd buildmode, too. 2014-06-25 23:03:25 -07:00
BurnZeZ
a3ea37e8ad remove buildmode 2014-06-22 16:34:23 -04:00
d3athrow
ccf61127f5 prevent infinite toilet dunks or breaking somebodies face super fast on a wall. 2014-05-22 09:49:04 -05:00
d3athrow
7f4c0be941 Re-adding object pooling for beam projectiles. Fixed the double damage bug with a spawn().
What was happening was returntopool was nulling the variable that prevented the projectile from bumping something twice, and for whatever reason despite having no loc the proj would bump the same mob twice then be in the void again. The spawn() allows the bump proc to finish and then the projectile is returned to the pool.
2014-05-22 09:46:11 -05:00
ESwordTheCat
7243a36f1e Revert gun pool for now. 2014-05-08 00:46:48 -08:00
ESwordTheCat
e3f6270bb3 Object pool for beam projectile, minor changes to object pool. 2014-04-29 05:21:50 -08:00
d3athrow
265c8150d3 nuh 2014-04-25 00:28:00 -05:00
d3athrow
6c0e5895ef Remove debug things and fix up delay on some attacks 2014-04-25 00:26:26 -05:00
d3athrow
4cd8358502 remove click delay for most actions. offensive actions still have a delay. 2014-04-24 17:31:08 -05:00
d3athrow
a5ee944e02 Fix muh powergloves to work with new click code 2014-03-30 01:06:04 -05:00
Rob Nelson
337cdf04a9 Standardize LASER, NOCLONE, and HUSK 2014-01-21 14:04:14 -08:00
Rob Nelson
cbf979918e Standardize mutation constants, remove ambiguity, remove non-implemented muts. 2014-01-21 13:03:53 -08:00
Rob Nelson
27e1c5e869 ONCLICK CODE PORT. GOD HELP US ALL. 2014-01-17 18:24:53 -08:00