Commit Graph

13857 Commits

Author SHA1 Message Date
Winter Flare 958b3f6366 Serving Tray Fix (#54267) 2020-10-10 13:49:13 -07:00
Rohesie af65c90125 Mobility refactor: no more update_mobility() (#54183)
This is a pretty big change all around. The gist of it is that it moves the mobility_flags into traits or variables that can track the sources, and to which we can append code to react to the events, be it via signals or via on_event-like procs.

For example, MOBILITY_STAND could mean, depending on context, that the mob is either already standing or that it may be able to stand, and thus is lying down.

There was a lot of snowflakery and redefinitions on top of redefinitions, so this is bound to create bugs I'm willing to fix as I learn them.

The end-goal is for every living mob to use the same mobility system, for the traits to mean the same among them, and for no place to just mass-change settings without a way to trace it, such as with mobility_flags = NONE and mobility_flags = ALL

Fixes AIs being able to strip nearby people. They've lost their hands usage.
2020-10-09 16:04:30 -07:00
Cimika/Lessie/KathyRyals 2557727e43 Added science berets. (#54255) 2020-10-09 19:36:46 -03:00
girl 2e08a1f508 BSbodybags inherit heaviest item weight + Easier to escape the disarm/BSbodybag combo (#54065)
Bodybags now inherit the weight of their heaviest item. If it doesn't have a weight (people), we assume bulky since things like people can be firecarried or whatever.

It now takes less time to get out of a bag (20 > 12 secs), and the progress bar is unbreakable unless you get incapacitated. This means people interested in using it to kidnap can still do so but it requires considerably more effort that isnt based on a latency difference and a quick disarm. The timer still runs down if you open the bag and try to put them back in but good attempt😏.

This also fixes an issue with the BSB where it was picking up or otherwise doublecalling checks from inheritance.
2020-10-09 17:30:16 -03:00
TemporalOroboros cab4313b29 Adds Alloy Materials (#53623)
Adds and implements alloy materials

Takes several materials that were mostly fluff and converts them into actual usable materials.
Messes with material code a bit to make alloys recycle back into their component materials.
Adds the alloy materials to their in-game stacks.

Materials added:
    Plasteel
    Plastitanium
    Plasmaglass
    Titaniumglass
    Plastitanium Glass
    Alien Alloy

Makes plasteel/plastitanium/plasmaglass and the rest able to have separate properties from their component materials. It doesn't make much sense that the materials used to seal off the supermatter chamber from the rest of the station would be prone to exploding when heated.

Allows for further expansion of materials, possibly including actual functional metallurgy and smelting at some point in the very distant future.

(Lemons note: Adds a regeneration component, used for alien alloy)
2020-10-09 12:23:40 -07:00
nemvar f8c6253c31 Merge pull request #54251 from Rohesie/define
Turns maxhealth into a define
2020-10-09 16:38:21 +02:00
ArcaneMusic 19d1adc78a [s]Showers now properly react with 10u per tick instead of 1000u. (#54236)
Turns out what I thought was reagent units used per reaction was actually reaction multiplier in #53377, and it flew under the radar until literally 15 minutes ago.

This adjusted the reaction quantity down to 0.05, which with the 200 unit reagent volume of the showers, equates to about a 10u reaction per tick, ya know, rather high but reasonable considering that before it was mistakenly set to *5 instead, which meant you could de-husk a patient in a literal single tick with 1 unit of synthflesh.
2020-10-09 01:47:46 -03:00
spookydonut 2a0eac8772 Fix some potential sleeps as detected by SpacemanDMM improvements (#54230)
overrides weren't detected by should not sleep, i think i've mostly 
fixed that with SpaceManiac/SpacemanDMM#214

Some of these are wacky but overall this pr is harmless

signals shouldnt sleep even in weird 1 in a million situations or due 
to other people adding bad code

overrides of changeling can_sting() use alert() and input() and that's 
just too fucked for me to fix in this pr
2020-10-08 17:06:19 -07:00
L f040e74c2a Turns maxhealth into a define 2020-10-08 11:54:51 -03:00
Krysonism 73818aed45 Converts Pizza to use the new food component. (#53641)
pizzas now use processing component
2020-10-08 11:53:13 +02:00
Timberpoes 3dc5cae46c Fixes the supply console not inheriting contraband and emag status from its circuit (#54177)
Added an abstract proc for circuits intended to be used to allow a circuit to configure a machine.

Overrode this proc for supply console boards (behaviour inherited by express boards)

Call this proc in supply console on_construction (behaviour inherited by express supply consoles)

Allows all supply consoles to inherit their circuit's emag and contraband status.

Doesn't look like any other circuits use this sort of functionality, but if they do I'll fix 'em up too.
2020-10-07 17:37:42 -03:00
TMTIME 3711eb5a96 Fixes toy dualsabers stabbing clowns (#54104) 2020-10-07 15:47:29 -03:00
Dennok f1cb59181c RPD unwrench upgrade (#53615)
* Most OP atmos tool. RPD that can unwrench pipes.

Adds reverse wrench mode upgrade to the RPD.
Attention, due to budget cuts, the mode is hard linked to the destroy mode control button.

Now /obj/machinery/atmospherics/deconstruct(disassembled = TRUE) return created obj/item/pipe

Co-authored-by: girl <11748095+ExcessiveUseOfCobblestone@users.noreply.github.com>
2020-10-07 11:13:34 -07:00
Mickyan fb76d6d38a Allows rotating statues with alt click (#54179)
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
2020-10-06 18:30:22 -07:00
ShizCalev b3765c4194 Merge pull request #54048 from nicbn/tank-frames
Adds tank holders
2020-10-06 18:12:17 -04:00
KathrinBailey 93759e6ab8 Tile Reskinning: Allows you to make prettier in-game building projects (#54184) 2020-10-06 14:45:24 -07:00
Qustinnus cf11ade4d7 Nerfs uranium material effects, and changes how effective materials are on sheets and statues (#54178) 2020-10-06 13:01:48 -07:00
Rohesie 0129362e23 Replaces sleeping carp pierce immunity with wound resistance (#54163) 2020-10-06 13:00:06 -07:00
PKPenguin321 87c6033887 Wound scans respect blindness (#54188) 2020-10-06 12:59:16 -07:00
Wallemations 47b2e2d3c3 Sign language fixes (#53890)
If your hands are full, you make a visual attempt to sign, so others know you at least tried. If you have no hands, you simply cannot sign at all.
Having one arm gone and the other full properly makes one unable to sign
Runechat!
Uses TRAIT_HANDS_BLOCKED now
Any organ with ORGAN_UNREMOVABLE as a flag is no longer removed by aheals or full heals. Currently this only affects tied tongues, as no other organ really has that flag yet.

If you can't sign from your hands being full, you won't stand there silently staring at whoever you try to talk to.
People will actually see that you can't sign thanks to runechat
I finally fixed sign language for lings & xenobio mains

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-06 01:32:30 -07:00
Rohesie 74afb3a437 Fixes scanners being usable by the blind (#54164) 2020-10-04 13:59:41 -07:00
Jared-Fogle b327b9e5ae Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune (#53975)
* Adds Shuttle 667 as a buyable shuttle for dispelling a cult rune

* Add stasis beds

* Fix forcefields going away, leading to hull breaches

* Use set instead of list

* Use subtype for forcefield walls
2020-10-04 21:36:46 +13:00
Mickyan 3b2c755a2a fixes large clothes displaying blood overlays incorrectly (#54153) 2020-10-03 22:15:13 -07:00
Rohesie db54913fe6 Mobility refactor: UI, pull and lying down edition (#54078) 2020-10-03 17:23:21 -07:00
ShizCalev 5f05b8c4d3 Merge pull request #54127 from Tlaltecuhtli/peniss
tray belt and worn sprite
2020-10-02 20:07:47 -04:00
ShizCalev 2d6eecc2e7 Update code/game/objects/structures/tank_holder.dm 2020-10-02 12:33:44 -04:00
ShizCalev 744d271514 Update code/game/objects/structures/tank_holder.dm 2020-10-02 12:27:44 -04:00
ShizCalev d83812192c Update code/game/objects/structures/tank_holder.dm 2020-10-02 12:24:03 -04:00
nemvar bedcdcbc8f Merge pull request #53702 from zxaber/kiltborg
[READY] Highlander mode now includes silicons
2020-10-02 17:39:16 +02:00
Dennok 8b72ef9aae Completely FIX Hilbert's Hotel and its associated ruin to the game. (#53830)
Reverts the removal in #53790.
Broken in #53586.

Because turfNumber++ must be incremented on turf, not on every ATOM it 
EVERY TURF, and anyway it don't trigger since first turfs don't have 
atoms in it.

Fix #53794, Hilbert's Hotel peephole runtime.
Fix #53795, hhmysteryRoomNumber generates only once.
2020-10-01 18:32:32 -07:00
Nicolas Nattis 0e3400fd40 Komponemts 2020-10-01 20:37:57 -03:00
LemonInTheDark 0be337d01c Makes some things that rely on atmos adjacency more sane/faster. (#54096)
* Replaces some CANATMOSPASS calls with a new define that checks if the turfs are in each others atmos adjacent list, as that's the same info that they want.
2020-10-01 13:19:52 -07:00
Nicolas Nattis a9bc0b0fbe Code improvement v1 2020-10-01 17:15:26 -03:00
Qustinnus 3c145788d0 Fixes monkeycube size and organ callback and microwaves (#54095)
* fixes

* dumb runtime

* fixes eggs
2020-10-01 15:24:42 -04:00
Tlaltecuhtli 688af053fc ass 2020-10-01 11:46:11 +02:00
ArcaneDefence ed03cd6b68 Restores some functions food had (#53892)
Synthmeat steaks are a subtype of plain so that they can be used in burgers the way they could before
Colored burgers have color again, as they were just the greyscale sprite
2020-09-30 16:55:35 -03:00
Nicolas Nattis 118349e362 Merge branch 'master' of https://github.com/tgstation/tgstation into tank-frames 2020-09-30 12:34:32 -03:00
ArcaneMusic d65714e9f1 Nice, Corgi Pinning Action for the whole family. (#53913)
Adds pin the tail on the corgi, a basic party game last seen at the summer ball, that I had lying around on one of my branches since then. The corgi is a poster that functions like most other posters, but has an interaction with the fake "Corgi tail" object, which can be pinned onto the poster to visually place the tail onto the poster.

Are you a bad enough dude to pin the tail on the corgi blindfolded?

Fun, cheap entertainment. Might make for a cheap thrill, or help set the scene of a birthday party. Works as a very player driven basic activity.

Also, the tail pins are harmless embeds. I'll leave that here for you to think about.
2020-09-29 23:18:54 -07:00
Timberpoes ff92111c96 You can now throw things over raillings. (#54062)
Any movable atom with an attached thrownthing datum can now pass harmlessly over railings, and potentially fall safe down to the z-level below.
2020-09-30 01:26:17 -03:00
Qustinnus eca964db35 Ports soup, snacks, icecream, salads and meat to newfood (#54028)
Ports soup, snacks, icecream, salads and meat to newfood
2020-09-29 20:36:27 -07:00
NightRed 48324f59c6 Fixes up addictions reporting on scanners, and admin full heal (#54056) 2020-09-29 19:26:29 -07:00
nemvar 963779471a Merge pull request #53906 from Rohesie/smoothing
[READY] Refactor icon smoothing to use 8-bit bitmasking
2020-09-29 17:07:12 +02:00
L 3f9244752e nemvar more like nemnerd 2020-09-29 08:47:47 -03:00
Zxaber 74e1244cf4 Merge remote-tracking branch 'upstream/master' into kiltborg 2020-09-29 03:54:41 -07:00
Rohesie 3cc7733f34 Moblity refactor: hands blocked and restrained edition. (#53981)
Splits the restrained() proc into component traits: TRAIT_HANDS_BLOCKED for the general inability to use hands and TRAIT_RESTRAINED for the more specific condition that permits arrests.
    Code moved away from the update_mobility() proc so it doesn't have to wait for an update, instead changing based on events. The idea is to eventually kill that proc.
    Wrapper proc added for setting the handcuffed value so we can react to the event of it changing.
    Kills the RestrainedClickOn() proc. That is now just an UnarmedAttack(), in where the ability to use hands can be checked. Monkeys keep their bite attack and humans their self-examine.
2020-09-29 11:23:43 +01:00
zxaber 63a3f3f516 Merge branch 'master' into kiltborg 2020-09-29 02:56:02 -07:00
TemporalOroboros f0cbbf0890 Atmos Machinery Variants (#54015)
Adds variants for a bunch of atmos machinery that were missing them:

    unary tanks
    atmos filters
    atmos control computers (and circuit boards)
    atmos tank turfs
    atmos tank outlet injectors
    atmos tank siphon vents
    gas miners
2020-09-29 06:18:37 -03:00
tralezab f68ac806f8 Reimagines Venus Human Traps (#53880)
Venus human traps now have a new sprite, new sprite for their bud, new sprite for their vines, their bud has icons according to how grown it is, they get sounds for hitting, getting hit, and dying.

oh yeah and I renamed the path flower_bud_enemy >flower_bud
2020-09-29 06:00:35 -03:00
zxaber 27b8d4467c Merge branch 'master' into kiltborg 2020-09-28 19:13:43 -07:00
Timberpoes 68f81eda0e Fixes whiteship console losing GPS signal (#53998)
Deconstructing and rebuilding the whiteship console will switch it back to the GPS-less subtype. Added a new board and assigned it to the whiteship bridge console to remedy this.
2020-09-28 19:06:24 -03:00