Commit Graph

14075 Commits

Author SHA1 Message Date
WarlockD
c7bc210d19 Setting door wand to src instead of user (#55863) 2021-01-01 12:32:50 -08:00
coiax
e35b84d44a Refactor on_mob_death, death implants, implant permission (#55862)
* Refactor on_mob_death and death implants

There is a proc on `/obj/item` called `on_mob_death` called on all
items in the contents of a mob on that mob's death. It is currently used
for explosive implant detonation, and the deactivation of the
Peaceborg's projectile dampener.

Instead of using this old proc, both of them now instad use the
COMSIG_LIVING_DEATH signal, already emitted when their owner dies.

The activation of an explosive implant will now occur after the rest of
the death code has run, since it activates with an async applied
function, since some other implants may still want the mob's body
intact, and you shouldn't use `sleep()` (which it does in the "slow
explosion mode") in signal handlers.

In addition, the "can_be_implanted" proc for /mob/living (and overriden
for silicons, slimes and simple animals) has been folded into the
`/obj/item/implant/proc/can_be_implanted_to` proc. Some future implants
may want to be more permissive than the current permissions, but that
isn't possible when checking both procs.
2021-01-01 12:30:20 -08:00
Ryll Ryll
91a8cf6cf7 You can now mount things from the side (#55741) 2021-01-01 12:29:57 -08:00
TemporalOroboros
31b940968e Fixes borg tiles (#55858)
- Fixes greyscale material floor tiles created from cyborg stacks
- Makes cyborg stacks contain materials
- Prevents a potential bug involving metalgen and stacks
2021-01-01 14:09:43 -05:00
coiax
68be48ed85 Tweaks how some tongues have no taste (#55811)
Skeletons, abductors and ethereals have no sense of taste. Previously
they would taste something "indescribable", but instead, they will not
taste anything or get any message. This also means they will no longer
get mood buffs from eating/drinking high quality food.

Carbons without tongues also can no longer taste anything.

- The utility item "taster" has had some additional messages added.

* Remove can_taste proc

Instead of a single proc that is only used, so carbons can override it
with the missing tongue, just have carbons unable to taste anything by
default, and then have the tongue "supress" that.

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-12-31 17:42:36 -08:00
Arkatos1
c9c7593f0d Scroll tweaks (#55609)
This PR makes a few changes regarding scrolls of teleportation.

Scrolls of teleportation no longer use outdated HTML based interface and will take you straight into a list of a possible destinations upon use. That interface had a very little point of existing in the first place, the only possibly useful information was number of remaining uses, which is solved by a point below.

Scrolls of teleportation now show a number of remaining uses upon examination and also give proper feedback messages upon teleportation.

Scrolls of teleportation now crumble to dust when out of uses. They are a consumable item and cannot be recharged, which made them utterly useless when out of uses, creating only clutter.
2020-12-31 17:05:15 -08:00
Seris02
ab6849c618 Fixes decals and makes the janitor relevant again (#55805)
* guys come on why

* there you go

* and again because autodoc is apparently a thing
2020-12-30 18:52:58 -08:00
81Denton
a466b003f6 Merge pull request #55619 from tralezab/pancakes-made-pancakier
Pancakes Griddle
2020-12-31 02:28:07 +01:00
81Denton
df2d29a76f Merge pull request #55798 from spessbro/please-assume-the-position
Integrates vibebots with the pda
2020-12-31 01:55:42 +01:00
WarlockD
56345975ba The Great Radio Rework: NTNET Part 1 of many. (#54462)
Machinery networking refactor.
2020-12-30 21:54:34 +01:00
AnturK
adcd4af1ff Meat statue fixes (#55790)
Fixes few statue bugs with textured materials.
Makes materials use managed filters. This can have side effects on things that already had unmanaged filters on.
2020-12-30 11:47:57 -05:00
Qustinnus
f66ca34626 Refactors monkeys into a species (#55614)
Changes monkeys from carbon subtype to species.
2020-12-30 16:30:15 +01:00
Azarak
14031d6daa Fixes mapping processes not clearing up all flora (#55785)
Such as spawning ruins or generating terrain. This also makes so cleaned rocks properly dont drop ash, but have to be mined
2020-12-29 20:44:08 -05:00
coiax
5b2febfac0 Add "Implant" to list of uplink locations (#51828)
* 👛 Add "Implant" to list of uplink locations

🆑 coiax
add: You may now pick Implant as a preferred uplink location, meaning
that if you become a traitor, you will start with an uplink implant. The
cost of the implant (4 TC) is deducted from your total starting TC,
because the Syndicate doesn't give freebies.
fix: Admins removing an uplink from a person with an uplink implant will
now destroy the implant, rather than leaving an implant that does
nothing.
/🆑

If you are the sort of person who gets their PDA, pen and radio stolen
really easily, then maybe you'd be interested in just spawning with an
implant. Be warned, all of the 17-20 TC items will be out of reach
because of the implant cost.

Could be considered slightly more powerful than just ordering the
implant at shift start, given you don't have to get rid of an implanter
and suspicious box anymore.

When testing with the admin grant uplink buttons, I discovered that the
"Take" uplink option was only half working when taking the uplink from a
person with only an implant uplink. It would take the component, but not
the implant, leaving the person with a do-nothing action button. This
has been fixed.

* Add missing DEFINES

* Remove one layer of spaces

Will this sate the linting gods?

* Replace 20 default with TELECRYSTALS_DEFAULT
2020-12-29 14:36:12 +01:00
Ghom
7bc81e5831 Refactors how movetypes are added and removed, No timers this time. (#55444) 2020-12-28 17:57:51 -08:00
fuck
15f9246739 forgot rd whoops 2020-12-28 19:35:27 -05:00
fuck
d975512e8a vibing with robotics 2020-12-28 19:32:07 -05:00
coiax
110ef4b32e Fix grammar of smashing sheets of glass (#55737)
The message was missing the indefinite article, meaning you would "leave
shard", rather than "leaving a shard".
2020-12-28 11:59:01 +13:00
81Denton
649f696897 Merge pull request #55752 from Fikou/patch-91
removes a /
2020-12-27 21:56:03 +01:00
Gamer025
87eda56558 Thrown vending machines crush mobs + move circuitboard define (#55723)
* Thrown vending machines crush you

Also moves circuitboard define

* Remove extra empty line

* Move code to fitting place
2020-12-26 19:53:52 -08:00
Fikou
2020341ef4 removes a / 2020-12-26 11:53:01 +01:00
Jared-Fogle
c2d56c5da5 Fix /obj/throw_at (#55637)
/obj/throw_at was not properly passing down the return value. Thus anything that checked for this later down the chain (/obj/item) would fail. The two places this was used were for bolas to make a sound when thrown and facehuggers to have a sprite when thrown.
2020-12-25 23:04:59 -08:00
LemonInTheDark
bad3155dd7 fixes atmos water tanks showing up as purple sometimes, they have their icon state changed sometimes, but never manually set the wear_icon_state, so it'd try and show a nonexistant sprite. (#55705) 2020-12-25 22:35:58 -08:00
Dex
ea55f4247d Fix falsewall (#55704) 2020-12-25 13:09:49 -08:00
Tlaltecuhtli
73b87a41fe wrenches the diy kit (#55701) 2020-12-25 13:08:14 -08:00
EdgeLordExe
ab3c0e0332 [Fuck Shotties] Makes shotguns specialist weaponry. (#55663)
Shotgun slugs can no longer be made in an autolathe.
    Buckshot rounds can no longer be made in an autolathe.
    Frag12 rounds deal less direct damage, since they fucking explode.
    Pulse shot rounds deal less damage.
    Increased the cooldown on riot shotguns.
    Removed buckshot rounds from all maps.
    Combat shotguns start with beanbags.

Why It's Good For The Game

Shotguns have been overpowered for too long. NT is lasers , syndicate is ballistics.
2020-12-26 09:37:47 +13:00
Ryll Ryll
161c734e11 [READY] Refactors riding (#54778) 2020-12-24 02:17:29 -08:00
Tlaltecuhtli
cd4bca5257 adds new wiz spell: duffelbag curse (#55286)
it gives target a no drop duffelbag which every around 100s will try check if there is food inside else it attacks you, you can poison the food to make it die faster.
more variety for wiz to annoy crew that isnt murder bone
2020-12-24 01:38:06 -08:00
Arkatos1
f483ed1157 WireArt: Fixed and improved (#55622)
Cyborg's pipe cleaner is now using a radial menu for choosing it's colors instead of a clumsy input one.

RCL now properly updates it's pipe cleaner holder's color, so you can actually see the color when using RCL radial menu.

RCL is now able to put cables down on floors seamlessly, as there is no reason to restrict it to just a plating and catwalks anymore due to the fact that pipe cleaner coils no longer function as a power carriers, but are merely visual entities for players to play with.

And lastly, pipe cleaners now use color defines and are setting its color directly instead of having redundant variable do it for them, which was needlessly complicating it.
2020-12-24 01:05:05 -08:00
spessbro
9977571adc fixed it (#55615)
headspikes don't give you a random head when you deconstruct them (except when maploaded)
also they look like they were supposed to with the head impaled
2020-12-24 01:02:37 -08:00
tralezab
9cb018b02f DONE 2020-12-23 16:57:45 -08:00
tralezab
6377d4ca15 another component change 2020-12-23 15:57:52 -08:00
TemporalOroboros
863977e5fa Makes reagent updates more event based, also makes plasma boil properly. (#54790)
Converts most on_reagent_change calls to signals.
Converts on_reagent_change to a signal handler.
Expands the reagent exposure signals
Add a setter proc and signal for reagent temperature
Fixes adjust_thermal_energy not sending a temperature change event
Makes min_temp and max_temp actually do something with adjust_thermal_energy
2020-12-22 19:20:00 -03:00
Emmanuel S
60ea630c6d Base construction console refactor (#55451)
Refactors base construction consoles to be generic instead of only being meant for building the aux shuttle. The current aux base construction console behaves the exact same.

This PR is A step towards minichem, as I'll be using base construction code in it pretty heavily. More information about the whole minichem thing in this design doc

In terms of player-facing changes, this PR has made possible a neat admin-only base construction console that can be used to construct things anywhere on the z level.
Why It's Good For The Game

The current base construction console code was snowflakey and didn't follow particularly great coding practices. This fixes that and provides a solid foundation for future work.
2020-12-23 09:09:28 +13:00
tralezab
68ba29ec4f Fixes artwork not being able to be named (#55475)
* whoops!

* Update artstuff.dm
2020-12-21 14:48:56 -08:00
Ghilker
173925dde5 chaplain cage no longer balds you (#55526)
* cage no longer balds you

Co-authored-by: Fikou <piotrbryla@onet.pl>
2020-12-21 14:23:05 -08:00
ArcaneMusic
1c82c73d83 Adds hydroponics shrubs, allowing botanists to grow hedges. (#55496)
Replaces one of the rainbow seeds in the exotic seeds crate with a pack of shrub seeds.
Adds a new, growable seed species for shrubs. Shrubs, when planted (similar to kudzu!) plants a solid, weak barrier in hedges.
These hedges block vision, unless trimmed. Thankfully, we already have a hedge trimming skillchip, so using a sharp implement on the hedge will make it non-opaque.
2020-12-21 01:14:14 -08:00
Ghom
cd1d49112c Fixing a very old issue about lizard snouts and hoods, fake mustaches and similars. (#55574)
Fixing a little visual issue with certain hoods, fake mustaches and similars making lizard snouts magically disappear when worn.
2020-12-20 16:28:52 -08:00
Jared-Fogle
e4edb06fb8 Rerolling blob strains now uses a radial menu, and lets you see what the strain does before picking it (#55559)
Also provides a generic, forward proof way to provide information to radial menu choices.
Why It's Good For The Game

    input is old and crummy.
    Blob is a very wiki reliant mechanic. This moves a bit of it into the game itself to fix that.
    Provides a real cancel option, whereas the old one had none. This is not a balance change, but a QoL one--everyone just moved the input window off to the side.
2020-12-21 10:28:21 +13:00
Arkatos1
732d055861 tgui: Cyborg Boot Debug (#55584)
This PR refactors Cyborg Boot Debug and brings it's UI from html based one to tgui with some improvements and cleanup. I also took a liberty to add tooltip to each setting to shed some light on its function, as it could be quite unclear what exactly it meant.
2020-12-19 18:30:14 +02:00
tralezab
872644b9d9 right... DON'T have infinite item exploits... 2020-12-19 02:32:58 -08:00
tralezab
b52cd756f6 Merge branch 'master' of https://github.com/tgstation/tgstation into pancakes-made-pancakier 2020-12-19 00:49:05 -08:00
tralezab
631f51f1ed done 2020-12-18 17:43:49 -08:00
tralezab
f900c7b4d7 pancake update 2020-12-18 14:29:02 -08:00
tralezab
ade6d47ed1 Refactors Beams to use signals: Revived from 2019 edition! BONUS: Medbeams are also refactored to use signals (#55193)
Huge removal of dead vars, bad timers, and other sloppy jitteriness from beams. They go from checking movement to waiting for a signal.
VARIABLE KILL LIST:

sleep_time: signals baby
finished: signals BAYBEEE
target_oldloc: not only not typecasted as a turf or named as a turf, it was unused. when are we going to use this? the beam starts from the origin!
origin_oldloc: bad name, not typecasted. renamed to originturf
static_beam: how are you an unused variable and still get replaced by signals like really
timing_id: signallllss bbbaaaabbyy
recalculating: you get the drill by now signals baby
base_icon: unused, seemingly replaced by visuals I think
2020-12-18 13:52:55 -08:00
Josh
5dcb2aa39f Adds festive sugar cookie designs for holiday. (#55480)
Adds six new cookie icons which are picked at random for sugar cookies made during the Festive Season holiday event.
2020-12-18 13:51:28 -08:00
Qustinnus
6c771621d6 Some griddle fixes (#55548)
* GriddleFixes

* based

* make bacon burn properly
2020-12-18 13:26:15 -08:00
Rob Bailey
cb01640043 Filterrific! (#55246)
Filter refactor + In Game Filter Editor
Accessed via VV in the dropdown of atoms. "Edit Filters.
Makes filters actually usable.

Co-authored-by: ghgh <hghgh>
2020-12-18 20:05:20 +02:00
interestingusernam3
0f9c59e31a Whetstone comments and code readability improvements (#55522)
Adds comments to sharpener.dm. Replaces all 1's and 0's in boolean value assignments with TRUE and FALSE.
2020-12-17 01:47:29 -08:00
LemonInTheDark
c5698a21c4 Removes roundstart miasma. Yes, even the gibs that are marked as miasma producers. Fuck you. Carbons now start listening for death at init, then get the component when they die. Gibs behave just as they used to. (#55343) 2020-12-16 21:27:01 -08:00