Commit Graph
76826 Commits
Author SHA1 Message Date
6733d6debb [MIRROR] fixes the flags of some shocks (#1685)
* fixes the flags of some shocks (#54906)

## About The Pull Request

The shocks from the shock touch mutation now ignore insulated gloves, because you're touching your victim's body, not giving them a handshake.

The shocks from punching charged energy fields (special holosigns from emagged cyborgs) now DON'T ignore insulated gloves, because you're literally punching them with your hand.

The shocks from running into charged energy fields now DON'T ignore insulated gloves, to be consistent with things like electrified doors.

The shocks from the on_mob_life() effect of liquid electricity now ignore insulated gloves, like the shocks from the on_mob_life() effect of teslium do (thanks for pointing this out, Angustmeta!).

## Why It's Good For The Game

Logical sense and consistency in what forms of protection shocks check for are good things, I think.

* fixes the flags of some shocks

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2020-11-14 21:33:12 +01:00
SkyratBot 9f041bf164 Automatic changelog generation for PR #1684 [ci skip] 2020-11-14 21:32:58 +01:00
645209bd8d [MIRROR] Fixes Space Ninja Comms Console Hack Not Working on Occasion (#1684)
* Fixes Space Ninja Comms Console Hack Not Working on Occasion (#54921)

* Fixes Space Ninja Comms Console Hack Not Working on Occasion

Co-authored-by: IndieanaJones <47086570+IndieanaJones@users.noreply.github.com>
2020-11-14 21:32:55 +01:00
SkyratBot 7302e200c6 Automatic changelog generation for PR #1683 [ci skip] 2020-11-14 21:32:31 +01:00
098e1fe440 [MIRROR] Removes unintentional garbleing in a garbled message (#1683)
* Removes unintentional garbleing in a garbled message (#54913)

* Removes unintentional garbleing in a garbled message

Co-authored-by: itseasytosee <55666666+itseasytosee@users.noreply.github.com>
2020-11-14 21:32:27 +01:00
Changelogs dfef52e94d Automatic changelog compile [ci skip] 2020-11-14 00:07:56 +00:00
SkyratBot c51ede025c Automatic changelog generation for PR #1682 [ci skip] 2020-11-13 03:08:42 +01:00
d9c2f7a5a4 [MIRROR] Old Medibot should now heal things besides brute (#1682)
* Old Medibot should now heal things besides brute (#54907)

Old medibot had a heal_threshold of 0, so all the heal_threshold checks will always evaluate to TRUE, so the medbots always get stuck in brute healing.

* Old Medibot should now heal things besides brute

Co-authored-by: prodirus <44090982+prodirus@users.noreply.github.com>
2020-11-13 02:08:38 +00:00
Changelogs 3e2d00f107 Automatic changelog compile [ci skip] 2020-11-13 00:07:54 +00:00
SkyratBot 5de314fccc Automatic changelog generation for PR #1678 [ci skip] 2020-11-12 07:12:28 +01:00
AzarakandGitHub 1ae9add3bf [SEMI-MODULAR] Combat Indicator (#1678)
* aaa

* a
2020-11-12 06:12:25 +00:00
Changelogs 22b5086019 Automatic changelog compile [ci skip] 2020-11-12 00:07:32 +00:00
SkyratBot c8c0eaf14d Automatic changelog generation for PR #1681 [ci skip] 2020-11-11 18:32:35 +01:00
bc8432243d [MIRROR] Fixes bathhouse ruin walls (#1681)
* Fixes bathhouse ruin walls (#54896)

* Fixes bathhouse ruin walls

Co-authored-by: wesoda25 <37246588+wesoda25@users.noreply.github.com>
2020-11-11 18:32:32 +01:00
SkyratBot 7ae186689f Automatic changelog generation for PR #1667 [ci skip] 2020-11-11 18:32:16 +01:00
5adb2790a0 [MIRROR] Spider Rework (#1667)
* Spider Rework

* Update giant_spider.dm

Co-authored-by: IndieanaJones <47086570+IndieanaJones@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-11 18:32:13 +01:00
SkyratBot 5d7e78c410 Automatic changelog generation for PR #1646 [ci skip] 2020-11-11 04:12:53 +01:00
e768cef297 [MIRROR] /obj/screen --> /atom/movable/screen (#1646)
* /obj/screen --> /atom/movable/screen

* Update storage.dm

* Update radial.dm

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-11 04:12:50 +01:00
AzarakandGitHub 4e460d9cd7 Fixes saving of undershirt color, socks color, and augmentation limb styles, fixes byond members loosing slots, donators now get extra slots (#1658)
* Fixes saving

* Update preferences.dm

* Update preferences.dm
2020-11-11 02:57:56 +00:00
SkyratBot b1726c443d Automatic changelog generation for PR #1680 [ci skip] 2020-11-11 03:55:46 +01:00
314041ed3c [MIRROR] Removes yellow slime core plasma reaction, part 2 (#1680)
* Removes yellow slime core plasma reaction, part 2 (#54569)

* Removes yellow slime core plasma reaction, part 2
* Update slime_extracts.dm

* Removes yellow slime core plasma reaction, part 2

Co-authored-by: Gogo9001 <72946484+Gogo9001@users.noreply.github.com>
2020-11-11 02:55:43 +00:00
0efa39a6af [MIRROR] Update TGS4 PreCompile.sh (#1679)
* Update TGS4 PreCompile.sh (#54794)

* Update TGS4 PreCompile.sh

- Fix bad brackets
- Update rust-g build command
- Remove `--default-host`

* Add i686-unknown-linux-gnu target

* Update TGS4 PreCompile.sh

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-11-11 02:55:14 +00:00
SkyratBot 2ebd6f446a Automatic changelog generation for PR #1677 [ci skip] 2020-11-11 03:55:04 +01:00
bfaa5be1c0 [MIRROR] Pies are now refactored for new foods. (#1677)
* Pies are now refactored for new foods. (#54751)

Moves over pies to the newfood typepaths, as well as the few select pie slices.

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

* Pies are now refactored for new foods.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
2020-11-11 02:55:01 +00:00
SkyratBot 450b1ada06 Automatic changelog generation for PR #1676 [ci skip] 2020-11-11 03:54:37 +01:00
d24799b845 [MIRROR] No more free stuff in maint (#1676)
* No more free stuff in maint (#54533)

About The Pull Request

This pr removes some objects from maint on some maps that either don't make much sense being in maint like surgical drapes and stuff that makes maint free loot if maint loot needs to be buffed it should be through the helper not in maps.

Why It's Good For The Game

As an assistant main this hurts me more than anyone but the cool thing about maint is having stuff be randomized instead of knowing the meta of the map. These changes are not all removals such as the addition of a proper seed extractor to the meta botany maint.

* No more free stuff in maint

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2020-11-11 02:54:34 +00:00
2b8353ed20 [MIRROR] Fixing cult turf overlays not showing under transparent tiles. (#1675)
* Fixing cult turf overlays not showing under transparent tiles. (#54782)

vis_contents always render the turf above other atoms of the same layer

* Fixing cult turf overlays not showing under transparent tiles.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-11 02:53:40 +00:00
SkyratBot 2f80d36882 Automatic changelog generation for PR #1674 [ci skip] 2020-11-11 03:52:36 +01:00
eedf2362cc [MIRROR] Refactored 'IsAdvancedToolUser' into a macro plus relative trait. Tweaked 'can_hold_items'. (#1674)
* Refactored 'IsAdvancedToolUser' into a macro plus relative trait. Tweaked 'can_hold_items'. (#54665)

The PR aims to allow advanced tool users to be defined by traits rather than a hardcoded proc.
Also necessary for the CanUseTopic refactor I'm working on, which will be PRed separately for atomization purposes.
This PR also fixes an inconsistency with can_hold_items (since monkeys can actually hold items).

* Refactored 'IsAdvancedToolUser' into a macro plus relative trait. Tweaked 'can_hold_items'.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-11 02:52:32 +00:00
SkyratBot c70512769a Automatic changelog generation for PR #1673 [ci skip] 2020-11-11 03:52:22 +01:00
47febd0ae5 [MIRROR] Beauty component improvements. Two new fantasy component prefixes (#1673)
* Beauty component improvements. Two new fantasy component prefixes (#54622)

Title. Changed the component backend code slightly to allow a single component to hold the total score instead of spawning new components. This should fix cases, such as material stacks without the MATERIAL_NO_EFFECTS flag, where multiple set_costum_materials calls can be made and new beauty components spawned.

* Beauty component improvements. Two new fantasy component prefixes

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-11 02:52:18 +00:00
SkyratBotGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
0f96939336 [MIRROR] Automatic TGS DMAPI Update (#1672)
* Update TGS DMAPI (#54872)

* Automatic TGS DMAPI Update

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-11-11 02:51:59 +00:00
263bb50a31 [MIRROR] Makes the old reftracking option compile! (#1671)
* fixes a compile error in reference tracking verbs caused by an improper versioning change (#54877)

* Makes the old reftracking option compile!

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-11-11 02:51:49 +00:00
SkyratBot 31ff8755c6 Automatic changelog generation for PR #1670 [ci skip] 2020-11-11 03:51:26 +01:00
186f4bd4c2 [MIRROR] Fixes a few bugs with greyscale stacks. (#1670)
* Fixes a few bugs with greyscale stacks. (#54858)

    Fixes greyscale floor tiles merging regardless of their materials.
    Fixes greyscale floor tiles voiding materials when splitting the stack.
    Fixes greyscale floor tile stacks being created with no mats_per_unit and only enough custom materials for a single unit.
    Fixes greyscale tile flooring being created with the wrong amount of materials.
    Fixes greyscale tile flooring not producing floor tiles/producing floor tiles with 0 units.

* Fixes a few bugs with greyscale stacks.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2020-11-11 02:51:23 +00:00
SkyratBot d972fc4003 Automatic changelog generation for PR #1668 [ci skip] 2020-11-11 03:51:14 +01:00
43e821c474 [MIRROR] Cell chargers now respect the law of conservation of energy. (#1668)
* Cell chargers now respect the law of conservation of energy. (#54886)

## About The Pull Request

Hopefully I can make this PR as knowledge filled as possible, so sit down and buckle up, because we're about to talk about POWER USE.

So, machines use power. The station uses power. Without power, key, critical aspects of the game don't function, and keeping the station's lifeblood pumped with electricity is the primary goal of the engineering department. Cool. So there's currently 2 methods of "power use" that machines can use, that is, through the passive use of power (Assigned by the `idle_power_usage` and `active_power_usage` variables), or through the `use_power()` proc. What's interesting, is that neither proc actually draws directly from the cell of the APC, which is sort of assumed by a proc called `use_power()`, after all. Where the passive power draw aspect of an APC is done automatically as machines are processed, and then applied to the APC seperately, taking power per cycle, use_power just applies a temporary blip of power usage to one of the APC's power tracks (Equipment, Lighting, or Enviroment). One would assume then that this temporary power drain would apply for long enough that it would apply the intended cost to the cell, and then turn off.

But I'm making this PR, right?

So the most egregious issue this brings is in terms of the cell recharger. If you place a power cell into a cell recharger, the recharger calls use_power every processing tick in order to reduce the APC cell by an equivalent amount to what the cell is intending to gain in charge. After all, you're just moving the charge from the APC to the power cell, plus the processing charge required by the cell_charger. However, lets look a bit closer at how use_power actually works. For this example we'll use a default, unupgraded cell recharger attempting to put it's default 250 watts into an empty bluespace cell.
Because power is heavily linked to the area that the machinery is placed in, we snag the area, determine the power channel, and call a use power proc on the area. The area use power proc simply adds that 250 watts, or rather joules into the equipment power channel of the APC, a part of power usage. All of this is parroted over to the APC's processing side, where the actual cost to the power cell is calcualted as follows:
`var/cellused = min(cell.charge, GLOB.CELLRATE * lastused_total)	// clamp deduction to a max, amount left in cell
		cell.use(cellused)`
So that number, the 250 joules of power we're calling to the cell, is actually being multiplied by a global cellrate, which is applied to every power drain on the station, actually charging the APC cell a total of 0.5 kj.
Based on some rumentary math and some experimentation, I filled a full bluespace power cell with 40Mj of power using 351 Kj of power from a standard, stock APC cell with no other drain except the 5 joules of power draw from the cell recharger.

So: What does this mean?

- Power draw is completely fucking busted (We knew this).
- Using two power cells, an APC, and an inducer, you can create infinite energy, anywhere, at zero cost to the station.
- We really need to make cell recharging a direct power draw.

Thankfully, that last one actually fits the portfolio of being a fix!
This adds a new proc to machines called `directly_use_power`. It does what it says on the tin, directly charges the APC for instances where power is going 1-1 from a power cell to another cell, in order to prevent infinite energy exploits.

## Why It's Good For The Game

Power is all kinds of unbalanced. Attempting to enforce the concept that a single unit of power is equal to itself is probably a good step in the right direction and in all likelyhood appears to have been the original intent with cell chargers in the first place.

I'm self-aware enough to see that this has ramifications beyond just fixing an issue within the cell charger alone, so if maintainers want to close this until december that's perfectly fine, but this is one of those things that could really easily snap basic station balance in twain.

* Cell chargers now respect the law of conservation of energy.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-11-11 02:51:11 +00:00
SkyratBot b5c4befc97 Automatic changelog generation for PR #1669 [ci skip] 2020-11-11 03:51:04 +01:00
176a45b280 [MIRROR] Fixes mob_holders not going into storage (#1669)
* Fixes mob_holders not going into storage (#54837)

#53305 made it so clothing objects without an icon_state on initialize were given ABSTRACT flags.

unfortunately for mob_holder objs, they gained their icon after that step of initialization.

this PR just moves the parent call to after the icon_state is updated, preventing them from incorrectly gaining the abstract flag.

Fixes #53872

* Fixes mob_holders not going into storage

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2020-11-11 02:51:01 +00:00
SkyratBot 36b8086d62 Automatic changelog generation for PR #1664 [ci skip] 2020-11-11 03:50:37 +01:00
d3f190d66d [MIRROR] Fixes double suit storage unit on mining base (#1664)
* Fixes double suit storage unit on mining base (#54890)

The leftmost suit storage was actually two suit storages on top of one another. Thanks to Kolinko from the tgstation discord for finding this one.

* Fixes double suit storage unit on mining base

Co-authored-by: tattlemothe <66640614+dragomagol@users.noreply.github.com>
2020-11-11 02:50:33 +00:00
SkyratBot db9f55c328 Automatic changelog generation for PR #1662 [ci skip] 2020-11-11 03:50:26 +01:00
2b51110471 [MIRROR] radial menus ignore the anchor's alpha, color and transform now. (#1662)
* radial menus ignore the anchor's alpha, color and transform now. (#54870)

* radial menus ignore the anchor's alpha, color and transform now.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-11 02:50:22 +00:00
17cc9d9efd [MIRROR] Makse baseturfs work as expected (#1666)
* Cleans up a mistake with baseturfs, prevents ref oddness (#54888)

When there's only one baseturf, we expect it to be stored not as a list, but as a single item.
I failed to support this in my string lists pr, which caused a few related issues.

Fixes #54880 , alt of #54883

* Makse baseturfs work as expected

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-11-11 02:50:10 +00:00
f53f3c88b7 [MIRROR] Performance Logging no longer produces broken csv files (#1665)
* Performance Logging no longer produces broken csv files (#54894)

Also better file names so it's easier to mass scrape them.

* Performance Logging no longer produces broken csv files

Co-authored-by: Rob Bailey <actioninja@gmail.com>
2020-11-11 02:50:02 +00:00
SkyratBot 06fe2feda4 Automatic changelog generation for PR #1663 [ci skip] 2020-11-11 03:49:41 +01:00
334b75472c [MIRROR] Fixing armsy del ref issue and invincibility (#1663)
* Fixing armsy del ref issue and invincibility (#54879)

On the second iteration of the for/var loop found on `Initialize()` the `front` variable of the second link of the armsy worm (the one just before the head) is set to `null` because `next` is also `null`. That said, the second link will fail to soft delete because it's still referenced in the `back` variable of the first link since the `front.back = null` line on `Destroy()` can't reached.

Also the code was formulated in a byzantine way.

* Fixing armsy del ref issue and invincibility

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-11 02:49:38 +00:00
SkyratBot d18c380e2f Automatic changelog generation for PR #1661 [ci skip] 2020-11-11 03:49:28 +01:00
7f07420a40 [MIRROR] removes duplicate flyperson organ assignments (#1661)
* Removes duplicate flyperson organ assignments (#54897)

mutantliver and mutantstomach were set twice for the flyperson race; this is no longer the case.

Also, I moved the place where mutanttongue is set for the flyperson race down to where the other mutant organ variables are set for them.

* removes duplicate flyperson organ assignments

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
2020-11-11 02:49:25 +00:00
SkyratBot ddad92f9eb Automatic changelog generation for PR #1660 [ci skip] 2020-11-11 03:47:53 +01:00