Commit Graph

1093 Commits

Author SHA1 Message Date
SkyratBot
18eca27569 [MIRROR] update_appearance (#3508)
* update_appearance

* a

* a

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-19 16:08:09 +00:00
SkyratBot
43febe3145 [MIRROR] Converts many proc overrides to properly use list/modifiers, lots of other smaller things (#3433)
* Converts many proc overrides to properly use list/modifiers, lots of other smaller things

* Update human_defense.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-17 14:18:21 +00:00
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
a765e5b0db [MIRROR] Pirates are split into three different ghastly crews! (#3395)
* Pirates are split into three different ghastly crews! (#56264)

Co-authored-by: DeAndre <robustness13@ hotmail.com>
Co-authored-by: itseasytosee <55666666+itseasytosee@ users.noreply.github.com>
Co-authored-by: tgstation-server <tgstation-server@ tgstation13.org>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Pirates are split into three different ghastly crews!

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
Co-authored-by: DeAndre <robustness13@ hotmail.com>
Co-authored-by: itseasytosee <55666666+itseasytosee@ users.noreply.github.com>
Co-authored-by: tgstation-server <tgstation-server@ tgstation13.org>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-02-15 13:32:35 +00:00
SkyratBot
c5779d4c16 [MIRROR] lowers the size of torches, and lets them be made with leafy mushrooms (#3379)
* lowers the size of torches, and lets them be made with leafy mushrooms  (#56877)

* lowers the size of torches, and lets them be made with leafy mushrooms

Co-authored-by: Elli-Skala <69182855+Elli-Skala@users.noreply.github.com>
2021-02-14 10:23:25 +00:00
SkyratBot
495b35a679 [MIRROR] Converts all uses of modifiers to lazy access to avoid memes in future (#3331)
* Converts all uses of modifiers to lazy access to avoid memes in future

* Update work_tools.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com>
2021-02-13 11:06:39 +00:00
SkyratBot
a51f056319 [MIRROR] Moves the plant analyzer chem mode to right click + lets you read out a tray's chemical contents (#3347)
* Moves the plant analyzer chem mode to right click + lets you read out a tray's chemical contents

* Update growninedible.dm

* Update grown.dm

* Create grown.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-02-13 11:03:46 +00:00
SkyratBot
b43845d267 [MIRROR] Syringe toggle has been replaced with left-click to inject, right-click to draw. You can also now change transfer amount. (#3345)
* Syringe toggle has been replaced with left-click to inject, right-click to draw. You can also now change transfer amount. (#56865)

* Syringe toggle has been replaced with left-click to inject, right-click to draw. You can also now change transfer amount.

Co-authored-by: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com>
2021-02-13 10:13:50 +00:00
SkyratBot
455a36a3a8 [MIRROR] Refactors plant traits to use signals + autodocs a lot of plant gene stuff and better vars all over (#3343)
* Refactors plant traits to use signals + autodocs a lot of plant gene stuff and better vars all over (#56841)

Refactors plant traits to use signals instead of looped proc-calls copy-pasted on both types of plant.

Comments / autodocs a lot of the plant genes and their procs.

Renamed a bunch of vars to be more descriptive.

* Refactors plant traits to use signals + autodocs a lot of plant gene stuff and better vars all over

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-02-13 10:13:30 +00:00
SkyratBot
b902f89062 [MIRROR] Refactor can_inject, and introduce try_inject (#3300)
* Refactor can_inject, and introduce try_inject (#56816)

Splits can_inject into can_inject and try_inject. The latter can perform side effects, while the former cannot. Moved the show_error bool parameter to a flag that try_inject checks.

Changes the signature to can_inject(mob/user, target_zone, injection_flags). This was previously redefined in several places, making it impossible to use named parameters. This refactor now allows named parameters to be used, and thus avoiding the ugliness of TRUE, FALSE, FALSE in parameters.

* Refactor can_inject, and introduce try_inject

Co-authored-by: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com>
2021-02-11 19:49:47 +00:00
SkyratBot
64596f3b50 [MIRROR] Increases hatchet throw range to 7 and allows them to embed (#3232)
* Increase hatchet throw range to 7 and allows them to embed (#56705)

I think it would be fun if you could throw hatchets and get them
embedded in your victims, I was surprised that it wasn't a thing in the
first place.

Co-authored-by: Sparkezel <1haslo4@ gmail.com>

* Increases hatchet throw range to 7 and allows them to embed

Co-authored-by: Sparkezel <53384660+Sparkezel@users.noreply.github.com>
Co-authored-by: Sparkezel <1haslo4@ gmail.com>
2021-02-09 09:48:12 +00:00
SkyratBot
707f4fe026 [MIRROR] Adds mouth slot sprites for roses (#3180)
* Adds mouth slot sprites for roses (#56715)

This is a very important feature of roses that was neglected prior.

* Adds mouth slot sprites for roses

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-02-08 11:53:48 +00:00
SkyratBot
756af3672f [MIRROR] Fixes a runtime with liquid contents gene (#3156)
* Fixes a runtime with liquid contents gene (#56661)

* Fixes a runtime with liquid contents gene

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-02-07 00:34:09 +00:00
SkyratBot
e124662031 [MIRROR] A Big Hydroponics Update: A Rose by any other name (2 new plants, 4 new traits, new genes, and more!) (#3089)
* A Big Hydroponics Update: A Rose by any other name (2 new plants, 4 new traits, new genes, and more!)

* Update grafts.dm

* Update grafts.dm

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-05 21:13:02 +00:00
SkyratBot
e890b1282b [MIRROR] Replaces intents with combat mode (#3063)
* Replaces intents with combat mode

* updates

* a

* Update living_defense.dm

* https://github.com/tgstation/tgstation/pull/56638/files

* gunsafety!

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-05 16:58:16 +01:00
SkyratBot
a51bbaef29 [MIRROR] The Seed Extractor now vends into hands if possible (#2991)
* The Seed Extractor now vends into hands if possible (#56508)

* The Seed Extractor now vends into hands if possible

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-31 22:09:35 +00:00
Gandalf
34d8917ebc Aesthetics fixes (#2986)
* fixes

* a
2021-01-31 16:40:05 +00:00
SkyratBot
e2726d676e [MIRROR] Fixes minor logging issue with hydroponics trays (#2922)
* Fixes minor logging issue with hydroponics trays (#56381)

Hydroponics trays have a var, lastuser, that it's supposed to use in logging as the last person who modified a tray's reagents
this variable was only set if you transferred reagents to the tray via composting, so it was null 99% of the time.

The var is now set when any reagents are transferred and the logging for spawning spiders now uses this var.

The var is now a weakref, to prevent hydroponics trays from harddels.

"null last modified a tray's contents that spawned spiderlings." Not very helpful to admins, is it.

* Fixes minor logging issue with hydroponics trays

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-28 03:07:34 +01:00
SkyratBot
580c046abf [MIRROR] Fixes for the invasive spreading trait (#2829)
* Fixes for the invasive spreading trait (#56300)

    Fixes invasive spreading overtaking same type plants (It was checking for dead plants instead of alive ones)
    Fixes invasive spreading going through glass (It only checked plants one step away, regardless of adjacency)
    Better var names (HY -> spread_tray, H -> our_tray)
    Slight visual feedback when plants are destroyed
    TRUE / FALSE instead of 1 / 0

* Fixes for the invasive spreading trait

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-22 04:06:04 +00:00
SkyratBot
41590d464d [MIRROR] Patches gene shears click stack exploit (#2828)
* Patches gene shears click stack exploit (#56301)

Fixes #55390 by checking the plant's heath again after the input is done and before the gene is removed. I'm not sure if it's the cleanest way to get around stacking inputs to exploit the health, but it works?

* Patches gene shears click stack exploit

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-22 04:05:42 +00:00
SkyratBot
94f9a384b0 [MIRROR] [READY] Bespoke Datum Mats (#2737)
* [READY] Bespoke Datum Mats

* Update sheetifier.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-17 13:25:04 +01:00
SkyratBot
7361de863c [MIRROR] Refactor caltrop component into element (#2651)
* Refactor caltrop component into element

* Delete caltrop.dm

* Update caltrop.dm

Co-authored-by: coiax <jack@billbuddy.co.uk>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-12 02:06:53 +01:00
SkyratBot
ac594d1306 [MIRROR] Banana & peel resprite. (#2615)
* Banana & peel resprite. (#56015)

imageadd: Bananas & peels have been resprited.

* Banana & peel resprite.

Co-authored-by: Krysonism <49783092+Krysonism@users.noreply.github.com>
2021-01-10 08:28:53 +01:00
SkyratBot
dc486cb0d6 [MIRROR] Barrels work with science goggles (#2594)
* Barrels work with science goggles (#56035)

Barrel have TRANSPARENT flag when open instead of AMOUNT_VISIBLE letting you see the contents with reagent scanners

* Barrels work with science goggles

Co-authored-by: spessbro <51048066+spessbro@users.noreply.github.com>
2021-01-09 17:27:55 +00:00
SkyratBot
f79e91462c [MIRROR] LINDA Reforged (#2573)
* LINDA Reforged

* Update airlock.dm

* Update biohazard_blob_controller.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2021-01-08 18:52:35 +01:00
SkyratBot
409506bcc3 [MIRROR] Fix Botany chemical gene grafts (#2566)
* Fix chemical grafts (#56000)

Fixes chemical grafts in botany so their seeds actually gain the reagents they offer.

For those who didn't know, Spaceman's Trumpet is the only plant (for now) that allows you you graft it and get a chemical instead of a trait (Polypyrylium Oligomers). Only this graft doesn't work. It shows up in the plant, but on harvest there is none of that chemical inside of it. Now it works.

* Fix Botany chemical gene grafts

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-08 18:43:06 +01:00
SkyratBot
36853dcdb8 [MIRROR] Fixes Densified Chemicals (#2550)
* fixes densified (#55967)

Densified Chemicals broke with the food refactor. Food has a max_volume var that it uses to create the reagent container which was overriding the reagents.maximum_volume change. Now it changes the proper var and works again.

* Fixes Densified Chemicals

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-01-07 23:49:47 +01:00
SkyratBot
f3dfe15c10 [READY] Hark! The Medieval Reality Simulation Dome Emergency Shuttle! (+speech mutation, NOTELEPORT fixes and teambuilder improvements) (#2505)
Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-01-05 17:17:26 +01:00
SkyratBot
9da13726c4 [MIRROR] Fix hydroponics tray examine messages (#2463)
* Fix hydroponics tray examine messages (#55861)

Some oversights when examine procs were changed to return lists of
strings, rather than using `to_chat()`, meant that the examine for
hydroponics was printing some messages in the wrong order.

In addition, examining the tray when close to it was only printing the
`to_chat()` messages, so it has been changed to `examinate`.

* Fix hydroponics tray examine messages

Co-authored-by: coiax <yellowbounder@gmail.com>
2021-01-03 14:45:15 +01:00
SkyratBot
d2b856b00b [MIRROR] Regular onions no longer turn into red onion slices when cut (#2303)
* Fix onyo (#55650)

Regular onions no longer turn into red onion slices when cut

* Regular onions no longer turn into red onion slices when cut

Co-authored-by: Dex <60656530+Ewwmewgewd@users.noreply.github.com>
2020-12-24 12:34:00 +01:00
SkyratBot
3ccb75e743 [MIRROR] Makes reagent updates more event based, also makes plasma boil properly. (#2280)
* Makes reagent updates more event based, also makes plasma boil properly.

* Update drinkingglass.dm

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-23 06:25:03 +01:00
SkyratBot
3c9d15268b [MIRROR] Adds hydroponics shrubs, allowing botanists to grow hedges. (#2267)
* 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.

* Adds hydroponics shrubs, allowing botanists to grow hedges.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-12-21 19:57:21 +00:00
SkyratBot
f50d7f31cc [MIRROR] Some griddle fixes (#2235)
* Some griddle fixes (#55548)

* GriddleFixes

* based

* make bacon burn properly

* Some griddle fixes

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-19 03:52:50 +01:00
SkyratBot
afce3e2a94 [MIRROR] pass_flags handling refactor + rewrites a part of projectiles for the n-th time (#2097)
* pass_flags handling refactor + rewrites a part of projectiles for the n-th time (#54924)

Yeah uhh this'll probably need testmerging even after it's done because yeah it's a bit big.
If y'all want me to atomize this into two PRs (pass flags vs projectiles) tell me please. Pass flags would have to go in first though, in that case, as new projectile hit handling will rely on pass_flags_self.
Pass flags:

Pass flags handling now uses an atom variable named pass_flags_self.
If any of these match a pass_flag on a thing trying to pass through, it's allowed through by default.
This makes overriding CanAllowThrough unnecessary for the majority of things. I've however not removed overrides for very.. weird cases, like plastic flaps which uses a prob(60) for letting PASSGLASS things through for god knows why.
LETPASSTHROW is now on pass_flags_self
Projectiles:

Not finalized yet, need to do something to make the system I have in mind have less unneeded overhead + snowflake

Basically, for piercing/phasing/otherwise projectiles that go through things instead of hitting the first dense object, I have them use pass_flags flags for two new variables, projectile_phasing and projectile_piercing. Anything with pass_flags_self in the former gets phased through entirely. Anything in the latter gets hit, and the projectile then goes through. on_hit will also register a piercing hit vs a normal hit (so things like missiles can only explode on a normal hit or otherwise, instead of exploding multiple times. Not needed as missiles qdel(src) right now but it's nice to have for the future).

I still need to decide what to do for hit handling proper, as Bump() is still preferred due to it not being as high-overhead as something like scanning on Moved(). I'm thinking I'll make Moved() only scan for cases where it needs to hit a non-dense object - a prone human the user clicked on, anything special like that. Don't know the exact specifics yet, which is why this is still WIP.

Projectiles now use check_pierce() to determine if it goes through something and hits it, doesn't hit it, or doesn't go through something at all (should delete self after hitting). Will likely make an on_pierce proc to be called post-piercing something so you can have !fun! things like projectiles that go down in damage after piercing something. This will likely deprecate the process_hit proc, or at least make it less awful.

scan_for_hit() is now used to attempt to hit something and will return whether the projectile got deleted or not. It will delete the projectile if the projectile does hit something and fails to pierce through it.

scan_moved_turf() (WIP) will be used for handling moving onto a turf.

permutated has been renamed to impacted. Ricocheting projectiles get it reset, allowing projectiles to pierce and potentially hit something again if it goes back around.

A new unit test has been added checking for projectiles with movement type of PHASING. This is because PHASING completely causes projectiles to break down as projectiles mainly sense collisions through Bump. The small boost in performance from using PHASING instead of having all pass flags active/overriding check_pierce is in my opinion not worth the extra snowflake in scan_moved_turf() I'd have to do to deal with having to check for hits manually rather than Bump()ing things.
Movement types

UNSTOPPABLE renamed to PHASING to better describe what it is, going through and crossing everything but not actually bumping.
Why It's Good For The Game

Better pass flags handling allows for less proc overrides, bitflag checks are far less expensive in general.

Fixes penetrating projectiles like sniper penetrators

This system also allows for better handling of piercing projectiles (see above) without too much snowflake code, as you'd only need to modify on_pierce() if you needed to do special handling like dampening damage per target pierced, and otherwise you could just use the standardized system and just set pass flags to what's needed. If you really need a projectile that pierces almost everything, override check_pierce(), which is still going to be easier than what was done before (even with snowflake handling of UNSTOPPABLE flag process_hit() was extremely ugly, now we don't rely on movement types at all.)

* pass_flags handling refactor + rewrites a part of projectiles for the n-th time

Co-authored-by: silicons <2003111+silicons@users.noreply.github.com>
2020-12-09 23:44:54 +01:00
SkyratBot
2913364658 [MIRROR] Kills oldfood, Puts newfood on top. (#2041)
* Kills oldfood, Puts newfood on top. (#55160)

Slays the last of old-food, making new-food the new normal.

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

* Kills oldfood, Puts newfood on top.

* Update collars.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: MrMelbert <kmelbert4@ gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-04 16:46:26 +01:00
SkyratBot
c487c73f39 [MIRROR] Grep for space indentation (#1969)
* Grep for space indentation

* aa

* Update species.dm

* Update species.dm

* Update maps.dm

* Update examine.dm

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-01 12:26:41 +01:00
SkyratBot
2cf928b280 [MIRROR] Init sanity unit test (#1980)
* Init sanity unit test (#55147)

https://github.com/tgstation/TerraGov-Marine-Corps/pull/5326
Stemming from
https://github.com/ParadiseSS13/Paradise/pull/14770

Basically it just checks for bad initialize calls

* Init sanity unit test

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-11-30 23:01:45 +00:00
SkyratBot
64c0ecb13f [MIRROR] Changes grenade proc names to be more clear (#1897)
* Changes grenade proc names to be more clear (#55181)

Grenades have, for the longest time, used the proc name preprime() to refer to arming a timed grenade so that it will boom in a few seconds, and prime() to refer to the grenade actually going boom (or releasing foam or anything else grenades do when they go off). This was very confusing, so now these two procs are called arm_grenade() and detonate().

* Changes grenade proc names to be more clear

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2020-11-28 12:55:30 +01:00
SkyratBot
7d653f1f6b [MIRROR] Moves grown food to newfood (#1794)
* Moves grown food to newfood (#55040)

Moves grown food to newfood
Gives trash element support for callbacks for item creation override

* Moves grown food to newfood

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-23 22:35:35 +00:00
SkyratBot
79bda46b49 [MIRROR] You may now correctly harvest replica pod seeds when the hydroponics tray has no power. (#1770)
* Typo fix and bug fix (#55075)

Replica pods were calling CanUse as opposed to canUseTopic when harvesting seeds, and since CanUse hinges on the machinery being usable and powered, it was preventing the harvesting of replica pods when depowered as expected. The only thing that should be needed for harvesting trays should pretty exclusively be the standard level of adjacency.
also corrects a line of spelling.

Fixes a bug, corrects some grammar. Makes the world a better place.

* You may now correctly harvest replica pod seeds when the hydroponics tray has no power.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-11-22 18:21:41 +00:00
SkyratBot
89a8cb991a [MIRROR] moves misc food to newfood code (#1725)
* moves misc food to newfood code (#54788)

misc food is now using newfood code

* moves misc food to newfood code

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-11-19 07:21:23 +01:00
SkyratBot
9e88359f04 [MIRROR] Re-assesses 99% of vending prices through Arconomics to match player resources and round-length. (#1686)
* Re-assesses 99% of vending prices through Arconomics to match player resources and round-length. (#54715)

* The Re-pricening

* Rewritten and adjusted for paycheck defines.

* I made the map changes finally.

* And the refills too.

* "OH YEAH REPLACING IT ALL WITH DEFINES AND SCALING IT THE EXCEL DOCUMENT WILL BE EASY, ARCANE!!!"

* And the premium ones too.

* Accidently spoiled a future pr due to dme bleedover

* Re-assesses 99% of vending prices through Arconomics to match player resources and round-length.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-11-14 21:49:11 +01:00
SkyratBot
2ff5f9b259 [MIRROR] Move death(), gib(), and dust() from /mob to /mob/living (#1634)
* Move death(), gib(), and dust() from /mob to /mob/living

* a

Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-11-10 22:01:47 +01:00
SkyratBot
119dd2ea3d [MIRROR] Basepixels (#1512)
* Basepixels (#54652)

* Basepixels

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-30 17:30:11 +00:00
SkyratBot
44f1877b18 [MIRROR] Finally, peas for the whole station. (#1462)
* Finally, peas for the whole station. (#54573)

This PR brings three new plants, and 6 new food recipes into being. This is a combined port of Citadel-Station-13/Citadel-Station-13#12211 and Citadel-Station-13/Citadel-Station-13#12510, along with the fixes made along the way.

Laugh Peas contains 7% Laughter.
World Peas contains 10% Pax and Happiness, but takes at least 21 cycles to bear a harvest, by having a maturation time of 20.
Salad of Eden contains 3 units of Earthsblood, 5 units of Omnizine, and 2 units of Happiness, but requires one of every ambrosia leaf, as well as a world pea.

Credits to TripleZeta for the base peas sprite, and Stewydeadmike for the Laugh, World, and food sprites. Without them, the peas would have remained an ideasguy sort of deal.

* Finally, peas for the whole station.

Co-authored-by: TheObserver-sys <58029438+TheObserver-sys@users.noreply.github.com>
2020-10-25 11:12:08 +01:00
SkyratBot
f02e30a50e [MIRROR] Implements timed_action_flags for do_after-like procs (#1385)
* Implements timed_action_flags for do_after-like procs (#54409)

Originally I wanted to fix an issue where the `get_up()` `do_after()` would ignore the callback checks, because it was `uninterruptible`, so that made me refactor these procs to allow for higher granularity on checks and standardize behavior a bit more.
There's more work to be done for them, but one thing at a time.

* Removes the `uninterruptible` check in favor of the more granular `timed_action_flags`
* Cleans code on the `do_atom`, `do_after_mob`, `do_mob` and `do_after` procs to standardize them a little better.

* Implements timed_action_flags for do_after-like procs

* Update horror_form.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-21 07:06:03 +02:00
SkyratBot
b8d9874c27 [MIRROR] Converts all A && A.B into A?.B (#1292)
* Converts A && A.B into A?.B (#54342)

Implements the ?. operator, replacing code like A && A.B with A?.B

BYOND Ref:
When reading A?.B, it's equivalent to A && A.B except that A is only evaluated once, even if it's a complex expression like a proc call.

* Converts all A && A.B into A?.B

Co-authored-by: ZeWaka <zewakagamer@gmail.com>
2020-10-13 23:19:25 +02:00
SkyratBot
9a94160fbf [MIRROR] Fix Fix incorrect Initialize arguments (#1113)
* Fix incorrect Initialize arguments again (#54123)

Fixes #54013 because loc is not the second arg

* Fix Fix incorrect Initialize arguments

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-10-02 14:58:11 +02:00
SkyratBot
ada67ac929 [MIRROR] Ports soup, snacks, icecream, salads and meat to newfood (#1074)
* Ports soup, snacks, icecream, salads and meat to newfood (#54028)

Ports soup, snacks, icecream, salads and meat to newfood

* Ports soup, snacks, icecream, salads and meat to newfood

* Update true_changeling.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-30 14:37:15 +02:00
SkyratBot
f8eef23e64 [MIRROR] Fixes incorrect Initialize() arguments (#1029)
* Fixes incorrect Initialize() arguments (#54013)

* Fixes incorrect Initialize() arguments

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-09-29 00:18:52 +02:00