Commit Graph

23 Commits

Author SHA1 Message Date
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
5eb385092c [MIRROR] Adds Rocket Backblast (#2617)
* Adds Rocket Backblast (#55681)

This PR adds the backblast element, which when attached to a gun, creates giant plumes of fire when said gun is fired. The PM9 rocket launcher that nuke ops can buy kinda sucks and even a direct hit with the standard rockets loaded isn't enough to guarantee a one-hit crit on a direct hit against an armored opponent, which sucks for how much you pay for it. In that vein, I've also buffed the standard rockets a bit, they now do 50 brute up from 30 on a direct hit, and they create flames on their explosion.

Also makes a tweak to /proc/get_turf_in_angle(), since tile coordinates start at 1,1 instead of 0,0 that proc is now clamped to min 1,1 rather than 0,0

* Adds Rocket Backblast

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-01-10 08:35:51 +01:00
SkyratBot
7f5ecc03b4 [MIRROR] Guards DT_PROB and DT_PROB_RATE macros against scenarios where they're used as if they were procs. (#1331)
* Guards DT_PROB and DT_PROB_RATE macros against scenarios where they're used as if they were procs. (#54397)

* Guards DT_PROB and DT_PROB_RATE macros against scenarios where they're used as if they were procs.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-10-15 22:10:18 +01:00
SkyratBot
2fab616451 [MIRROR] Again crystal invasion fix, why edition (+ balancing because why not) (#730)
* Again crystal invasion fix, why edition (+ balancing because why not) (#53559)

* In the jungle, the mighty jungle the lion sleeps tonight

* AHHHHHH

* fix on the define

* even better define

* changes

* better define measurements and use

* better define name

* Again crystal invasion fix, why edition (+ balancing because why not)

Co-authored-by: Ghilker <42839747+Ghilker@users.noreply.github.com>
2020-09-11 22:58:59 +02:00
SkyratBot
1e705faa19 [MIRROR] Process procs now properly utilize deltatime when implementing rates, timers and probabilities (#709)
* Process procs now properly utilize deltatime when implementing rates, timers and probabilities (#52981)

* Process procs now properly use deltatime when implementing rates, timers and probabilities

* Review fixes

* Geiger counters cleanup

Made hardsuit geiger code more similar to geiger counter code
Geiger counters are more responsive now

* Moved SS*_DT defines to subsystems.dm

* Rebase fix

* Redefined the SS*_DT defines to use the subsystem wait vars

* Implemented suggested changes by @AnturK

* Commented /datum/proc/process about the deltatime stuff

* Send delta_time as a process parameter instead of the defines

Also DTfied acid_processing

* Dtfied new acid component

* Process procs now properly utilize deltatime when implementing rates, timers and probabilities

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
2020-09-09 08:19:23 +02:00
bobbahbrown
4d2daa6268 it works 2020-07-19 23:15:11 -03:00
Iamgoofball
9fbc6e0541 Steals a WRAP fix from Citadel #11643 (#50247)
* Steals a WRAP fix from Citadel #11643

see title

* Update code/__DEFINES/maths.dm

Co-Authored-By: spookydonut <github@spooksoftware.com>

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-03-27 11:04:56 +08:00
ShizCalev
7209ac3c93 Removes unnessacary math defines 2020-02-17 23:09:09 -05:00
AnturK
52120c7728 Drops 512 support. 2020-02-17 15:01:14 +01:00
Emmett Gaines
5481515dff Removes the non bitflag slot defines (#47742)
Removes the non bitflag slot defines
2019-11-17 17:52:11 -08:00
spookydonut
436fb42f5e Adds more 513 compat stuff (#47230)
* Adds more 513 compat stuff

* tan

* ooops casing
2019-10-26 20:56:54 +13:00
TheChosenEvilOne
a7cde8ce39 [Ready] Ports dynamic gamemode from /vg/ (#44639)
About The Pull Request

Port the dynamic gamemode from /vg/.
(Really bad explanation of the mode incoming.)
The dynamic game mode generates a threat number which is used to "buy" rulesets (rulesets are basically your antagonists). This means you can have rounds with for example traitors and cult (you can have up to three roundstart rulesets depending on the pop and threat level), and then there are latejoin and midround rulesets which basically do what they say (latejoin ruleset assigns late joining player as an antagonists and midround assigns ghosts or a currently alive player as an antagonist)
Why It's Good For The Game

This increases the chances of people getting their important antagonist role and makes rounds more interesting (when cultists gets their hand on wizard's magic) when everything can happen at the same time (cult, wiz and traitor could happen on high threat level).
Changelog

cl
add: Ported dynamic mode from /vg/, originally made by DeityLink, Kurfursten and ShiftyRail
/cl
2019-08-09 11:26:03 +12:00
Ghommie
a6b4d8f62f < 2019-02-07 21:13:46 +01:00
Putnam3145
3264e5df5a Rounded the last digit of pi correctly (#37148)
It's important, fellas. Makes pi 0.000007 wrong instead of 0.00009 wrong.
2018-04-13 15:51:50 +03:00
ShizCalev
e12f36d463 Removes some unused math defines/procs 2018-04-11 14:14:54 -05:00
kevinz000
ca10fa6d7a Spell Cards (#36147)
Adds spell cards. They're a wizard spell that shoots a burst of 5 semi-accurate homing cards.
Projectiles now have a homing framework, complete with some variant of simulated inaccuracy.
The said wizard spell will make use of a new mob component, that allows that mob to select targets by moving their cursor near them. It will give a visual and lock onto the nearest mob to the cursor, allowing the homing projectiles to target on the locked on mob/object.
Removes colliding variable from projectiles - We never used it after Bump was refactored to Collide.
Images soon when I get the lockon datum-components to work.
2018-03-23 09:39:26 +13:00
ninjanomnom
9247c88083 mistake leftover from literaly converting the old lerp 2018-01-25 17:48:48 -05:00
ninjanomnom
cd3a482e94 left out a closing parenthasis 2018-01-25 16:21:33 -05:00
Emmett Gaines
25080ff2c4 defines math (#33498) 2017-12-17 11:02:11 -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
Emmett Gaines
faaf151580 all this wrapping and it's not even christmas (#33035) 2017-11-23 10:43:59 +01:00
ninjanomnom
45d7acea2f fuck me for forgetting to graph this one 2017-11-23 00:28:20 -05:00
ninjanomnom
2817a1737b defines math 2017-11-22 17:36:58 -05:00