Commit Graph

9587 Commits

Author SHA1 Message Date
SkyratBot
7d07660836 [MIRROR] Major egg rework. Pavlova edition (#6825)
* Major egg rework. Pavlova edition (#59933)

* I'm getting closer

* ree

* Update food_mixtures.dm

* FOrgot this

* almost there

* yeeeeeeeeees

* oops

* Update food_mixtures.dm

* Update cake.dm

* Update cake.dm

* Ath fixes

* Why did I type 8

* yolk nutriment + whipped cream nutriment

* Oranges found where I live, there is a gun against my head.

* Update code/modules/reagents/chemistry/machinery/reagentgrinder.dm

Co-authored-by: necromanceranne <40847847+necromanceranne@ users.noreply.github.com>

* Update code/game/objects/items/food/cake.dm

Co-authored-by: necromanceranne <40847847+necromanceranne@ users.noreply.github.com>

* I'll just warn you now. I don't know how to use a computer

* Local Australian has a very small brain.

Co-authored-by: necromanceranne <40847847+necromanceranne@ users.noreply.github.com>

* Major egg rework. Pavlova edition

Co-authored-by: carshalash <carshalash@gmail.com>
Co-authored-by: necromanceranne <40847847+necromanceranne@ users.noreply.github.com>
2021-07-10 14:13:15 +01:00
SkyratBot
43e4bd613d [MIRROR] Left-Click Combat Mode Harmbaton (#6823)
* Left-Click Combat Mode Harmbaton (#60085)

* Left-Click Combat Mode Harmbaton

Co-authored-by: 小月猫 <alina.r.starkova@gmail.com>
2021-07-10 14:12:55 +01:00
SkyratBot
8fa2c84140 [MIRROR] Fix some station name html encoding for plaintext handlers (#6822)
* Fix some station name html encoding for plaintext handlers (#60021)

* fix (double) encoding

* tfw no server friends and no send2sameserver

* Fix some station name html encoding for plaintext handlers

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-07-10 14:12:46 +01:00
BluBerry016
ea904304ba Update sheet_types.dm (#6815) 2021-07-09 18:47:24 +12:00
BluBerry016
92a7aca465 [Semi-Modular] Yet Another NSS Journey Update (#6775)
* Yet Another NSS Journey Update

* LIGHT THAT MOTHER UP

* botany update
2021-07-09 01:30:52 +01:00
Y0SH1M4S73R
93d03dc6bb [Alternative to #6407] Makes mutant bodyparts and mutcolors into editable genetic traits (#6750)
* Makes mutant bodyparts and mutcolors into editable genetic traits (plus a whole shitload of otherwise out of scope code improvements because I just HAD to touch old code)

* Mirror

* genetically-editable mutant bodyparts and colors - skyrat edition

Co-authored-by: Funce <funce.973@gmail.com>
2021-07-08 16:04:19 +01:00
SkyratBot
562908a78e [MIRROR] Human Skin Hats (#6794)
* I made a hat that screams! (#60032)

* Human Skin Hats

Co-authored-by: YakumoChen <king_yoshi42@yahoo.com>
2021-07-08 10:45:58 +02:00
SkyratBot
7ac0298945 [MIRROR] Makes bat hits no longer stunlock (#6642)
* Makes bat hits no longer stunlock

* Update weaponry.dm

Co-authored-by: Sparkezel <53384660+Sparkezel@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:37:52 +02:00
SkyratBot
af778bae0a [MIRROR] Fixes a good few improper overlay icon_states, fuck gun code edition (#6774)
* Fixes a good few improper overlay icon_states, fuck gun code edition

* Update rifle.dm

* Update laser.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:11:58 +02:00
SkyratBot
c7cab95593 [MIRROR] Rust Component / Wirebrush Rust Remover (#6778)
* Rust Component / Wirebrush Rust Remover (#59977)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Rust Component / Wirebrush Rust Remover

* Revert "[modular] wirebrush (#6521)"

This reverts commit 4f87b970f4.

* Makes the advanced wirebrush not critfail anymore.

Co-authored-by: Matthew J <12817816+ZephyrTFA@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2021-07-08 03:06:22 +02:00
SkyratBot
2962992e71 [MIRROR] CARP Team Six: Nanotrasen's Finest* (#6769)
* CARP Team Six: Nanotrasen's Finest* (#60012)

* CARP Team Six: Nanotrasen's Finest*

Co-authored-by: Paxilmaniac <82386923+Paxilmaniac@users.noreply.github.com>
2021-07-07 23:52:09 +02:00
SkyratBot
f6f7a738d7 [MIRROR] C4 suicide phrases, but it's on the datum now (#6765)
* Rework C4 suicide phrases to be on the antagonist datum; add more phrases (#60029)

Fun fact. Did you know the C4 has special suicideverb phrases for most antagonists? That is, most antagonists. This adds a bunch in because someone noticed Heretic didn't have one special, and I noted quite a few minor antagonists didn't either.

The suicide cry phrases are now on the antag datum instead of in the if/else chain.

* C4 suicide phrases, but it's on the datum now

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-07-06 23:06:31 +01:00
SkyratBot
dbeeaf310f [MIRROR] Adds a new ruin to Icebox, the post office. (#6758)
* Adds a new ruin to Icebox, the post office. (#59907)

* Adds a new ruin to Icebox, the post office.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2021-07-06 21:41:02 +01:00
SkyratBot
f4bcf9f9a5 [MIRROR] Control click Portaseeder (#6751)
* Control click Portaseeder (#59975)

* Control click Portaseeder

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-07-06 17:29:54 +01:00
SkyratBot
f28fd5a4b6 [MIRROR] switchblade can now be used to butcher and slice necks, icon updates when you toggle it on (#6738)
* switchblade can now be used to butcher and slice necks, icon updates when you toggle it on (#59990)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* switchblade can now be used to butcher and slice necks, icon updates when you toggle it on

Co-authored-by: Fikou <piotrbryla@onet.pl>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-07-05 15:55:20 +01:00
SkyratBot
fb5576ee8f [MIRROR] Add new Wallets! station trait (#6704)
* Add new Wallets! station trait

* Update wallets.dm

Co-authored-by: coiax <yellowbounder@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-04 23:59:42 +01:00
SkyratBot
7b24092dbd [MIRROR] Allows the detective's and nuke op's holsters to be placed in the suit storage slot of armor vests (#6705)
* Allows the detective's and nuke op's holsters to be placed in the suit storage slot of armor vests (#59976)

* single line change that will break everything

* now they work even better

* Trailing comma

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Allows the detective's and nuke op's holsters to be placed in the suit storage slot of armor vests

Co-authored-by: Paxilmaniac <82386923+Paxilmaniac@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-07-04 23:55:04 +01:00
SkyratBot
bc5ae88629 [MIRROR] Environment Protection Bags + Minor Weather Changes (#6701)
* Environment Protection Bags + Minor Weather Changes (#59752)

Co-authored-by: Matthew J. <12817816+ZephyrTFA@ users.noreply.github.com>

* Environment Protection Bags + Minor Weather Changes

Co-authored-by: Greniza <61635418+Greniza@users.noreply.github.com>
Co-authored-by: Matthew J. <12817816+ZephyrTFA@ users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-04 22:20:40 +01:00
SkyratBot
14d545dd9c [MIRROR] Fixes a runtime and refactors suit jetpacks a bit (#6702)
* Fixes a runtime and refactors suit jetpacks a bit (#59922)

* Fixes a runtime and refactors suit jetpacks a bit

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-04 16:33:05 +01:00
Superlagg
d8808447b4 [Semi-Modular] Per-character PDA settings (#6612)
* did the code, fails for some reason dunno why

* Moved PDA settings to character save
works!
2021-07-03 22:30:02 +01:00
SkyratBot
27865593b9 [MIRROR] New contraband peanuts (#6666)
* New contraband peanuts (#59638)

Adds a new variety of peanuts to Getmore
Tweaks peanuts to have a higher price, since they're currently the best thing to buy in the vendor.

* New contraband peanuts

Co-authored-by: YakumoChen <king_yoshi42@yahoo.com>
2021-07-03 22:27:11 +01:00
SkyratBot
de665b204b [MIRROR] Large cardboard box icon fix (#6691)
* Large cardboard box icon fix (#59938)

* cardboard box fix

* Large cardboard box icon fix

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
2021-07-03 22:25:55 +01:00
SkyratBot
a4172880c1 [MIRROR] Allows Bananas to be holstered (#6684)
* Allows Bananas to be holstered (#59917)

Clowntectives can now comically whip out their trusty potassium pistol to brutally feed mimes to death. Or sneak into the detective's office and replace their actual gun with a banana.

Get it, because I call you guys the banana bros all the time?

* Allows Bananas to be holstered

Co-authored-by: death and coding <58394696+thestubborn@users.noreply.github.com>
2021-07-03 22:24:48 +01:00
SkyratBot
cda689393e [MIRROR] PDAs now include round time (#6672)
* PDAs now include round time (#59957)

Part of my document on duplicating verb panel functionality so at some point in the far, far future we may be rid of it. you can read more here.

hackmd.io/tJ5H3opRQiG1GCN1sP142w

The other thing the status panel needs to do is send time dilation to the tgui chat. Having messed around with tgui chat, I am very confident i'm going to need stylemistake or mothblocks help me out with that one, it's so beyond my level it isn't even funny.

I know this is a VERY long description for a very small change but expect more of this in the future

* PDAs now include round time

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-07-03 22:23:07 +01:00
SkyratBot
d00afdebb9 [MIRROR] Catwalk Flooring (#6647)
* Catwalk Flooring (#59773)

* Catwalk Flooring

* a

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-07-02 16:43:51 +01:00
SkyratBot
56d4291ef6 [MIRROR] Reverts Entered() passing dir instead of old loc (#6646)
* Reverts Entered() passing dir instead of old loc (#59910)

* Reverts Entered() passing dir instead of old loc

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-07-02 16:42:34 +01:00
SkyratBot
f6508c24f1 [MIRROR] Fixes Pocket Protector/Flashlight Pen Oversight (#6645)
* Fixes Pocket Protector/Flashlight Pen Oversight (#59918)

* Fixes Pocket Protector/Flashlight Pen Oversight

Co-authored-by: Cheshify <73589390+Cheshify@users.noreply.github.com>
2021-07-02 00:42:04 +01:00
SkyratBot
671873f250 [MIRROR] Uplink implants now inherit the uplink flags of the uplink they were bought from (#6639)
* Change uplink implants to inherit the uplink flags of the uplink they were bought from (#59735)

Uplinks implants bought from uplinks inherit the uplink flags of the uplink they were bought from.

This fixes an undocumented bug where by purchasing an uplink implant, nuke ops would be able to get things they normally can't.

Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: Jordan Brown <Cyberboss@ users.noreply.github.com>

* Uplink implants now inherit the uplink flags of the uplink they were bought from

Co-authored-by: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com>
Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: Jordan Brown <Cyberboss@ users.noreply.github.com>
2021-07-01 22:59:21 +01:00
Matthew J
47c10f1781 Revert "[semi-modular] reagent forging (#6614)" (#6636)
This reverts commit ffa39629ed.
2021-07-01 13:33:53 +02:00
SkyratBot
cab78dcf78 [MIRROR] Changes how weather sends sound to players, reduces sound loop overtime (#6627)
* Changes how weather sends sound to players, reduces sound loop overtime (#59284)

* Converts looping sounds from a list of play locations to just the one

* Updates all uses of looping sounds to match the new arg

* Adds an area based sound manager that hooks into looping sounds to drive the actual audio. I'll be using this to redo how weather effects handle sound

* Some structrual stuff to make everything else smoother
Timers now properly return the time left for client based timers
Weather sends global signals when it starts/stops
Looping sounds now use their timerid var for all their sound related timers, not just the main loop

* This is the painful part
Adds an area sound manager component, it handles the logic of moving into new areas potentially creating new
sound loops. We do some extra work to prevent stacking sound loops.
Adds an ash storm listener element that adds a tailored area sound manager to clients on the lavaland z level.
It's removed on logout.
Adds the ash_storm_sounds assoc list, a reference to this is passed into area sound managers, and it's modified
in a manner that doesn't break the reference in ash_storm (This is what I hate)

* Hooks ash storm listener into cliented mobs and possessed objects

* Documents the odd ref stuff, adds an ignore start var to looping sounds, fixes some errors and lint issues

* Applies kyler's review

banging

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

* Cleans up some var names, reduces the amount of looping we do in some areas

* Makes the code compile, redoes the movement listener to be more general

* fuck

* We don't need to detach on del if we're just removing signals on detach

* Should? work

* if(direct) memes

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

* Changes how weather sends sound to players, reduces sound loop overtime

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Kylerace <kylerlumpkin1@ gmail.com>
2021-07-01 02:18:04 +01:00
Gandalf
84fcf3b429 Byond minimum version is now 514.1557 (#6626)
* 514.1557

* a
2021-07-01 00:06:33 +01:00
SkyratBot
2739dccd19 [MIRROR] Enhances AI law and borg logging (#6618)
* Enhances AI law and borg logging (#59684)

Persistent logging for sometimes disputed actions

The "impacted cyborgs" is useful for reconstructing which borgs were synced to an AI at what time, which sometimes may not be clear from logs

* Enhances AI law and borg logging

Co-authored-by: bloons3 <bloons3@users.noreply.github.com>
2021-06-30 23:36:22 +01:00
jjpark-kb
ffa39629ed [semi-modular] reagent forging (#6614)
* start of reagent forging

* reagent forging

* add the three items to ashwalker den
2021-06-30 23:36:12 +01:00
SkyratBot
607dadd2c9 [MIRROR] Null rod radial menu update (#6619)
* Null rod radial menu update (#59888)

Co-authored-by: Fikou <piotrbryla@ onet.pl>
Co-authored-by: Emmanuel S. <emmanuelssr@ gmail.com>

* Null rod radial menu update

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Fikou <piotrbryla@ onet.pl>
Co-authored-by: Emmanuel S. <emmanuelssr@ gmail.com>
2021-06-30 23:35:11 +01:00
SkyratBot
447216bd91 [MIRROR] Cannabis has more believable effects (#6560)
* Cannabis has more believable effects

* Update cannabis.dm

Co-authored-by: cacogen <25089914+cacogen@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-30 20:20:30 +01:00
SkyratBot
456076b4e2 [MIRROR] Fixes relic war hammer typepath (#6600)
* Fixes relic war hammer typepath (#59880)

This PR fixes a typepath mismatch - /obj/item/nullrod/hammmer and /obj/item/nullrod/hammer, which are supposed to be one item. This mismatch caused relic war hammer not to be able to do kneejerk action, and it also meant that one duplicate nullrod item was showing in the radial menu for the null rod reskin variant selection.

* Fixes relic war hammer typepath

* Update belts.dm

Co-authored-by: Arkatos1 <43862960+Arkatos1@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-30 20:02:26 +01:00
SkyratBot
95ba2bbaab [MIRROR] Make transit tube dispenser stations buildable (#6606)
* Make transit tube dispenser stations buildable (#59852)

Dispenser stations had some sprite issues due to using wrong icon states and having wrong orientation for flipped versions.

This PR fixes the issues and adds them to the RPD.
I can remove them from RPD construction if you don't want them to be constructible - this was the main motivation for implementing the changes in a downstream.

* Make transit tube dispenser stations buildable

Co-authored-by: KubeRoot <kubinator4321@gmail.com>
2021-06-30 19:59:55 +01:00
SkyratBot
6c7b083333 [MIRROR] Fix hand teleporter and other portals looping forever (#6598)
* Fix hand teleporter and other portals looping forever (#59894)

Makes portals use Bumped() instead of COMSIG_ATOM_ENTERED for detecting atoms crossing the event horizon.

Removes unused and potential loop causing forceMove argument from do_teleport()

* Fix hand teleporter and other portals looping forever

Co-authored-by: Wayland-Smithy <64715958+Wayland-Smithy@users.noreply.github.com>
2021-06-30 01:58:39 +01:00
BluBerry016
fec7aea76d [Semi-Modular] DS-2: Because It's Not A Feature, It's a "Map Change". (#6487)
* Port changes from the WIP part of the feature megabundle first

* adjust that cost

* start

* Update interdynefob.dmm

* SYNDICATE STAY WINNING

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update lavaland_ruin_code.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* WOOO

* Update interdynefob.dmm

* Update interdynefob.dmm

* a

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update shuttles.dm

* Update interdyne_cargo.dmm

* Update interdynefob.dmm

* Shuttle is fucking broke

* Stupid ass shuttle broke

* Update interdynefob.dmm

* Update interdynefob.dmm

* new decal

* Update interdynefob.dmm

* Update space.dm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* new.. closet..

* Update interdynefob.dmm

* handicapped

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update space.dm

* secatures

* Update interdynefob.dmm

* Update space.dm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Nukes DS-1

* Nukes DS1 part 2

* Update interdynefob.dmm

* more ds2 changes

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update interdynefob.dmm

* DS2 (REAL?) (NOT FAKE)

* Update ghost_role_spawners.dm

* Update interdynefob.dmm

* Update ghost_role_spawners.dm

* Update space.dm

* Update interdynefob.dmm

* Update wildwest_skyrat.dmm

* FIX ATMOS

* aaa

* Update interdynefob.dmm

* Update interdynefob.dmm

* Update CentCom_skyrat_z2.dmm
2021-06-29 22:08:10 +01:00
SkyratBot
a110c0a342 [MIRROR] Cooked steaks are once again edible. (#6577)
* Cooked steaks are once again edible.

* FF

* Update sheetifier.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-29 16:56:25 +01:00
SkyratBot
ce7052fda8 [MIRROR] Slightly buffs knife wounds, slightly nerfs scalpel wounds (#6572)
* Slightly buffs knife wounds, slightly nerfs scalpel wounds (#59848)

Recently it came to my attention that knives are actually really bad at causing slashing wounds, while the scalpel is probably a little too good at causing them, even through armor. So, here's what this PR does:

Knives in general are more effective at causing slash wounds, especially if the target has no armor/clothing on that limb. The butcher's cleaver in particular is now equally as effective as a circular saw.
Scalpels are a bit less effective at causing slash wounds against armor/clothing, though they're still extremely good at cutting, especially against exposed flesh.

With these stats, knives will be more effective against unarmored targets, and can actually be counted on to draw blood when needed.

* Slightly buffs knife wounds, slightly nerfs scalpel wounds

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-06-29 16:45:35 +01:00
SkyratBot
397f4a69a7 [MIRROR] makes card decks to use the drag_pickup element (#6582)
* puts the drag_pickup component on card decks (#59857)

* makes card decks to use the drag_pickup element

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-06-29 16:44:54 +01:00
OrionTheFox
31952d96ee [READY]Adds two new space ruins, tiny bit of framework for other future mapping (#6507)
* Adds Spaceship turfs (First iteration)

* Moves VG decals icons into turf/decals

* GPS Computer

Literally the survival pod one re-textured to work with any wall. Good for ruins

* Fluff/machinery

just read the fluff file ffs

* Hardspace Maps

yes they're based on HS:SB. They turned out well ok

* these arent even complete but im commiting

* hbg

* New sound for AI node, wall fixes

* pre-loaded tape go brrrr

poggers

* tweaks ai node values + ghostship loot

hh

* remove two unused files, move salvagepost ID

* craftable spaceship walls (hopefully) and le cool pre-recorded tape

* properly makes spaceshipshiz craftable/placeable

* adds totally-cool sprites for the spaceship stacks :)

they arent codersprites i worked hard on them :)

* salvagepost loot and anchoring

* adds juicy ai node sprite

thamk u hay, sorry i couldnt use the big icon im not good coder :(

* replace on-turf lattices with the decal version

* oops adds the gps computer to the generic spaceruin signal
2021-06-28 14:35:16 +01:00
SkyratBot
6ea78f1eb9 [MIRROR] Cigarettes heat their contents + early returns (#6509)
* Cigarettes heat their contents + early returns

* Update cigs_lighters.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-28 14:21:03 +01:00
SkyratBot
9c861af7b7 [MIRROR] Greyscale Mat Datum Stationary Smooth Tanks (#6544)
* Greyscale Mat Datum Stationary Smooth Tanks

* Update icon_smoothing.dm

Co-authored-by: Emmett Gaines <ninjanomnom@protonmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-27 16:37:32 +01:00
SkyratBot
eb09b20e47 [MIRROR] Adds a kneecapping element and adds that very element to baseball bats. (#6541)
* Adds a kneecapping element and adds that very element to baseball bats.

* Update signals.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-27 16:34:19 +01:00
SkyratBot
79c3c379b9 [MIRROR] Fix missing SIGNAL_HANDLER (#6552)
* Fix missing SIGNAL_HANDLER (#59826)

Adds SIGNAL_HANDLER to everywhere that didn't have it that was picked up by dm-lua, which is now ready enough to catch these.

* Fix missing SIGNAL_HANDLER

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
2021-06-27 16:16:04 +01:00
SkyratBot
665fe76566 [MIRROR] Modifies right click logic so that it is not the same priority as modifier keys. (#6498)
* Modifies right click logic so that it is not the same priority as modifier keys. (#59656)

Strips out the existing right click code - Due to the myriad of ways right clicking has been implemented, dedicated signals and procs for right clicking without modifiers are fundamentally incompatible with our system of primary and secondary attacks.

Adds additional signals to attacking code. These signals allow atoms to cancel the attack chain early on secondary attacks, or override the standard procs and not send signals to prevent any undesired behaviour from signal handlers.

Items that used RightClick procs have been converted to attack_hand_secondary.

The slaughter demon, having its own set of snowflake code as poor OOP principles have been applied in UnarmedAttack() procs with lacking calls to parent procs and arbitrary redefinition of behaviour, checks for a right click in its own UnarmedAttack() and performs a bodyslam off that.

Storage components now hijack the secondary attackby stage via signals to handle their opening and closing shortcuts on right click. When you right click a storage component equipped item with an object in your active hand, the object has an opportunity to perform its logic in pre secondary attack code and cancel the attack chain. If it does not cancel the attack chain in pre-attack, then the storage component takes over for attackby and, if possible, opens the relevant inventory and ends the attack chain.

The forensic scanner is a proof-of-concept of this working in action. With its scan logic moved from afterattack code to pre attack code for right clicking, right clicking with the scanner will now perform a scan where previously one was impossible. Left clicking still does what it always does - Scans at the very end of the attack chain.

The logic still isn't perfect - For example, you still can't attack containers in melee even in combat mode (you'll either open them or put your weapon into them regardless of which option you choose) - But this is a better setup overall which allows for items to at least override this behaviour in pre-attack if needed.

* Modifies right click logic so that it is not the same priority as modifier keys.

* a

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-27 16:10:15 +01:00
Gandalf
221bc79f7c FUCK 2021-06-27 02:13:33 +01:00
SkyratBot
9992941e90 [MIRROR] Foodtype update (#6503)
* Foodtype update (#59783)

After eating a burrito and noticing the odd addition of the meat taste, I took a dive into the food folder and it hurt my poor fragile brain. I gave a lot of things updated tags or tastes. I think I got most of it.

* Foodtype update

Co-authored-by: carshalash <carshalash@gmail.com>
2021-06-25 13:13:01 +01:00