Commit Graph

24 Commits

Author SHA1 Message Date
ShizCalev
f7fe600540 Cleans up vars with defines 2018-02-09 00:20:41 -05:00
BordListian
451bd0d1ed Stray bullets and explosions don't blow up the entire syndi lava base anymore (#34401)
* - Changes explosions to save a reference to the epicenter atom
- Changes syndicate bomb cores to have themselves as the epicenter, removing a redundant get_turf call
- Changes explosive plastitanium walls to only be triggered by bomb core explosions. This is a tad cumbersome but there's only 12 of these walls in the game.

* - Removes debug code

* - Can't hurt
2018-01-16 09:35:57 -05:00
Tad Hardesty
827c4b3f99 Replace hardcoded z-level numbers with a trait system (#34090)
* Add basic structure of z-level traits

* Restore space transitions and add z-level debug verb

* Restore proper ruin spawning and transit level creation

* Replace station_z_levels and related checks with traits

* Eliminate more uses of ZLEVEL_{STATION_PRIMARY,LAVALAND}
2018-01-12 09:05:49 +13:00
deathride58
41dd293c21 Fixes explosion runtimes (#34091)
* fixes explosion runtimes

* cyka
2018-01-04 17:52:13 -08:00
deathride58
0030421c60 if(baseshakeamount > 0) 2018-01-02 19:31:40 -05:00
deathride58
07bbaaab27 nerfs far explosions a little harder, uses sqrt for shake calculation, and uses CLAMP instead of min 2018-01-01 22:58:55 -05:00
deathride58
7b81380572 LESS!!! IS!!!! MORE!!!!!!!! 2018-01-01 14:37:22 -05:00
Jordan Brown
47a4024910 Explosions now cause camera shake based on distance (#33570)
* Explosions now cause camera shake based on distance

* Explosion close camera shake down to 2.5s

* Explosion camera shake max 100 close intensity, 50 far
2017-12-31 03:32:38 -05:00
Emmett Gaines
25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -05:00
Jordan Brown
25a585d037 Adds feedback for explosions (#33511)
* Adds feedback for explosions

* Remove stray quote

* Fixes + flash and flame
2017-12-14 15:00:23 -05:00
Emmett Gaines
7c69cdcb8a Revert math (#33059)
* Revert "all this wrapping and it's not even christmas (#33035)"

This reverts commit faaf151580.

* Revert "fuck me for forgetting to graph this one"

This reverts commit 45d7acea2f.

* Revert "defines math"

This reverts commit 2817a1737b.
2017-11-23 20:59:52 -05:00
ninjanomnom
2817a1737b defines math 2017-11-22 17:36:58 -05:00
LeoZ
b5afe0119a Adds a bomb cap multiplier that can change based on epicenter's z level. Makes mining have a multiplier of 3 2017-11-04 18:51:17 -02:00
Robustin
a3d7e71867 Fixes bombs on Reebe being an instant win (#31503)
* Probably reduces Reebe bombcap

* wat

* TTV warning

* Less awkward wording
2017-10-19 21:36:54 -04:00
kevinz000
b83d777119 Removes a bunch of sleeps/spawns and makes a few booleans defines (#31553)
* spawn/sleep removal part 1

* sleep/spawn/src. removal

* fixes type paths in timers

* Fixes some variable passing

* Why do I have to do this 20 times to get it right..?

* Why do I have to do this 21 times to get it right..?

* Update suicide.dm

* Update software.dm

* Update paper.dm

* Update cable.dm

* Update ninjaDrainAct.dm

* Update hypospray.dm

* Update vocal_cords.dm

* Update touch_attacks.dm

* Update revenant_abilities.dm

* woops

* Update revenant_abilities.dm
2017-10-14 19:53:17 -04:00
Robustin
00b694b07a Fixes explosives in bags not exploding (#31516)
* Fixes most bomb in bag issues

* Update explosion.dm

* Added gib argument

* Typeless loops

* No more touching gib code

* Update death.dm

* Update death.dm

* Update death.dm

* fucking whitespace

* Contents are now exploded before gibbing

* severity
2017-10-11 11:00:19 -06:00
MrStonedOne
c8bb13d7c2 In which the stoner one gets stoned and tries to address tick contention... again
Tick contention is when the mc, sleep()/spawns(), and byond internal processing fight each other for game tick time. Usually in an unproductive way that wastes cpu cycles and reduces the effective amount of game tick to go around.

Tweaked the anti-tick contention heuristics of the MC a touch.

Fixed an incorrect operator in the mc's anti-tick contention heuristics causing it to apply in times of no lag rather then times of lag.

The mc's anti-tick contention heuristics now plays better with the high pop processing mode.

We no longer reserve the tail end of a tick for the mc to have if the mc doesn't plan to run next tick because of high pop mode or anti-tick contention heuristics.

stoplag() can now be given an initial delay allowing it to act like a smarter sleep (in that it sleeps for longer if the server is overwhelmed.

All short sleeps that only existed for performance reason and had no game play, visual/audio, or balance reasons behind their timing were converted to stoplag().
2017-10-09 01:21:43 -07:00
Jordan Brown
4178c209f1 Configuration datum refactor (#30763)
* Configuration datum refactor

* More WIP

* New easier on the eyes format

* More WIP

* Finished config.txt

* Fucktons more WIP

* The end of conversion draws near...

* Add all this shit

* Done converting entries finally

* Hunting down compile errors

* More WIP

* MORE CONVERSIONS

* More WIP

* More WIP

* Oh shit only 90 errors this time!

* IT COMPILES!!!

* Fixes world start runtimes
2017-09-29 15:36:51 +13:00
Jordan Brown
79ec4b7fc2 Fixes explosion_block being inconsistent 2017-08-01 10:12:44 -04:00
Fox-McCloud
29f1779885 Improves several Sound Loops' Performance 2017-07-30 12:23:37 -04:00
kevinz000
7a26305498 Replaces ex_act and emp_act numbers with defines (#29215)
* defines

* defines

* explode_none
2017-07-13 08:56:26 -03:00
Jordan Brown
0d753d862b Add the ability for all objects to use explosion_block (#27971) 2017-06-03 17:41:51 -05:00
Jordan Brown
e55027dc0e Fixes doppler arrays 2017-06-01 10:22:05 -04:00
Jordan Brown
7b3bc38351 Refactors explosions (#26361) 2017-05-24 18:44:08 -03:00