Commit Graph

52705 Commits

Author SHA1 Message Date
Rohesie 6ff08e1c69 Color standardization, vars moved, and signals (#52574)
Defined all the existing light_color values.
    Moved their definitions to colors.dm
    Made white the default color. It was so already, but that was very obscured.
    Moved the atom light-related variables to the atom definition.
    Wrapped changes to variables such as light_color into procs that report the event through signals.
    Moved the light_on variable to the atom level, also adding a signal for its changing, to represent toggling lights.
    Cleaned up a little bit of code in where new variables were defined before redefinitions.

This is all atomization to reduce changes in #52413
None of this affect gameplay at all, it's all code cleaning and refactoring.

There's more colors to standardize, a search for color = will find lots of targets, and I see little need to have both the LIGHT_COLOR and COLOR patterns, but I don't want to make this PR bigger than it already is.
2020-08-04 13:59:48 +12:00
Rohesie fad2f6c3de canSmoothWithAreas typecache turned into a boolean (#52606)
Exactly the same functionality for a cheaper cost, no typecache lists being built.

One could argue that this diminishes expansibility. I'd argue back that this is a rather lazy hack and shouldn't be expanded on.
If you want to add more complex smoothing functionality then don't make it area-based.
2020-08-04 12:34:35 +12:00
girl cb148cc034 Adds shock immunity to rubberneck (#52162)
* Reee why did this not work before

* Update alcohol_reagents.dm
2020-08-03 13:58:47 -04:00
Krysonism 35602ec6d0 [READY]syriniver nerfix / syringe projectile fix + various fixes requested by maintainer (#52019)
* syringe projectile fix

* greenman review

* oversight fix
2020-08-03 13:57:56 -04:00
Jordan Brown 1e486a34cd Fix using tag instead of custom_tag in send2chat (#52675)
* Adds more documentation to TGS chat funcs

* Fix using `tag` instead of `custom_tag` for chat channels

* Make new game notifcation message clearer
2020-08-03 14:34:34 -03:00
ShizCalev cb694e8095 Fixes carbon wash runtime (#52643)
* Fixes carbon wash runtime

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

Co-authored-by: spookydonut <github@spooksoftware.com>

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-08-04 01:32:00 +08:00
ArcaneMusic 0d19232b98 Makes Bounty Pads fireproof and prevents EconomySS from randomly opening UIs. (#52665)
* Makes pad fireproof and makes machines spam less

* Update code/game/machinery/civilian_bountys.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-03 05:09:20 -03:00
LemonInTheDark 3558dc1f1b Adds a coder override emote so manual custom emotes work properly (#52602)
* Adds a coder override emote to skip dumb shit with me

* I know this sucks, I can't comprehend how to do this cleanly without a full rewrite

* cleaner now
2020-08-03 05:05:07 -03:00
LemonInTheDark 092af76b5d Adds an atmos debugging tool and excited group visualizer (#52395)
* Adds an atmos debugging tool and excited group visualizer

* rebuild moment

* yarn install -> yarn run build

* Sigh

* Fixed UI, did not test, needs a rebuild.

* Proper flexing

* Adds varied colors, improved ui courtusy of stylemistake:

* Fixes a runtime, updates tgui

* added superconductors, cleaned up some shitcode, removed a clashing color

* Woop

* Speed

* rebuild

* Adds a tick count

* begone auto-update

* color defines

* rebuild moment

* color improvements, fixes updating

* adds another preprocesser define to handle showing max shares in the ui

* test of application system?

* patches up some display issues, allows for smooth flowing from one group to another

* overlay-ified

* client testing

* dmi moment

* plane master

* it fucking works

* size change

* passthrough

* rebuild moment

* adresses review concerns, toggles active turf vis on when testing

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-08-03 09:15:08 +02:00
ArcaneMusic 01296ab374 Makes several icon and outfit tweaks/fixes to bounty hunters. (#52668) 2020-08-03 03:57:09 -03:00
Theos 7f0d247120 mood multiplier no longer applies per moodlet (#52632) 2020-08-03 03:51:53 -03:00
ShizCalev e787d5dadb Improves malf ai overload logging slightly (#52656) 2020-08-03 03:46:40 -03:00
ShizCalev 2eb12fd169 Fixes pets breeding with their own children. (#52669)
* Fixes pets breeding with their own children.

* cached var
2020-08-03 03:46:17 -03:00
ShizCalev 00115d718b Fixes singularity pull runtime (#52654) 2020-08-03 03:45:23 -03:00
ShizCalev 04ff2e7eb5 Ballistic gun icon / overlay / ammo fixes. Adds support for suppressors to extend outside of a gun's 32x32 icon. (#52634)
* Ballistic gun fixes

* More fixes
2020-08-03 03:43:13 -03:00
Krysonism 3eb9f88e35 [READY]Replaces rust wave with entropic plume![REWORKED] (#52287)
* Icon + effect

* goofcone + my shitcode

* correct cone behaviour and visuals

* amok + polish

* Correct icon_state

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Fikou <piotrbryla@onet.pl>

* line endings

* more suggestions from review

* rework I

* Rework

* Readds missing sprites

* fix

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* more suggestions from review

* description fix

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Fikou <piotrbryla@onet.pl>
2020-08-03 03:41:46 -03:00
girl 40bff016e8 Componentizes Surgery-Initiation Devices (#52295)
* meow

* doc moment

* meow
2020-08-03 01:38:32 -03:00
Jordan Brown 8c0809d0b2 Adds more documentation to TGS chat funcs (#52601) 2020-08-02 23:37:59 +08:00
Jordan Brown 765b047152 Update TGS DMAPI to 5.2.3 (#52608) 2020-08-02 23:37:15 +08:00
Arkatos1 a673bf8fbe Drone radial menus (#52618) 2020-08-02 23:36:11 +08:00
tralezab 6471ea7f63 why (#52629) 2020-08-02 23:35:48 +08:00
ShizCalev bd87fc8e74 Fixes NPC pool runtime (#52655)
* Fixes NPC pool runtime

* idle
2020-08-02 23:35:10 +08:00
Ryll Ryll 8567e46830 mmm mmmm moff (#52642) 2020-08-02 23:33:46 +08:00
Timberpoes 5127934997 Adds area-based wire layouts to airlocks. (#52563)
* Area-based airlock wire layouts.

* Add wire layout identifiers to hacking interfaces

* Rebuild tgui

* Implement review suggestions.
2020-08-02 07:51:39 -03:00
ArcaneMusic c1e8d58eb0 Plant crossbreeds can now upgrade reagent %s, seeds can now select if they can mutate early. (#52366)
* Plant Reagent Genes can upgrade themselves via crossbreed, var added to keep cabbage from creating an organ farm

* This will do.

* Nah, NOW it's fine.

* tiny documentation tweak.

* like every var in hydroponics is ONE LETTER ROH

* When did this change

* is this the power of bitflags

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* Alright, working as intended.

* Flips to positive defines because I'm a negative lad

* resolves conflict

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-01 23:43:37 -03:00
Time-Green 126b559e93 Makes laughter demons revives spawn at laughter demon location (#52622) 2020-08-01 13:53:32 -04:00
NightRed 2bb9939426 do we have a holder (#52626) 2020-08-01 13:51:00 -04:00
KathyRyals be110228bb Fixes a runtime caused by an improperly affected variable. (#52628)
* Fixes a runtime caused by an improperly affected variable.

* Updated iscleanable()

* Update code/__DEFINES/is_helpers.dm

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2020-08-01 13:50:18 -04:00
Ryll Ryll 3064105bec Running unit tests no longer requires a launch parameter (#52529)
* for once i actually AM pushing _compile_options.dm

* cool, i get to touch travis
2020-08-01 13:13:19 -04:00
ShizCalev 9de9ed5cbd Fixes invisible bepis boards (#52605) 2020-08-01 07:40:18 -03:00
Fikou 7c00af5fbb makes it so survival pod stasis beds dont become invisible when you screwdriver them (#52604)
* makes it so survival pod stasis beds dont become invisible when you screwdriver them

* oh you motherfucker
2020-08-01 07:24:20 -03:00
nemvar bbb5fcdc08 Adds mafia achievement icons to the spritesheet (#52600) 2020-08-01 06:54:44 -03:00
Tlaltecuhtli abb3049d35 fixes a bounty bug (#52591)
🆑
fix: trashbag bounty works
/🆑
2020-08-01 06:47:02 -03:00
ShizCalev a873bf72e3 Fixes pill presses not checking for bottles (#52589) 2020-08-01 06:45:59 -03:00
LemonInTheDark 01654b7a64 all my homies love ice (#52585) 2020-08-01 06:45:25 -03:00
tralezab a7bf2bfddc smol fix 😃 (#52583) 2020-08-01 06:44:46 -03:00
ShizCalev 47e93df584 Cleans up paicard and aicard code (#52575)
* Cleans up paicard and aicard code

* fix

* more fixes
2020-08-01 06:44:21 -03:00
Jared-Fogle f23dcd2067 Fix pulsing the power wire shocking you repeatedly unless you close tgui (#52541)
* Fixes #52538

* Allow those with insulated gloves to mess with airlocks still

* Fix not being able to interact with insulos

* Fix style qualms

* Add shock immune to should_electrocute
2020-07-30 23:15:12 -03:00
NightRed 9c19b8c6ce Fixers for telekinesis and the defibrillator interactions (#52571)
* tk and the defib

* fixed range check

* extra check that is not needed

* only show ear damage on threshold pass

* wrong branch am bad

* is living check
2020-07-30 22:48:37 -03:00
zxaber 215ef5c6f3 Replaces modular computer card eject verbs with UI buttons (#52489)
* Replaces mod-CPU card eject verbs with UI buttons

* ?
2020-07-31 04:18:35 +03:00
Arkatos1 aa3a8e4722 Gun locker now uses a radial menu (#52506)
* Gun Locker Radials

* Smaller radius

* Review fixes

* Update code/game/objects/structures/guncase.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Review fixes 2

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-07-30 14:59:54 -03:00
EdgeLordExe ed5745ae44 [READY] HERETICS balancing: makes raw prophets more useful (#52028)
* e

* makes raw prophets more useful

* e

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

* Update code/modules/antagonists/eldritch_cult/eldritch_magic.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Update code/modules/mob/living/simple_animal/eldritch_demons.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rohesie <rohesie@gmail.com>

* E

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
Co-authored-by: Rohesie <rohesie@gmail.com>
2020-07-30 14:52:00 -03:00
Gamer025 c93c479ff9 Adds useless skillchip adapter (#52577)
* Adds useless skillchip adaptor

* Redo code so that skill_station code doesn't need to be modifed

* Remove helper and return directly instead of setting return code

* Update code/modules/library/skill_learning/skillchip.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

* Change to bitflag system

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-07-30 14:49:21 -03:00
NightRed 9c6fbc5847 Meteor shield acts as expected when hacked (#52582)
* emag meteor shield

* removed extra check
2020-07-30 14:44:32 -03:00
Wayland-Smithy 672367590c Fixes chasms to oblivion not killing living mobs before deletion (#52556)
* Fix chasm death before deletion

* Thou shalt not kill what is already dead
2020-07-30 14:43:19 -03:00
Dennok 6625041e68 Fix multitile engine rotating. (#52424)
* Update shuttle_rotate.dm

* set bound

* setDir

* Move multitile border rotate shifting to base proc

* Move borders shifting to atom/movable/shuttleRotate()

* Better code

Co-authored-by: Rohesie <rohesie@gmail.com>

* Better better code

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-07-30 06:31:47 -03:00
Dennok b4c275e2ce Try to replace light overlay to vis_contents (#52389)
* Try to replace light overlay to vis_contents

* move glowybit creation in Initialize

* ups

* change mutable_appearance to SSvis_overlays

* set right settings
2020-07-30 06:03:52 -03:00
Rohesie ac64362c11 Admins can respawn (#52567)
* respawn

* changes

* spawn

* R_ADMIN
2020-07-30 02:25:02 -04:00
AnturK a20f79f206 Adds Documentation for Entire Timer Subsystem With Minor Refactors (#52415)
* temp

* cleanup

* more

* Revert "more"

This reverts commit 8707bfe75d.

* less is better

* some documentation

* almost there

* we did it

* words

* better words

* Update code/controllers/subsystem/timer.dm

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>

* Update code/controllers/subsystem/timer.dm

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>

* whitespace

Co-authored-by: Kyle Spier-Swenson <kyleshome@gmail.com>
2020-07-30 08:16:08 +02:00
tralezab 5ca99fc0c3 Mafia Achievements (#52514)
* no brainer!

* hilarious indentation error

* thank you!!

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

* fixes

* armhulen07/23/2020 someone mute me from this channel i'm going to give all of my organs to Bulgaria if i keep finding these dark truths

Co-authored-by: trollbreeder <trollbreeder@users.noreply.github.com>
2020-07-30 03:13:13 -03:00