Commit Graph
31 Commits
Author SHA1 Message Date
Roxy 3824aa13d0 update signal params 2025-05-05 16:12:50 -04:00
Majkl-J ae0b926948 Holy lord no more please 2024-10-24 03:07:38 -07:00
65f0e6bd76 [MIRROR] Adds a new power storage type: The Megacell. Drastically reduces power cell consumption/storage. [MDB Ignore] (#28376)
* Adds a new power storage type: The Megacell. Drastically reduces power cell consumption/storage. [MDB Ignore]

* Multi chargers

* all this other shit

* maps

* more fixes

* even more

* mapping

* map fixes

* MCR

* map2

* map3

* map4

* map5

---------

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: SpaceLoveSs13 <68121607+SpaceLoveSs13@users.noreply.github.com>
Co-authored-by: Fluffles <piecopresident@gmail.com>
2024-07-01 23:44:49 +05:30
PaxilmaniacandGitHub 5673fefeb3 Makes flashlights not need cells to operate anymore, by consequences removes that one feature where you can change flashlight light power that nobody uses ever. (#23741)
* why was that sound change there btw?

* deletes unused flashlight sfx
2023-09-22 00:14:04 -07:00
e45f17efae [MIRROR] John Splintercell: a gun that is only good for shooting out lights [MDB IGNORE] (#23650)
* John Splintercell: a gun that is only good for shooting out lights

* Removes this flashlight nonsense, we don't need copy pasted procs for something this simple

---------

Co-authored-by: Hatterhat <31829017+Hatterhat@users.noreply.github.com>
Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-09-12 16:57:44 -04:00
25fb2e098b [MIRROR] Adds error on qdeling callback, fixes errors this causes [MDB IGNORE] (#23271)
* Adds error on qdeling callback, fixes errors this causes (#77850)

## About The Pull Request

You shouldn't ever qdel a callback. If you don't want to own it free
your ref (remove it from a list/set it to null). When all refs are
cleared it'll get cleaned up by byond itself

* Adds error on qdeling callback, fixes errors this causes

* Update cell_component.dm

* Update acid.dm

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
2023-08-23 04:43:34 -04:00
BloopandGitHub 824f2287db [MODULAR] Fixes flashlights getting a cell overlay added to them when they do not have a cell overlay (#22821)
Fixes flashlights getting a cell overlay added to them when there are no cell overlays
2023-08-01 09:14:06 -07:00
6dfe17306c [MIRROR] Pulls apart the vestiges of components still hanging onto signals [MDB IGNORE] (#21738)
* Pulls apart the vestiges of components still hanging onto signals

* update modular

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2023-06-18 13:18:23 +00:00
2f27f9dec1 [MIRROR] Let there be (held) light! Adds directional flashlight sprites, and many new inhand icons for various light objects [MDB IGNORE] (#20624)
* Let there be (held) light! Adds directional flashlight sprites, and many new inhand icons for various light objects

* fixes

---------

Co-authored-by: Bloop <vinylspiders@gmail.com>
Co-authored-by: ghost sheep <sheepwiththemask@gmail.com>
2023-04-17 23:51:57 -07:00
9a594755f3 [MIRROR] Renames delta time to be a more obvious name [MDB IGNORE] (#20507)
* Renames delta time to be a more obvious name

* updates to our code

---------

Co-authored-by: oranges <email@oranges.net.nz>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2023-04-12 20:45:43 +01:00
18dc1abc43 [MIRROR] Refactor lighting items that use fuel [MDB IGNORE] (#18545)
* Refactor lighting items that use fuel (#72146)

Fixes #71826

This does the following:
- Makes candles a subtype of flare
- Fixes candles having lighting inconsistencies
- Fixes burning items (welder, candles, flares, etc.) not causing
ignition effects when held in hand
- Adds burnt flares and melted candles to maint loot and trash spawners
- Add match lighting sound when candles are lit
- Add time defines for fuel amounts and rounded them (ex. instead of
32.3333 minutes, it's now 35 minutes)
- Light sources that burn will now spawn a trash item once fuel is spent
- Light sources that burn now have a welder hitsound
- Light sources that burn can now be extinguished by a fire extinguisher
(except flares)
- Light sources that burn can now be used to ignite another object on
fire (ex. a lit candle can be used to light a cigarette)
- Light sources that burn and are lit now do `BURN` damage while
attacking

Code is more cleaner and consistent.  Also fixes some bugs.

🆑
soundadd: Candles will now use the match lighting sound when lit
soundadd: Light sources that burn will now have a welding hitsound
fix: Fix candle light behaving erratically
fix: Fix burning items that are held in hand will now have an ignition
effect on the turf. (ex. lit welders in hand will now ignite plasma in
the air)
balance: Light sources that burn and are lit now do `BURN` damage while
attacking
balance: Light sources fuel amounts were rounded to exact numbers (ex.
instead of 32.3333 minutes, it's now 35 minutes)
qol: Light items that burn can now be extinguished by a fire
extinguisher (except flares), used to ignite another object on fire, and
will now leave a trash item once fuel is used
qol: Add burnt flares and melted candles to trash spawners
refactor: Refactor lighting items that use fuel to be more robust
/🆑

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>

* Modular!

* Toggle Light

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
2023-01-17 14:37:02 +13:00
15faaa54f5 [MIRROR] Rewrites how action buttons icons are generated, makes them layer nicer. Allows observers to see a mob's action buttons. [MDB IGNORE] (#17907)
* Rewrites how action buttons icons are generated, makes them layer nicer. Allows observers to see a mob's action buttons.

* conflicts

* Modular!

* update modular

* icon icon icon icon icon

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2022-12-16 16:01:41 +00:00
f7c26bbf25 515 Compat (#17465)
* ONLY SKYRAT CHANGES

* ACTUALLY SKYRAT CHANGES

* yolo, revert later

* Update alternate_byond_versions.txt

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
2022-11-15 06:59:06 +00:00
f7ed823c3c [MIRROR] Add hotkeys, screentips, and sounds for flashlights [MDB IGNORE] (#16864)
* Add hotkeys, screentips, and sounds for flashlights

* merge conflicts and copying over to "modular" code

* begin

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: tastyfish <crazychris32@gmail.com>
2022-10-16 17:21:06 -04:00
ae708cd7b5 [MIRROR] Removes ComponentInitialize() [MDB IGNORE] (#15552)
* Removes ComponentInitialize()

* Fixes a leftover merge conflict marker

* Fixes the oversight that came from the upstream merge skew

* Fixes all of the instances where we used ComponentInitialize() when we shouldn't've been

* Fixes CI being broken because of the HEV suits

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com>
2022-08-12 19:05:09 -04:00
TomandGitHub 6d3a8fbec7 goodbye box comments (#13826) 2022-05-23 17:00:34 +01:00
GoldenAlpharexandGitHub b1427f28c6 Refactoring the flashlight code to make it actually work as intended (#9685)
* Code improvements and fixes to the flashlight code

* More fixes, makes modes actually do something

* Now it's actually functioning, and even better than before!
2021-11-24 23:17:20 +00:00
TomandGitHub 21f894e9b8 Spans to procs (#9495) 2021-11-16 23:29:43 +00:00
ThesingleworstcoderandGitHub 8d0e40c438 Lower power draw of flashlights (#9001)
It makes absolutely no sense why a power cell capable of sustaining a fucking BSA can't hack the output of a flashlight, so I've dropped the power draw of flashlights down a notch
2021-10-23 16:03:50 -04:00
Seris02andGitHub 471ae4d55e lots of fixes (#8820) 2021-10-14 15:18:21 +01:00
c23bd1cb8c [MIRROR] every case of initialize that should have mapload, does (#8374)
* every case of initialize that should have mapload, does

* E

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 23:07:53 +01:00
jjpark-kbandGitHub 6dfd617177 fixes some of the issues of the createanddestroy unit test (#7648)
* send help

* polychromic createanddestroy fix
2021-08-20 23:23:23 -04:00
GandalfandGitHub e845d444d0 Kills a few hardels we created. (#7614)
* a

* Update liquid_effect.dm

* Update create_and_destroy.dm

* Update create_and_destroy.dm

* Update kink_collars.dm

* Update pillow.dm

* Update zombie.dm
2021-08-18 00:21:00 +01:00
a370161b52 [MIRROR] Improves item's action button updating code (#6969)
* Improves item's action button updating code (#60149)

This PR improves item action button updating code by introducing a proc to update all item's associated action buttons, which simplifies the process and reduces code duplication.

I also fixed a relevant bug where a PDA's action button icon did not properly update upon light toggle because it did not force the button update. Forcing the button update is needed in this case due to how light overlay operates, where the button icon state stays the same, so the code thought updating the action button icon was unnecessary.

* Improves item's action button updating code

* Mirror!

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Funce <funce.973@gmail.com>
2021-07-19 20:08:13 +12:00
TomandGitHub 9599e8d313 Adds SIGNAL_HANDLER to a bunch of procs (#6186)
* signal handler

* Remove a few that threw a shitton of errors

I'll get someone else to look at that

* we do a little async
2021-06-09 13:10:47 +12:00
GoldenAlpharexandGitHub 999ccd6645 Ghosts can no longer extract cells from items. (#5888) 2021-05-24 00:55:17 +01:00
GandalfandGitHub 1e310aba53 HEV Mark IV (#5765)
* Oh shit

* a

* Update hev_suit.dm

* Update hev_suit.dm

* AAAAAA

* Update hev_suit.dm

* Update hev_suit.dm

* Update hev_suit.dm

* hnnghhghghghg

* a

* 0

* aaa

* Update mothership_astrum.dm

* a

* Update hev_suit.dm

* Update hev_suit.dm

* a

* a

* a

* Create readme.md

* Update hev_suit.dm

* a
2021-05-18 19:42:58 +01:00
TomandGitHub 5dd61ce100 a single space (#5499) 2021-05-06 17:26:54 +01:00
TomandGitHub 3ec025968c Adds descriptions to things you can take the cell out of (#5323)
* descripshuns

* Revert "descripshuns"

This reverts commit b32e87dd9ed5ab031fbd98512fc90c92ae0d2a35.

* update

* code readability
2021-04-29 23:42:52 +01:00
GandalfandGitHub 7ea2371232 Update cell_component.dm (#5138) 2021-04-23 22:55:23 +01:00
GandalfandGitHub 6b8a912840 Item use power and cell component refactor (#4900)
* aaaaaaa

* Update cell_component.dm

* Update cell_component.dm

* Update cell_component.dm

* aaaaa

* aaaaaaaaaaaaaaaaaaaaa

* Update flashlight.dm

* Update flashlight.dm

* aaaaaaaaaaaaaaaaaaaaaaaaaaaa

* AAAAAAAAAA

* Update _wires.dm

* aaaa

* AAAAAAAAAAAAAAAAA

* aaa

* Update cell_component.dm

* aaaa

* AAAAAAAAAAAAAAA

* AAAAAAAAAA

* AAAAAAAA

* Update youtool.dm

* aaaaaaaa

* aaaa

* aaaa

* asaa

* HOLY FUCK YOU GUYS ARE ALL SO LAZY JESUS FUCKING CHRIST

* aaaaa

* Update cell_component.dm

* Update cell_component.dm

* Update cell_component.dm

* Update cell_component.dm

* Update cell_component.dm

* Update traitordevices.dm

* aaa

* Update traitordevices.dm

* Update traitordevices.dm

* aaa

* Update cell_component.dm

* POWER CELLS VERSION 2

* OH YEAH BABY

* A

* Update cell_component.dm

* Update flashlight.dm

* AAAAAA

* Update flashlight.dm

* Update atoms.dm

* aa

* AAAAAAAAAAAAA

* aa

* Update multi_cell_charger.dm

* Update flashlight.dm

* Update flashlight.dm

* Update multi_cell_charger.dm

* aaa

* Update _wires.dm

* Update electric_welder.dm

* aaaaa

* Update tools.dmi
2021-04-18 15:09:13 +02:00