Commit Graph

115 Commits

Author SHA1 Message Date
81Denton 1c4036b309 [TMC] Explosion rebalancing (#45819)
* megumin is best girl fucking fight me

* what kind of smoothbrain capizalized these

* uses explosion defines

* more explosion defines

* Removes reagent explosion code for <1 amounts

* Scales explosion knockdown off bomb_armor
2019-08-14 10:55:50 -04:00
81Denton 7b8579c17a Minor ghost notify changes (#45759) 2019-08-08 01:47:04 -07:00
nemvar b9fa7963a7 Moves the C4 overlay to the float layer for mobs. (#45754)
* Fixes C4 stuff

* Only does it on mobs.
2019-08-08 01:02:57 -07:00
Denton ea787b243d h 2019-08-02 23:00:39 +02:00
Denton 154874d435 h 2019-08-02 22:44:59 +02:00
Denton d98df6e063 Refactors plastic explosives
y
2019-08-02 22:31:05 +02:00
py01 d96ff5beff Flashbangs auto-stun in radius 1 (#45381)
* flashbangs stun in radius 1

* changes flashbang rad 1 effect
2019-07-27 04:41:04 -07:00
nemvar 26eea3c056 Extremely critical documentation. (#45504) 2019-07-27 02:39:02 -07:00
Dorsisdwarf 0ca235753a Add header to c4 message (#44955)
Someone forgot this so it just said "body created".
2019-07-04 12:45:39 -07:00
vuonojenmustaturska 8ddc9677c7 examine-code refactor (#44636)
* 1/4 done? maybe?

* more

* stuff

* incremental stuff

* stuff

* stuff & things

* mostly done but not yet

* stuffing

* stuffing 2: electric boogaloo

* Git Commit and the Kingdom of the Crystal Skull

* make it actually compile

* found more stuff

* fixes

* fix AI laws appearing out of order

* fix windows

* should be the remaining stuff

* this time for real

* i guess it should compile too

* fix sechuds
2019-06-19 22:07:57 +02:00
Naksu 28b1e366d8 Resolve some duplicate defines 2019-06-18 13:08:53 +03:00
Tlaltecuhtli b8aa07a51e grenades quickfixs (#44485)
* fbghgfsd

* sdasd
2019-06-14 13:57:56 -04:00
Tlaltecuhtli 4a247210fd changes how grenades with custom primer are made (#44258)
* assemblies are shit fuck em

* maybe press commit before making a pr

* proxy stuff

* morestuff

* qol stuff

* only 1 wire

* revert that garbage that made me conflict

* changes

* wires
2019-06-11 12:28:35 -04:00
nemvar 39820eded0 Changes grenade detonation timers. (#44169)
About The Pull Request

Makes it possible to adjust the timer of all grenades with a screwdriver.

Also makes it possible to adjust the timer with a multitool. You put ot anywhere between 3 and 5 seconds. Instant detonations are also possible.

Changes how you input the spread amount on advanced release grenades. Instead of repeatedly clicking with a multitool, it now opens a window.
Why It's Good For The Game

Makes grenades more consistent with each other. It made little sense that you could adjust the timer on flashbangs but not on smoke grenades, for example. It also gives the player more control about how they want to use grenades by letting them set the timer more accurately.

Also adds more bloat to the multitool. Exactly what this game needed.
Changelog

cl
balance: The timer of all grenades can now be adjusted with a screwdriver. Possible values are instant, 3 seconds and 5 seconds.
add: You can now adjust the timer of grenades with a multitool. You can put it anywhere between 3 and 5 seconds. Instant detonations are also possible.
tweak: Advanced release grenades now open a window if you want to change the amount of units released.
tweak: The default timer on smoke grenades is now 3 seconds.
/cl
2019-06-03 11:00:49 +12:00
vuonojenmustaturska 6a106bc877 Remove reagent ids and use typepaths where applicable (#44166)
cl Naksu
code: reagent IDs have been removed in favor using reagent typepaths where applicable
fix: mechas, borg hyposprays etc no longer display internal reagent ids to the player
/cl
2019-05-31 21:57:26 +12:00
nemvar 78fa32883f Buggs (#44081) 2019-05-22 14:37:09 +02:00
nemvar 32f510faa0 Grenades and throwmode (#43817)
* Beach ball grenades

* Logging

* Update grenade.dm
2019-05-08 14:13:27 -04:00
vuonojenmustaturska fb45b7a017 Turns trait accessors into defines, fixes some bugs (#43820)
It's free performance.
2019-05-06 19:44:05 -04:00
Dax Dupont b13d244d76 Adds new clown mobs for admin use (#43675)
* new clown mobs and spawners

adds several new types of clown mobs, a beacon to spawn them, and a honkrender that spawns clown hulks

* added more clown varieties and fixes to previous

* fixed unneeded capitalization and changed mob values

removed unneeded capitalization and text errors and altered mob attack values to create more variation. Honkmunculus now does very little damamge but injects a small amount of meth.

* Update clown.dm

* clown changes and new clown

new clown that spawns bananas. can leave large stacks if left unattended, so it may require some reworking. nerfed several overpowered clowns and gave chlown a beetle like stride

* added cluwne to uplink, fixed redundant variables, added new clowns

cluwne can now be purchased for 5 telecrystals as a clown exclusive uplink item. Bananas were greatly improved. new weak clown added. Gave some clowns extra parents to reduce variables.

* Update code/modules/mob/living/simple_animal/hostile/retaliate/clown.dm

Co-Authored-By: Pugnacious-Gnome <48869928+Pugnacious-Gnome@users.noreply.github.com>

* IT LIVES ONCE MORE

* forgive me for this sin

* i wish git would detect case changes

* this works
2019-04-24 18:13:57 -04:00
Strommer Kilian 145cbe4f3b Allow spawnergrenade to do something with the atoms it spawns (#43258)
Adds a new proc to /obj/item/grenade/spawnergrenade called afterspawn,
it is called after all the atoms have been spawned and gets passed a
list to those. Children of spawnergrenade can override this proc to do
things to the spawned atoms, for example emagging bots after spawning.
2019-03-21 20:48:13 -07:00
Tad Hardesty 40cfebf2b0 Add some additional type annotations to lists (#43087) 2019-03-17 12:18:23 +01:00
81Denton cd603b9998 Rebalances bluespace beakers (#42792)
* Rebalances bluespace beakers

* based

Co-Authored-By: 81Denton <32391752+81Denton@users.noreply.github.com>

* fixes wrong diamond amount
2019-02-17 20:53:08 +11:00
nicbn c4213f13ab New() -> Initialize() (#41876) 2019-01-03 18:56:15 -08:00
coiax 5d7722dcfb Remove bomb notification sound from deadchat (#42140)
81Denton totally opened a competing PR mere moments before I
finished this one.

Why? It's not important enough to actually make a sound, ghosts can't
interact with the bombs, they just watch it.
2018-12-31 11:45:38 -08:00
81Denton d50c2d7034 Notify ghosts when bombs and C4/X4 get activated (#42081)
This notifies ghosts whenever a bomb gets activated and lets them jump to it.
It's always hilarious watching people try to defuse bombs, or Ricky playing out
hostage situations.
2018-12-27 13:38:42 -08:00
TheDracheX 51511deae6 Fixes grenades not adjusting their time when attacked by a screwdriver (#41693) 2018-11-28 22:35:29 -05:00
AnturK 8afa91da10 Fixes c4 suicide shout 2018-10-18 10:00:40 +02:00
kevinz000 3e7184c975 Combat/Stun (slip) overhaul staging, mobility flags, adds crawling (#39967)
Aiming to implement the framework oranges has detailed in https://tgstation13.org/phpBB/viewtopic.php?f=10&t=19102
Moves canmove to a bitflag in a new variable called mobility_flags, that will allow finer grain control of what someone can do codewise, for example, letting them move but not stand up, or stand up but not move.

Adds Immobilize()d status effect that freezes movement but does not prevent anything else.
Adds Paralyze()d which is oldstun "You can't do anything at all and knock down).
Stun() will now prevent any item/UI usage and movement (which is similar to before).
Knockdown() will now only knockdown without preventing item usage/movement.
People knocked down will be able to crawl at softcrit-speeds
Refactors some /mob variables and procs to /mob/living.
update_canmove() refactored to update_mobility() and will handle mobility_flags instead of the removed canmove

cl
rscadd: Crawling is now possible if you are down but not stunned. Obviously, you will be slower.
/cl
Refactors are done. I'd rather get this merged faster than try to fine tune stuff like slips. The most obvious gameplay effect this pr has will be crawling, and I believe I made tiny tweaks but I can't find it Anything I missed or weird behavior should be reported.
2018-10-11 11:22:21 +13:00
ShizCalev b7739a4a23 Standardizes bomb logging (#40474)
Fixes #39976

A good number of things were missing various parts of the logging (going to GLOB.bombers, not going to client logs, not logging to game, ect), or doing incorrect things like passing admin verbs to saved logs.

Unified all the necessary actions under a single proc log_bomber() which handles everything in most use cases. This way the log isn't all jumbled up with inconsistent messages, everything's one format so you can quickly find what you need to bwoink the right person.
2018-10-01 15:03:00 +13:00
ShizCalev 2fa1ac1349 Replaces istypes with the proper tool_behaviour checks. (#40414) 2018-10-01 03:10:31 +03:00
ShizCalev 2a01a9d447 Cleans up some log_message stacktraces 2018-09-26 21:13:39 -04:00
oranges 189086c93f Merge pull request #40341 from bobbahbrown/grenade-fixes
Tweak Chemical Grenade Assemblies to Show Beakers
2018-09-23 19:26:07 +12:00
ShizCalev 324f4e0b6f Makes flashes, & flashbangs flash (#40357)
* Makes flashes & flashbangs flash

* cleanup / badminnery feature

* Added cameras
2018-09-20 23:46:44 -04:00
Bobbahbrown c617a99bba made grenades great again 2018-09-18 12:30:58 -03:00
ShizCalev 8a7df8ba45 Makes usage of Nar-Sie consistent (#40029)
cl ShizCalev
spellcheck: Nar-Sie's name has been revised to Nar'Sie.
/cl
2018-09-08 13:31:09 +12:00
ShizCalev 98a6b39cca Clean up mixed space & tab usage (#40121) 2018-09-05 22:51:20 -07:00
XDTM 3f32f8c110 [Ready]Logs when speech is forced by an external factor (#39964)
* Logs when speech is forced by an external factor

* makes say args uniform

* fix
2018-09-03 11:38:16 +02:00
AnturK cf50863725 Grenades (#39892) 2018-08-24 15:26:35 +03:00
Patrick Chieppe 2c8248575a Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 21:41:09 +02:00
81Denton 758946ac66 Adds buzzkill grenade to nuke ops uplink (#39257)
* Adds buzzkill grenade to nuke ops uplink

* Replaces single grenade with a box of three
2018-07-23 01:11:11 -04:00
81Denton 6709d4d9ed Improves chemical grenade descs (#39262)
Chem grenade casing descs are just "A do it yourself [initial(name)]!", which
means players have to either pull up the wiki or code dive to find out what the
hell they actually do.

I gave empty casings detailed descs so aspiring pyromaniacs can quickly see
what casings do.
2018-07-22 14:25:20 -07:00
Trevor Serpas bee0b5b2c3 Afterattack() Signal (#38606)
* adds signal and modifies each call of afterattack to call it's inherited proc

* uses new macro for sendsignal()

* map fuck

* skip precommithooks

* combine and negate 2 ifs
2018-07-07 02:00:25 -04:00
ShizCalev 89752866aa Merge branch 'master' into spellcheck 2018-06-26 16:43:41 -04:00
ShizCalev ff532a4ca4 Spellchecks TGStation 2018-06-19 18:57:44 -04:00
AnturK 4dcfded622 Some spacing for readability 2018-06-19 20:02:35 +02:00
AnturK 3c972c41ee Fixes chemnade logging and cleans up the reagent stringify helper 2018-06-19 19:39:30 +02:00
Tad Hardesty 2f8f166d88 Merge pull request #38287 from ninjanomnom/signal-define
Use a define to speed up sending signals to datums with no signals
2018-06-14 22:17:01 -07:00
ShizCalev 2f461e6215 pretty 2018-06-14 07:05:25 -04:00
ShizCalev 03816b828c fuk 2018-06-14 05:27:20 -04:00
ninjanomnom d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00