Commit Graph

92 Commits

Author SHA1 Message Date
Bop
1754c830f6 Sheet snatcher now can be held in utility belt, also fix mats inserting fuckery for sheet snatcher (#16278)
* e

* fock yeah

* Update stack.dm
2022-10-29 15:47:43 +01:00
ChesterTheCheesy
4aa6c0b45d either destroys the entire game, or increases performance... maybe both (#16178) 2022-10-29 15:02:44 +01:00
Jamie D
00a60f84e4 Adds more logging to BoH Bombs (#15606)
* Update bag_of_holding.dm

* Update code/datums/components/storage/concrete/bag_of_holding.dm

Co-authored-by: Redmoogle <dakotamew@gmail.com>

Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: Redmoogle <dakotamew@gmail.com>
2022-09-10 18:47:00 +00:00
nmajask
0fb400104a Ports hyposprays MK. II (#14814)
* cit hypos

* pain, suffering even

* maps too

* kilo as well

* delta fix

* syndicate hypospray + kit

* qmc sprite

* red crosses bad

* agh
2022-07-16 16:08:47 +01:00
tattax
c278cf30cf moves atom/target in do_after() forward (#14161)
* wowzers

* s2

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>

* s3

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>

Co-authored-by: Maxim Nikitin <mnmaxim@gmail.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
2022-05-30 21:25:59 +01:00
Chubbygummibear
b520ac6fff Reworks immortality amulet void effect into a status effect (#14131)
* explon't

* sorry dad
2022-05-13 20:38:12 -05:00
adamsong
425b6cd407 Disallows mice from emptying boxes on tables (#13702) 2022-04-15 23:51:06 +01:00
ynot01
800b69a2ec You can no longer escape the BoH bomb (#13346) 2022-02-27 19:11:23 -06:00
UselessTheremin
f14d388969 new sound effects for dropping, throwing, picking up, and equipping certain things! (#12901)
* god these puns are horrendous

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* Update code/modules/mob/living/simple_animal/friendly/cat.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* sniblet names

* more names!

* Update sound.dm

* Update _concrete.dm

* Update slotmachine.dm

* Update mecha_defense.dm

* Update items.dm

* Add files via upload

* Delete sound_items_handling_multitool_drop.ogg

* Update multitool.dm

* Update sheet_types.dm

* Update belt.dm

* Update boxes.dm

* Update toolbox.dm

* Update crowbar.dm

* Update screwdriver.dm

* Update weldingtool.dm

* Update wirecutters.dm

* Update wrench.dm

* Update inventory.dm

* Update nuclearbomb.dm

* Update _suits.dm

* Update _under.dm

* Update items.dm

* Update belt.dm

* Update drinkingglass.dm

* Update lib_items.dm

* Update inventory.dm

* Update inventory.dm

* Update inventory.dm

* Update inventory.dm

* Update carbon.dm

* Update inventory.dm

* Update living_defense.dm

* Update inventory.dm

* Update dextrous.dm

* Update slime.dm

* Update paper.dm

* Update tools.dm

* Add files via upload

* Delete sound_items_handling_multitool_drop.ogg

* Delete sound_items_handling_ammobox_drop.ogg

* Update outfit.dm

* Update color.dm

* Update items.dm

* Update inventory.dm

* Update mob.dm

* Update mob.dm

* Create e

* Delete e

* Create e

* Add files via upload

* Update code/game/objects/items.dm

Co-authored-by: Lucy <lucy@absolucy.moe>

* FINALLY READY

* Update inventory.dm

* Delete e

* Add files via upload

* Update _under.dm

* Update belt.dm

Co-authored-by: Lucy <lucy@absolucy.moe>
2021-12-26 12:05:11 +00:00
Redmoogle
1074be5011 Cleans up some do_after calls (#12417)
* Replaces do_after delays with defines instead of deciseconds

* Fixes Text
2021-10-09 01:18:35 -04:00
adamsong
3baeaeb0c4 Steals tg's span macros (#12232)
* Steals tg's span macros

* Fix alphabet

* Updated some more spans

* Misses a conflict

* Fix compile errors

* Converts more spans

* oops
2021-09-17 12:50:16 +01:00
TheGamerdk
46a75795c6 Update bag_of_holding.dm (#11818) 2021-07-20 18:53:46 -04:00
adamsong
0816f16f10 BoH bombing the bluespace locker no longer bombs the outside of the locker (#11682) 2021-07-02 06:07:56 -04:00
Jamie D
98508e8302 Runechat 1.1 - TG Edition (#10318)
* RUNECHAT UPDATES

* Fixes hologram speech hopefully.

* Update ai.dm
2020-11-04 18:28:54 +00:00
Jamie D
e9c958fb11 Revert "Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler"" (#10254)
* Revert "Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)" (#10252)"

This reverts commit c936816e14.

* FIXES NO BUTTON PRESS BS
2020-10-29 22:15:01 +00:00
Jamie D
c936816e14 Revert "TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)" (#10252)
This reverts commit 38f3174826.
2020-10-29 19:54:16 +00:00
Jamie D
38f3174826 TG performance tweaks - oh-god-please-kill-me-edition ASYNC / SLEEP BAD / Profiler (#10207)
* Im sleepy

* Reee

* oopsie Linter go brrrr

* Update code/datums/components/storage/concrete/bag_of_holding.dm

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>

* Update code/controllers/subsystem/air.dm

Co-authored-by: Nichlas Pihl <nichlas00100@gmail.com>
2020-10-29 19:28:57 +00:00
jcatjmeow
7b9ffcb1df Ports body cams from prebase! (#8819)
* Bodcam

* E

* Finishes it

* smh jamie

* Adds it to the spare mining lockers for latejoiners

* Update mine_items.dm

* Adds the cam to the conscription kit too

* Apply suggestions from code review

Co-authored-by: Jamie D <digweed.jamie@gmail.com>

* Update _neck.dm

* Update mine_items.dm

* nerfs! EMP and strip!

* more nerfs - weight class

* Update _neck.dm

* Update _neck.dm

* Update code/modules/clothing/neck/_neck.dm

Co-authored-by: Jamie D <digweed.jamie@gmail.com>

* _

* DONE

* Update _neck.dm

* _

* Update _neck.dm

* Update neck.dmi

* Apply suggestions from code review

Co-authored-by: Jamie D <digweed.jamie@gmail.com>

* Apply suggestions from code review

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* QDEL_NULL(bodcam)

* Update _neck.dm

* Update _neck.dm

* inputs: sanitized

* Im a good coder I swear

* Update bodycamera.dm

* Spacing fuck you jamie

* Update bodycamera.dm

* I really fucking hope this works

* removes a debug message

* Adds a message to let people know when an item has NO_STORAGE

* Darkstick suggestion

* Apply suggestions from code review

Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>

* Update bodycamera.dm

* update_static_data now passes user to push_data() (#51485)

update_static_data now passes user to push_data().

I'm pretty sure no UIs currently use user in ui_static_data for... Anything. So that's why no one noticed this before. Well, better to pass it than not.

* w

* Update doppler_array.dm

* Revert "Update doppler_array.dm"

This reverts commit 4aba56aab6.

* Revert "w"

This reverts commit 1a1783faaa.

* tgui

* Update yogstation.dme

* Update AirlockElectronics.js

* Update tgui.bundle.js

* fix

* Update camera.dm

* Camera Fixes

* Update skin.dmf

* Update camera.dm

* Update camera.dm

* Update camera.dm

* fef

* Reminder to self: uncomment this stuff when gamer's dumb pr is merged

* Gamer's dumb tgui pr now works with mine :P

* Update bodycamera.dm

* Sprites for worn item, and fire resist for the miner one

* Update bodycamera.dm

* name change

* Update bodycamera.dm

Co-authored-by: Jamie D <digweed.jamie@gmail.com>
Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
Co-authored-by: Jamie D <993128+JamieD1@users.noreply.github.com>
Co-authored-by: Trigg <36010999+TriggeredBoi@users.noreply.github.com>
Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-06-29 20:28:46 +01:00
Jamie D
dde1a5f6a1 Alot of control and alt click fixes, will need review (#8547)
* Portals now Ctrl Click on

* Portable Ctrl Clicks

* Lockboxes

* Mining Vendor

* Mining machine id

* Medical Machine id

* Suit Storage Ctrl Click Open

* Generators

* Grav Gen

* Plant Genes

* Outlet injectors

* Space heaters

* Tcomms Traffic Control

* Smes

* Cryo Cells

* Drying rack..

* Chemical Heater

* Quick Fixes

* Alt click is for tanks

* More fixes

* Alex likes User

* User REEEEEE

* Rad Collector

* Hopek Fixes

* Missed One - REEEEEEEEE

* Ai can now use things

* On Contruct (Anchored)

Would conflict otherwise

* Emitters and Collectors

* Fixes for Alexkar and Hopek

* Alexkar Good

* Brick

* I blame hopek

* I am Brick

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>

* No longer needed due to tgui

Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
2020-06-17 23:07:33 +01:00
Thomas
222a297e53 Fixes for the Experimental Tools (#8421)
* better tools revamped

* map fixes

* updates hopek's ert to use the new tools

* Update multiz.dmm

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

* appeases hopek

Co-authored-by: Hopekz <hopekxx@gmail.com>
2020-05-08 11:54:13 -05:00
alexkar598
2333d64f09 Adds support for 513(and unicode), additionally drops supports for 512 in the process and updates dreamchecker(turdis) and casually fixes about 90 bugs in the codebase (#8324)
* Cherry picks the unicode part 2 PR from TG

* Things

* drop 512 support

* TAN --> tan

* Manually does the things that was in renamed files

* CLAMP --> clamp

* ismovableatom -> ismovable

* bugfixes, tg is bad

* Ports sanitize_name

* Bumps checks

* Fixes new linter errors (#48126)

About The Pull Request

This fixes the errors raised by the new feature I'm adding to the linter: SpaceManiac/SpacemanDMM#119

* Update SpacemanDMM suite to 1.2 (#48785)

* Update SpacemanDMM suite to 1.2

* Fix new lint errors

* Removes unreachable code (#48143)

About The Pull Request

As detected by SpaceManiac/SpacemanDMM#123

* casually fixes 50 bugs

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* stoopid evil dreamchecker

* almost the same thing

* Makes all UIs UTF-8

* Fixes bugs

* Fixes runtimes, some related to 513, some not

* Fixes agent ids

Co-authored-by: MrPerson <spamtaffic@gmail.com>
Co-authored-by: alexkar598 <>
Co-authored-by: spookydonut <github@spooksoftware.com>
2020-05-02 00:43:42 -04:00
alexkar598
362a48810c :) 2020-03-29 11:51:06 -04:00
alexkar598
7182d51eb7 Update bag_of_holding.dm 2020-03-29 11:41:07 -04:00
alexkar598
905edf2664 Update bag_of_holding.dm 2020-03-29 11:40:32 -04:00
alexkar598
ac78c6281c fix pt1 2020-03-28 23:14:15 -04:00
alexkar598
c32e8615de whoopsy 2020-03-28 22:15:21 -04:00
alexkar598
21791948b4 Nerds BoH bombs alot, they are only 3 by 3 now and they don't let anything near it live 2020-03-28 22:12:49 -04:00
monster860
0a782359b2 Fix ores going in hand when mining satchel is full 2020-01-13 17:36:36 -05:00
alexkar598
fe934644ac Actually commits the line ending changes 2019-08-12 07:47:43 -04:00
yogstation13-bot
900165a957 fixes russian helmets not holding vodka 2019-06-22 07:16:22 +01:00
fluffe9911
7732cbd236 Merge pull request #5773 from yogstation13/upstream-merge-44311
[MIRROR] Examine tooltips now work on items put into storage
2019-06-11 13:50:00 -04:00
yogstation13-bot
87619734a9 [MIRROR] Fixes cross-z dumping with bluespace bags. (#5811) 2019-06-11 09:45:43 -05:00
fluffe9911
84381fae4d Merge pull request #5799 from Altoids1/ghost-bag-fix
Stops ghosts from manipulating storage items
2019-06-10 18:49:34 -04:00
Gary Lafortune
b47261c785 Stops ghosts from manipulating storage items 2019-06-10 16:27:23 -05:00
yogstation13-bot
7ffd2f004a Examine tooltips now work on items put into storage 2019-06-09 23:14:01 +01:00
Joe Schmoe
a4bd03cab5 Gets rid of the GetComponent macros 2019-06-08 22:21:00 +02:00
Joe Schmoe
2ce3bb43e4 Small storage refactor and examine change 2019-06-08 20:48:29 +02:00
fluffe9911
89bbaa6e57 Merge branch 'master' into upstream-merge-44139 2019-06-06 14:32:06 -04:00
Gary Lafortune
c64fdcd6d4 REGEX REPLACE! /([\w\.]+)\.has_trait\(/ -> /HAS_TRAIT(\1, / 2019-06-01 20:55:36 -05:00
yogstation13-bot
28e6693f71 Fedoras hold small and gimmick items 2019-05-28 14:56:05 +01:00
Tlaltecuhtli
0667220fd1 new cargo crates & tweaks (#43454)
* 1

* 2

* finall pre pr

* oof

* oof

* testing merge conflict fix

* test mk2

* test mk3

* plant & chem

* bvcgr

* fixed stuff

* grammar stuff

* fixes clothing + cobby bribe

* new sprites by wjohn

* Update code/modules/clothing/suits/armor.dm

Co-Authored-By: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>

* tweaks .38 stuff

* Update code/modules/cargo/packs.dm

Co-Authored-By: Tlaltecuhtli <33834933+Tlaltecuhtli@users.noreply.github.com>

* nuclear option
2019-04-05 21:23:09 +01:00
oranges
35a56b92fa Turns out a bunch of components do not properly transfer because of (#42691)
one of three things.

    1. They don't use RegisterWithParent or UnregisterFromParent to unregister
       and register signals

    2. They use callbacks which refer to a source object, which is usually deleted
       on transfer, or lost in some manner, or simply makes no sense at all to be
       transferred

    3. the component was never designed to be transferred at all

TransferComponents gave no shits about any of this and just blindly transferred
all components, if they were actually capable of it or not.

I only noticed this because it was causing chairs to break as they would not register signals
and verbs correctly for rotation after being picked up and then placed down, and a player
reported that issue via ahelp.

Luckily we caught it before the rot got anywhere, only chairs and the shuttle subystem
tend to use this proc (Shuttle uses it on turfs), can you imagine if everything was using
this LMAO

Which is good because it's more dangerous than a loaded gun

I have added a can_transfer var, that is true when a component is valid to
actually transfer, which means the dev has actually thought about what happens when
you take the parent object away and swap it for another and all the crazy that is entailed
by this

I have done my best to audit what components are actually
transferable, but things are basically a hot mess (Thanks @Cyberboss )

The following components required edits:
Forensics:
did not register/deregister the clean_act signal properly, did not checkblood on new parent

Rotation:
did not use RegisterWithParent or UnregisterFromParent, turned out
to not be transferable anyway due to having callbacks that can be
passed in to the parent with unknown sources that we can't feasibly
reuse (i.e if you're transferred from a chair to a bed, your old rotation
call backs are no longer valid). Turns out the use case it was for (just chairs)
didn't need it anyway, so I just made it non valid for transfer.

Wet Floor:
Honestly this one is just a hot mess, it should be a subtype of the slippery
component with the extra wet turf handling.

As it is it basically manages a slippery component on top of it's own extra
functionality, so that's a major code smell.

I added registration/unregistration of the signals, and made it's pretransfer
remove the slippery component and the posttransfer add it back (via update_flags)

Components that seem transferable without issues
mirage_border
orbiter
decal
spill
storage (I hope to earth)
2019-03-06 19:56:49 +01:00
Trilbyspaceclone
e93c55fe25 Fixes power tool drill fitting in boots/wallet (#42476)
* Update wallets.dm

* Update pockets.dm

* Apply suggestions from code review

For when people forget how sister code works

Co-Authored-By: Trilbyspaceclone <30435998+Trilbyspaceclone@users.noreply.github.com>
2019-01-24 16:39:30 +01:00
coiax
66df5546ee Refactors NODROP flag into TRAIT_NODROP (#42109)
* Refactors NODROP flag into TRAIT_NODROP

🆑 coiax
fix: Anti-drop implants can no longer be used to drop objects that they
were not responsible for sticking to a person's hand.
fix: Backfiring with a Barnyard spellbook will now play a spooky horse sound.
refactor: Refactors the way that "NODROP" items work to a new system,
there should be no change in functionality.
/🆑

Various items in the codebase were doing weird hoop jumps in order to
preserve the nodrop flag's state when it also wanted to change it, so I
moved it to a trait system.

I may have gone overboard with the type of unique trait sources, but
those can be changed later. My long term plan is make a general "CURSED"
nodrop origin, which means you can unlock cursed items by being hit with
a bolt of door opening or something. But that's for another PR, this has
no functionality changes, apart from some slightly modified descriptions
on cursed masks.

- Removed a bunch of redundant voice changing code for all the voice
changing animal masks, used two new clothing flags for this purpose.
- Also refactored a bit the animal masks, making new cursed subtypes that play
the sound when created.

* Drop location
2019-01-17 21:22:38 +01:00
nichlas0010
98f8713e73 Update bag_of_holding.dm 2019-01-04 02:09:06 +01:00
subject217
d13b7f501d Removes smugglers satchels (#42166)
* Removes smugglers satchels

I love the cutie reading this

* remove smuggler's satchel from code

* removes all smugglers' satchel persistence code

* removes remaining things

storage component for smugglers, the miracle ruin (uses smugglers), the dme
2019-01-02 21:26:35 +01:00
Ling
32c8d0ccbf Merge pull request #3952 from yogstation13/upstream-merge-42011
[MIRROR] Nuclear bombs in rifts spawn a singulo on the station and count as a syndie victory
2018-12-26 12:28:32 +01:00
Francesco
5d3f683e51 Nuclear bombs in rifts spawn a singulo on the station and count as a syndie victory (#42011)
* A nuclear bomb in a rift in spacetime will now count as a syndie major victory, and spawn a singulo back at the station

* Removes config debug stuff
2018-12-23 12:31:11 +01:00
skoglol
a1475a86ef Makes satchels stack by name instead of type (#41827)
* Makes satchels stack by name

* Type and name and hopefully fixed branch?
2018-12-23 12:31:02 +01:00
nichlas0010
f5fc8fa864 Merge pull request #3861 from yogstation13/upstream-merge-41763
[MIRROR] Christmas code changes
2018-12-16 21:40:23 +01:00