Commit Graph

10926 Commits

Author SHA1 Message Date
Luc
1aaf3d6315 Make monkey death/gasps not travel through walls (#18080)
* Make monkey death/gasps not travel throguh walls

* based off of mind instead of monke
2022-06-26 15:33:10 +01:00
moxian
59b91e7c37 Fix runtime in mass-hallucination event (#18093) 2022-06-26 11:24:55 +01:00
S34N
705578b23b Energy detective revolver (#17771)
* Initial defines

* more work

* icon

* more stuff

* UID not hard ref

* tidying

* overload go brrt

* le sound and dead cell

* delet gap

* initial chargepack stuff

* simplify

* oops

* yeet this

* placeholder sprites

* oops magic number

* the gun speaks!

* consolidation

* tweaking and tidying

* so long old gun

* icon purge

* reapplies placeholder

* 1 minute tracker, not two

* makes it use a pinpointer

* revert tiny map changes

* cease your tracking, fool

* oops

* soft refs

* charlie review

* projectile ref to firing obj, removes testing overrides
& cleans up signals

* some more UID null checks

* ICONS

* ICONS CONFLICT

* MORE ICONS

* makes it freaking work

* first pass fixes

* charlie review

* charlie review 2, variable boogaloo

* fixes holsters

* colours the overcharged shot

* and recolours tracker to be yellow to match charge

* yellow laser icon

* widen overcharge misfire %

* fixes unlinkable pinpointers

* fixes gun not speaking when tcomms setup is changed

* steel request

* no chargey

* loudening 2022

* steel part 1

* Apply suggestions from code review

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* restores missing sprites

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-06-25 20:15:09 +01:00
DamianX
3582787514 Added set_stat setter for mob/var/stat (#18079) 2022-06-24 21:39:43 -05:00
moxian
f4bd86cc5e Surgery on napping people wakes them up. (#17661)
* Surgery on napping people wakes them up.

* Fix a potential afreeze issue

* Code review

* has_status_effect now returns `null` if no status effect

* move `voluntary` to be an arg to New

* Update code/modules/surgery/helpers.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

* And this other IsSleeping call

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-06-25 00:20:24 +01:00
DamianX
06768b96a3 Added time dilation tracking (#18061)
* Added time dilation tracking

* Update code/controllers/subsystem/time_track.dm

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2022-06-24 17:34:23 +01:00
Charlie
023d179c9c fuckup of the yar (#18060) 2022-06-23 14:08:58 +01:00
S34N
ff912fe937 Reworks flap+windoor delivery areas, tidies delivery beacon directions (#18004)
* flaps 2.0, cleans up beacon dirs

* removes weird cyberiad double-windoor engi delivery

* charlie review

* WIP

* mules sliding into your d(epart)m(ent)'s
2022-06-22 12:27:48 +01:00
moxian
8b049ff877 Fix stack overflow in mutual grabs (#18032)
If you grab someone who grabs you, and either of you try to move
you'd get stack overflow.
No more.
2022-06-22 08:18:35 +01:00
Kugamo
1c2cec06d1 Fixes space movement pushing jank (#18024)
* 👾

* comment

* Sirryan2002 Suggestion

* Forgot facing dir lock

* SteelSlayer Suggestion

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-06-22 00:45:17 -05:00
Kugamo
ae1e03f5d9 Beepski attack animation 2022-06-21 12:19:19 +01:00
Kugamo
1176812962 3863168 (#18026) 2022-06-21 12:01:51 +01:00
Kugamo
afab3764e9 👓 (#18022) 2022-06-21 11:56:02 +01:00
Marm
af0b69c727 Makes Collosus death bolt dust dead people (#18011) 2022-06-20 21:02:35 +01:00
SteelSlayer
c3fcf3e256 Datumizes changelings and refactors related code (#17774)
* it's finally here

unfucks tgui

* oops, I don't want to change the mode

* charlie and moxian review

* charlie review II + some GC fixes

* rebase to fix conflicts + tgui bundle deconflict

* charlie review III + affected review

* final? tweaks
2022-06-18 20:55:49 +01:00
Luc
747d8111ca Datumized Emotes (#17544)
* Add raw tg emote datums

* Some more initial implementation

* First (big) commit

* More reworks, most emotes seem to work but cooldowns are weird

* Add the remaining emote species

* Add simple mobs

* Update defines, add more comments

* Remove unnecessary intentional calls

* Fix some bugs, add more functionality
- Silicon mobs/bots can't use all the living emotes
- Sound volume can now be specified for emotes
- Added a define for emotes to not go thru runechat
- Reorganized some emotes
- Some human emotes that need breath will gasp
- IPCs can beep boop
- Restore power warn for robits
- Sneezing and coughing have sound effects

* Fixes emote species separation not working in *help

* Reorganize emotes based on what's available on paradise

* mouthful mode

* Update implants to use emote signals

* Update species whitelist to use a typecache

* Cleanups

* More small changes
- Remove old extraneous typecache
- Reconfigure drask emotes
- Make all mime emotes visible (since they're silent)

* Remove old emote functions

* Update emote sounds, volume

* Rework more emotes into EMOTE_VISIBLE

* *rumble*

* More slight testing and cleanup
- Drop audio emote cooldown from 10 to 5 seconds
- Change clapping behaivor slightly, putting it into run_emote
- Update some emote flags here and there
- Fix up johnny, though remind me why this one exists?

* Fix indentation, missing typecast

* fix some returns

* More review

* Rename emote files

* Add'l review

* Even more emote fixes!

- Move defines out into an emote define file
- Integrate audio and general emote cooldowns
- change some 1 and 2 into visible/audible
- Try to fix monkey screech

* Add ability for admins to mute users' emotes.

* Rename cooldowns, add general mob emote cooldown.

* Fix flip not always geting the right message

* Add some emote target handling, docs

* Fix admin rights, indentation

* Update emote.dm

set default mode to ANY

* General implant fixes

- The way implant triggers are handled is now improved, with separate checks for death and emotes instead of just checking deathgasp.
- Implants can choose to be triggered for the first death or for every death.
- Voice of God play dead now activates sad trombone

read: voice of god can now no longer lowtiergod nukies

* Bunch of other changes and bugfixes

- Adds number flag for behavior
- Reworks how muzzling/vocalizing emotes works
- Breaks out sound effects
- Drops cooldown to 1.5s

* Fix people being able to snore/nightmare while awake.

* Bump paralysis on living emotes

* First review pass

* Clean up implants (while we're here) and fix compile errors

* in living error

* More outstanding review fixes

* use more isx() checks

* Add pre-emote signal, try_run_emote()

* Prevent silicons from playing their deathgasp multiple times

* Add emote postfix behavior for adding parameters to non-message params.

Also adds a signal to intercept emote actions.

* Fix linter complaints

* Remove new player checks on GLOB.dead_mob_list

* Fix species emotes not being distinguished, remove weird legacy code

* monkey ball

* better docs == better code

* Fix audio cooldown, silicon emotes

* Fix ghost emotes (don't worry they're staying)

* Restore spin to 2 seconds

* oh johnny boy

* Make fainting last two seconds instead of .2 seconds

* Remove extra highfive message

* Tick friendly emotes

* Fix up friendly emotes, ghost emotes

* Add some emote message safeguards, prevent flip from showing twice

* Fix ghost vision message format

* Fix hands_use_check on non-carbon mobs

* Bring emotes in line with say re. oxyloss

* Add option for death implants to not trigger on gib

* Try adding some unit testing

* Include emote unit tests

* More attempts at unit testing

* More attempts at unit testing?

* forget it this is fine

* Housekeeping

* Little bit more

* Remove extra bolding from ghostsight emotes

* More sanity checks, fix snore

* Remove stack trace when unintentional emote fails

* Update code/modules/mob/living/silicon/silicon_emote.dm

oops

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* More implant cleanups

* Oh I missed this

* Silence wagging, more review fixes

* Oops 2

* ensure everything can swear

* High-five fixes and status effect stuff
- Adds new on_timeout() function that gets triggered when a status effect expires
- Fixes up passing arguments to status effects
- Ensures high-five explosions don't kill the wizards

* More review stuff
- Add a stat to text to make things easier
- Make it harder to delete emotes
- BIG DANGER
- pose can no longer be set while unconscious

* Remove extra high five logic, godmode changes

* forgor

* Fix gasp not working

* Update docs for good measure

* Some review and custom emote fixes

* Fixes death alarms being broken

* Better handle stat_allowed, more review comments.

* ..() conventions

* This is why unit tests are nice

* Remove drone snowflake emote stuff

* Linting

* No more flipping on the ground

* Snap doesn't require hands free

* Does it make complete sense? no, but it's Fun

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* Fix revenant messages, power warning

* epic webedit fail, laugh at this user

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2022-06-14 23:06:24 +01:00
Qwertytoforty
da7dd5b000 Nerfs xenobio xeno mobs HP (#17956) 2022-06-14 13:34:27 +01:00
AffectedArc07
7d5a7ad85d Adds colourblind mode and a colour matrix editor (#17933)
* Colourblind mode + Matrix editor

* increase that

* Protanopia filter

* Tritanopia filter

* The SQL part

* Refactor

* you saw nothing
2022-06-10 17:52:28 -06:00
moxian
e5548b92b9 Removes obsolete check in update_revive (thus fixing SR revival of people dead to tox) (#17907)
* Make SR usable for reviving people dead to tox

* Remove effectively-unreachable drone can_be_revive override
2022-06-09 15:48:35 +01:00
moxian
8b9c6dc5f0 Some grab fixes.. (#17895)
* Some grab fixes..

* A tradeoff in jank

* Address review comments

* .. and a small comment
2022-06-07 16:26:23 +01:00
moxian
4097e57f8c Move IPCs from being shown on medhud to diagnostic hud (#17897)
* Move IPCs from being shown on medhud to diagnostic hud

* review + runtime fix

* missed this one
2022-06-06 21:52:13 +01:00
Charlie
77d03f7ab9 Spellblade rework (#17693)
* fire lighting and shielding

* blink + lavaland loot

* file move and projectile removal

* get out of MY WALLS

* review

* sprites

* forgot this

* sprite update

* Apply suggestions from code review

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>

* some TM changes

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
2022-06-06 16:22:18 +01:00
Kugamo
56e8dc4293 Transparent slime blood (#17861)
* blood

* tracks

* bug D:

* Review improvements

used alot more of the defines :o)

* renames define to make more sense
2022-05-30 19:36:25 +01:00
moxian
1c216c4e10 Make diagonal movement faster (1.41x as long as cardinal, rather than 2x) (#17884)
* Make diagonal movement take 1.41 as long, rather than 2x

* define
2022-05-30 19:19:03 +01:00
Coolrune206
6c57e06e2a vamps now drain slime people (#17886) 2022-05-30 19:17:36 +01:00
warriorstar-orion
8305136afd Fix chinstrap icon name. (#17894) 2022-05-29 19:15:16 +01:00
Qwertytoforty
1e78a6befc Reworks exotic blood conversion handling so dead species can regain blood via transfusion (#17851)
* Reworks exotic blood conversion handling

* proc coefficient

* remove comment

* Update code/modules/reagents/chemistry/holder.dm

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
2022-05-27 20:39:05 +01:00
moxian
4f299c403a Un-jank diagonal movement (#17872)
* Un-jank diagonal movement

* grab fix
2022-05-27 20:15:40 +01:00
DamianX
18554b52c3 Fixed cancel button when setting criminal status through SecHUD (#17873)
* Fixed cancel button when setting criminal status through SecHUD

* Update code/modules/mob/living/carbon/human/human.dm

Co-authored-by: moxian <moxian@users.noreply.github.com>

* Check the thing earlier too

Co-authored-by: moxian <moxian@users.noreply.github.com>
2022-05-27 10:41:21 +01:00
Qwertytoforty
0829f0595e We have a variable for reflectable, use it (#17867) 2022-05-25 19:54:42 +01:00
Charlie
0f7a8707ef [Ready] Refactors stuns and status effects. (#17579)
* Fixes reviver runtime

* Confusion status effect

* Dizzy status effect

* Drowsiness status effect

* decaying -> transient

* Drunkenness status effect

* why use timer when SSfastprocessing work good

* stuns (mostly)

* weaken and immobalise

* stun/weaken times

* update_flags redundancies.

* Slowed()

* Silence + fixes transient decay

* Jittery

* sleeping

* Paralyze -> weaken

* Cult sluring

* paralyse

* Stammer

* slurring + projectile cleanups

* losebreath

* Hallucination

* forgor this

* eyeblurry

* eye blind

* Druggy

* affected didn't like my spacing

* review pass

* second review pass

* some cleanups

* documentation and signal framework

* confusion fix

* Fixes spec_stun

* rejuv fix

* removes a TODO

* conflicted myself

* fixes

* self review

* review

* removes TODOs

* adminfreeze

* TM fixes

* hallucination fix + others

* tones down alchol and runtime fixes

* confusion overlay suggestion

* more fixes

* runtime fix

* losebreath fix

* clamp => directional bounded sum

* steel review

* oops

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* reduces the dizziness cycle rate

* borg hotfix

* sanctified decursening

Co-authored-by: mochi <1496804+dearmochi@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-05-24 16:35:26 +01:00
S34N
83e228cbcb Minor refactor of spawners, fixed rogue drone and carp events not spawning mobs (#17849)
* lessens the use of GLOB.landmarks_list

* delete redundant blob icon

* Apply suggestions from code review

Co-authored-by: moxian <moxian@users.noreply.github.com>

* review part 2

* aa review

Co-authored-by: moxian <moxian@users.noreply.github.com>
2022-05-24 14:26:36 +01:00
S34N
3d24eeedd8 Fixes spawning logic of vent-spawned antags (#17844)
* fixes vent spawning antags breaking

* adds exception to xenobio vents

* simplifies the proc

* tidies the logic
2022-05-24 12:46:24 +01:00
datlo
b7bb60c540 Rework syndicate MMI (#15926)
Co-authored-by: Sean Williams <12197162+S34NW@users.noreply.github.com>
Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2022-05-21 22:39:40 +09:00
Farie82
ab7a358506 Makes setting a machine GC properly if not unset properly (#17840)
* Makes setting a machine GC properly if not unset properly

* Forgot one. Fuck you borer code
2022-05-21 13:35:08 +01:00
Adri
f22d4aa9f4 Chickens can be scooped up (#17801)
* Add chicken holder, standardises code

* Updates mouse scooping

* Adds chicken scooping

* Adds inhand icons

* Removes unnecessary src

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2022-05-18 13:53:29 +01:00
DamianX
0766c6d236 Fixed thrownby hard del (#17686) 2022-05-16 22:48:42 +09:00
AffectedArc07
e0758794a6 Removes shadowlings. Does not add anything else to compensate. (#17467) 2022-05-13 22:09:30 +09:00
Adrer
7106379d83 Check for null jumpsuit added (#17725)
Co-authored-by: adrermail@gmail.com <adrermail@gmail.com>
2022-05-03 17:20:18 +01:00
AffectedArc07
747097d7c3 Removes karma jobs framework (#17646) 2022-05-03 12:26:56 +01:00
Charlie
23e49c70ea Fixes accessories not showing up on examine (#17722)
* fix

* english isn't my strong suit

* AA review
2022-05-03 04:21:34 +01:00
GuiltyNeko
856eec713f Removes unused latejoin spawners (#17623)
* Bye bye latejoin spawners

* Empty lists

* All done
2022-04-30 16:14:07 +01:00
Qwertytoforty
2aade6012f Completely reworks the plasma pistol, adds the dropwall shield generator (Serious) (#17556)
* oi you got a loicnse for that

* Final touches on plasma bar sound/sprite, hot drops hot drop walls

* Actually makes dropwalls good™️

* s p r i t e s and fixes

* Gives vox / drask hand gun sprites

* forgot cult shield, ICONS added with pain

* Last minute fixes and deploy coder sprites

* spacing

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

* Removes comments, improves deployment and sprite handling

* Removes direction_check

* Uses signals, various changes

* Final™️ changes

* Final™️ Final™️ Changes

* Final™️ Final™️ Final™️ Changes

* [insert final™️ x4 joke here]

* Final™️ Change. *6

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com>
Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
2022-04-30 15:52:25 +01:00
Farie82
b4a83f650c Fixes the captains medal being deleted when cryoing (#17667) 2022-04-29 13:08:13 +01:00
moxian
17551c6cda Minor refactor examine to code, move held items up in the Examine display (#17653)
* Refactor examine code, move held items up.

* Group the body suits together as well. Hat, move away.
2022-04-25 13:49:41 +01:00
Regen
b316c880bf Removes ability to change flavor text while you are unconscious. (#17656)
* Removes ability to change flavor text while you are unconscious.

Fixes #17651

Also cleans up the (previously useless) check to see if the user of the verb is changing the flavor text of its own source
Shoutout to my bois in coderchat for the help

🆑 Regens
fix: You can no longer change flavor text while you are unconscious or dead
/🆑

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>

Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
2022-04-24 18:42:50 +01:00
Kugamo
7189ae5d65 Janitor QOL (#17594)
* Yes

* No

suggested changes

* Maybe

Suggestions + water in cart sprites

* Merge Conflict Resolve

* Suggested Changes :o)

* fixes bugs

* suggested changes round 2
2022-04-22 11:39:21 +01:00
Vi3trice
5f777f7f15 Refactor the Hunger Meter, add Machine People Battery Meters (#17603)
* Neat

* typo

* or

* Reworked, huh

* Update screen_hunger_machine.dmi

* Update life.dm
2022-04-20 12:30:39 +01:00
Adri
68974e46c9 Dimensional tear update (#17629)
* Adds a low heartbeat sound

* Changes mob names to lowercase

* Rewrites the dimensional tear event

* Simplifies step, updates comment

* Turns the frenzied hellhound into a subtype

* Removes old code

* Replaces flicker with get_spooked

* Fixes the linter error

Co-authored-by: Vicacrov <fe.adelina@gmail.com>
2022-04-20 12:21:58 +01:00
Charlie
b48c4e9fe5 Adds Dantalion, a new vampire subclass. (#17353)
* dantalion

* my sanity melts

* I am a front end engineer

* first review pass

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* review pass part 2

* fixes and polishes

* review

* sprites thanks to ramon

* todo and power reshuffle

* styling + fix

* steel review

* thrall commune fixes + polish

* I hate som

* runtime fix + dethrall message

* balance patch + jobban support

* I clicked on the file bundle and this commit took so long to handle

* review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* "last change they say"

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

* cool animation

* AA review

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
2022-04-17 20:19:38 +01:00