Commit Graph
244 Commits
Author SHA1 Message Date
bfcda225eb [MIRROR] Fixing multi-z defying mechas (AGAIN) (#1598)
* Fixing multi-z defying mechas (AGAIN) (#54753)

I already fixed this issue almost a year ago, but the mecha refactor guy managed to revert the fix at the distance of 8 months.

* Fixing multi-z defying mechas (AGAIN)

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2020-11-07 05:08:18 +00:00
9906d893e3 [MIRROR] Fixes mecha rotate & spacemove sounds and makes stomping silence flag instead of null based (#1558)
* Fixes mecha rotate & spacemove sounds and makes stomping silence flag instead of null based (#54529)

* comit

* bump

* Update code/modules/vehicles/mecha/_mecha.dm

Co-authored-by: Couls <coul422@ gmail.com>

* Update code/modules/vehicles/mecha/_mecha.dm

Co-authored-by: Rohesie <rohesie@ gmail.com>

Co-authored-by: Couls <coul422@ gmail.com>
Co-authored-by: Rohesie <rohesie@ gmail.com>

* Fixes mecha rotate & spacemove sounds and makes stomping silence flag instead of null based

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Couls <coul422@ gmail.com>
Co-authored-by: Rohesie <rohesie@ gmail.com>
2020-11-03 05:16:13 +00:00
d4ab507510 [MIRROR] Fixes an accidental (???) reversion in mech code (#1541)
* Merge pull request #54396 from necromanceranne/revert_reversion_mechs

Fixes an accidental (???) reversion in mech code

* Fixes an accidental (???) reversion in mech code

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-11-02 18:43:11 +01:00
cc645914e6 [MIRROR] [Ready]New walking and turning sounds for the Ripley Mk. I and II, interaction sounds for the hydraulic clamp (#1538)
* [Ready]New walking and turning sounds for the Ripley Mk. I and II, interaction sounds for the hydraulic clamp (#54523)

* [Ready]New walking and turning sounds for the Ripley Mk. I and II, interaction sounds for the hydraulic clamp

Co-authored-by: InvalidArgument3 <51190031+InvalidArgument3@users.noreply.github.com>
2020-11-02 02:59:03 +00:00
119dd2ea3d [MIRROR] Basepixels (#1512)
* Basepixels (#54652)

* Basepixels

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-30 17:30:11 +00:00
5165d42c1c [MIRROR] Ridden vehicles pass bullets, checks for new incapacitation traits for whether or not you fall off (#1521)
* Ridden vehicles pass bullets, checks for new incapacitation traits for whether or not you fall off (#54376)

Ridden vehicles now pass any objects that normally pass tables. This includes bullets, thrown objects, and probably dwarves?

Ridden vehicles check for the various incapacitation traits instead of just usable hands for whether you fall off. Doesn't fix corpses buckled to these objects but that'll require more work to fix because it's all tied into relay_move.

This doesn't affect any ridden object that doesn't checks for hand availability. Like skateboards and wheelchairs (although how exactly your wheelchair is moving without hands or mechanical parts is beyond me).

* Ridden vehicles pass bullets, checks for new incapacitation traits for whether or not you fall off

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
2020-10-30 17:28:08 +00:00
e102d9742a [MIRROR] Various mech fixes (#1479)
* Various fixes to mechs (#54595)

    Vehicle objects now call bumpopen() rather than Bumped() when moving into an airlock, and thus will once again open any door the pilot has access to. Closes #54480

    Fixes Ripley MK-I to MK-II conversions destroying equipment.

    MK-I to MK-II conversions now sets the MK-II's integrity to be same percentage as the MK-I's integrity. Thus, upgrading a full-health MK-I will no longer result in a damaged MK-II.

    Both Ripley types no longer start with an orebox, that function has been moved to the Clarke.

* Various mech fixes

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2020-10-27 09:05:24 +00:00
e516c91911 [MIRROR] Fixes motorised wheelchairs not moving (#1422)
* Fixes motorised wheelchairs not moving (#54507)

* Fixes motorised wheelchairs not moving

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-10-22 04:41:45 +02:00
a566a0ae94 [MIRROR] Mecha follow up 2 edition 2 (#1404)
* Mecha follow up 2 edition 2 (#54454)

fixes mech power not using deltatime
fixes a few mech bugs
moved mecha gun logging to attacklog instead of mechalog

* Mecha follow up 2 edition 2

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-10-21 07:38:24 +02:00
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
25eaba7684 [MIRROR] Vehicle housekeeping (#1373)
* Vehicle housekeeping (#54455)

Removed redundacies, autodoc, early returns, moved attackby into welder act, made some CamelCase into a snake_case

* Vehicle housekeeping

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-10-19 17:21:41 +01:00
8b10c19ae0 [MIRROR] [READY] Fixes being able to use items while inside a mech (#1369)
* [READY] Fixes being able to use items while inside a mech (#54302)

* [READY] Fixes being able to use items while inside a mech

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-10-19 08:58:21 +02:00
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
970a2b03d6 [MIRROR] Mobility refactor: no more update_mobility() (#1233)
* Mobility refactor: no more update_mobility()

* Update robot.dm

Fixes robots.

* megadumb

* Update robot.dm

* weh

* Update gunpoint_datum.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-10 02:31:35 +02:00
cae0e4cb5c [MIRROR] Adds Alloy Materials (#1228)
* 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)

* Adds Alloy Materials

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2020-10-10 00:29:56 +01:00
6541dc96ce [MIRROR] Minor tweaks and cleanup to mecha drill equipment's action code (#1226)
* Merge pull request #54098 from Timberpoes/dirty-do-after-fix

Minor tweaks and cleanup to mecha drill equipment's action code

* Minor tweaks and cleanup to mecha drill equipment's action code

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
2020-10-09 18:48:26 +02:00
7eeaefe645 [MIRROR] Fixes some potential sleeps as detected by SpacemanDMM improvements (#1216)
* 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

* Fixes some potential sleeps as detected by SpacemanDMM improvements

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-10-09 18:28:59 +02:00
aeffa9165e [MIRROR] Yellow slime core nerfs and adjustments. (#1193)
* Yellow slime core nerfs and adjustments. (#54198)

Yellow slime extract can no longer turn into a self-charging yellow slime core. This functionality has been completely removed.

Hypercharged yellow slime cores no longer self-charge.
They now have a capacity of 50,000 (up from their previous 20,000). This is 10,000 more than a bluespace power cell.
Their recharge rate is 2500. This is relatively slow for the power capacity, as hyper and bluespace cells charge at 10% of their capacity respectively and this is 5%.

Motorised wheelchairs have had their power usage reduced to 5% of their previous value since they were basically only usable with rechargable cells before

* Yellow slime core nerfs and adjustments.

* Update special.dm

* Update special.dm

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-10-08 04:46:52 +02:00
4e36843f8c [MIRROR] More deletion cleanup (#1112)
* More deletion cleanup (#53681)

- Observer mobs not delling correctly
- AI delling basically nothing
- pods not delling glow effect
- minor slime cleanup

* More deletion cleanup

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-10-02 14:57:29 +02:00
9be3a7b8f6 [MIRROR] Moblity refactor: hands blocked and restrained edition. (#1051)
* Moblity refactor: hands blocked and restrained edition.

* Update carbon_defense.dm

* Update emotes.dm

Co-authored-by: Rohesie <rohesie@gmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-29 13:57:02 +02:00
172ecc409c [MIRROR] Mining mechas refactors (#1026)
* Mining mechas refactors (#53676)

* Mining mechas refactors

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-09-29 00:17:23 +02:00
98568e191a [MIRROR] Enforce preserving parent proc return values across ui_act call stacks (#999)
* Enforce preserving parent proc return values across ui_act call stacks (#53964)

All ui_act procs should call parent by default. All procs should preserve the value of the parent proc when it's TRUTHY and pass it down the call stack. No UI should be interactible when its flags or state indicate it should not be, except when explicity overriden by child procs intentionally disregarding parent return values to achieve a specific goal.

* Enforce preserving parent proc return values across ui_act call stacks

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-26 17:17:59 +02:00
6ab4595354 [MIRROR] Makes wheelchairs foldable. (#967)
* Makes wheelchairs foldable. (#53796)

First, this removes 'The Whip' wheelchair as it doesn't show up anywhere or really do anything so it's kind of bloat. The other thing this does is make the metal and gold wheelchairs foldable into an item, like the rollerbeds. Motorized wheelchairs are not foldable. The metal wheelchair item does as much damage as a chair, and the gold one packs an extra oomph. Hiynastrike helped me with the sprites.

* Makes wheelchairs foldable.

Co-authored-by: Coffee <63162339+CoffeeDragon16@users.noreply.github.com>
2020-09-24 20:34:13 +02:00
18f4fb5029 [MIRROR] Fix skill related runtimes in mindless mobs. (#965)
* Fix skill related runtimes in mindless mobs. (#53691)

Fixes related to mindless mobs using skills

* Fix skill related runtimes in mindless mobs.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-24 20:33:19 +02:00
ec28f27bf8 [MIRROR] Fix broken dmdoc crosslinks (#933)
* Fix broken dmdoc crosslinks

* Update species.dm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-23 15:14:45 +02:00
b52dcb5801 [MIRROR] Mecha medical and other_equipment refactor (#926)
* Mecha medical and other_equipment refactor (#53637)

* Mecha medical and other_equipment refactor

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-09-23 14:42:20 +02:00
c04a0de44d [MIRROR] Fixes scooter construction (#915)
* fixed scooter construction (#53866)

* Fixes scooter construction

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
2020-09-22 07:22:38 +02:00
4b6cc9d088 [MIRROR] Arcane finishes the fight and adds all the missing belt sprites and a worn sprite Admin Tool. (#830)
* Arcane finishes the fight and adds all the missing belt sprites and a worn sprite Admin Tool. (#53305)

* Arcane finishes the fight and adds all the missing belt sprites and a worn sprite Admin Tool.

Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com>
2020-09-17 02:05:30 +01:00
ccd2b1289d [MIRROR] Fixes comments that trigger new lint warning (#819)
* Fix comments that trigger new lint warning (#53737)

New lint catches potential fuckery with meme comments.

Now you know why every meme ////comment\\ had a newline under it in
order to compile.

* Fixes comments that trigger new lint warning

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2020-09-16 03:41:14 +01:00
d652a1a0c5 [MIRROR] Fix mechs not using power to move, gygax leg actuator button not matching actual state, and mechpads not working (#773)
* Fix mechs not using power to move, gygax leg actuator button not matching actual state, and mechpads not working

* Update tgui.bundle.js

Co-authored-by: msgerbs <msgerbs@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-13 03:33:00 +02:00
d09940bcac [MIRROR] Adds rollerskates, wheely can do tricks (#751)
* Adds rollerskates, wheely can do tricks (#53497)

This turns wheelys into a skateboard subtype so they are no longer a copy paste of old skateboard code. They have lower stability compared to skateboards.
I've also made a whole bunch of small adjustments in the process to make skateboard code cleaner and more modular, such as turning the improvised skateboard to its own subtype so that construction steps don't need to be overwritten for all subtypes

Adds two subtypes of wheelys:
-Rollerskates: more stable than wheelys but slow you down when the wheels are retracted
-Skishoes: For skiing! Only work on snow, obviously

I wanted to add some fun alternatives to skateboards with their own drawbacks, and the ski shoes were an opportunity to do something fun for icemoon maps

* Adds rollerskates, wheely can do tricks

Co-authored-by: Mickyan <38563876+Mickyan@users.noreply.github.com>
2020-09-11 23:18:39 +02:00
1e705faa19 [MIRROR] Process procs now properly utilize deltatime when implementing rates, timers and probabilities (#709)
* Process procs now properly utilize deltatime when implementing rates, timers and probabilities (#52981)

* Process procs now properly use deltatime when implementing rates, timers and probabilities

* Review fixes

* Geiger counters cleanup

Made hardsuit geiger code more similar to geiger counter code
Geiger counters are more responsive now

* Moved SS*_DT defines to subsystems.dm

* Rebase fix

* Redefined the SS*_DT defines to use the subsystem wait vars

* Implemented suggested changes by @AnturK

* Commented /datum/proc/process about the deltatime stuff

* Send delta_time as a process parameter instead of the defines

Also DTfied acid_processing

* Dtfied new acid component

* Process procs now properly utilize deltatime when implementing rates, timers and probabilities

Co-authored-by: Donkie <daniel.cf.hultgren@gmail.com>
2020-09-09 08:19:23 +02:00
cd7b3d67e0 [MIRROR] Mecha followup one (#693)
* Mecha followup one (#53470)

fixes #53384
fixes #53327
fixes a bug where mechs could move too fast
fixes cooldown being inconsistent
makes strafe behavior better
fixes lights being very small

fixes #50639
fixes #47373
fixes #43605

Moved some code to the correct spots and did the varedit bitfield thing

* Mecha followup one

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-09-09 08:11:59 +02:00
caa6b81048 Cleans up extinguish_mob and prevents perpetual fire (#53252) (#685)
Co-authored-by: NightRed <nightred@gmail.com>
2020-09-07 03:40:42 +02:00
24502daba9 [MIRROR] Reenables SHOULD_NOT_SLEEP on initialize (#650)
* Reenables SHOULD_NOT_SLEEP on initialize (#53378)

* Reenables SHOULD_NOT_SLEEP on initialize

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
2020-09-06 05:15:19 +02:00
f93ca59e1d [MIRROR] [R&D Machine Overhaul, Part 1] - Various machines no longer require R&D machines to function. (#618)
* [R&D Machine Overhaul, Part 1] - Various machines no longer require R&D machines to function. (#53339)

Removes various R&D machine requirements including circuit imprinters, protolathes, destructive analyzer and the mechfabs. All machines that previously required an R&D console to function are standalone, including omni protolathes and omni imprinters.

Replaces "production"-class R&D consoles with civilian modular computers on all maps. There are no longer "production"-class consoles.

Removes the concept of "core" R&D consoles. R&D consoles only research and handle tech disks and stuff. All existing core consoles have been switched to their basic archetype.

Because it's a pain in the ass to manage, material reclaimation has been removed from the destructive analyzer. The destructive analyzer is now ONLY for destroying items and unlocking research nodes such as illegal and alien tech.

* [R&D Machine Overhaul, Part 1] - Various machines no longer require R&D machines to function.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-02 03:36:16 +02:00
cd0d700a85 [MIRROR] Mecha refactor 2020 (#579)
* Mecha refactor 2020

* Update effects.dm

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-09-02 02:16:51 +02:00
SkyratBotGitHubTiviPlus <TiviPlus>CoulsTiviPlus
ec09510459 Bools and returns super-pr (#53221) (#565)
Replaces like 70-80% of 0 and such, as a side effect cleaned up a bunch of returns
Edit: Most left out ones are in mecha which should be done in mecha refactor already
Oh my look how clean it is

Co-authored-by: TiviPlus <TiviPlus>
Co-authored-by: Couls <coul422@gmail.com>

Co-authored-by: TiviPlus <57223640+TiviPlus@users.noreply.github.com>
Co-authored-by: Couls <coul422@gmail.com>
2020-08-30 05:12:59 +02:00
c1aea0b5a3 [MIRROR] 9x10 Holodeck and New Holodeck Simulations (#543)
* 9x10 Holodeck and New Holodeck Simulations (#52793)

9x10 Holodeck and New Holodeck Simulations

* 9x10 Holodeck and New Holodeck Simulations

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2020-08-27 09:41:38 -04:00
f733bc21a8 [MIRROR] Mobility refactor and code cleanup - lacking appendages edition (#509)
* mobility refactor (#52929)

* Mobility refactor and code cleanup - lacking appendages edition

Co-authored-by: Rohesie <rohesie@gmail.com>
2020-08-25 01:34:46 +02:00
3bd294f26f [MIRROR] Defines damage flags. (Hopefully without 50+ commits) (#491)
* Defines damage flags. (#53158)

* Defines damage flags. (Hopefully without 50+ commits)

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2020-08-24 22:52:31 +02:00
9e10d3de16 [MIRROR] Fixes clown car runtime (#370)
* Merge pull request #52911 from Rohesie/clowncar

Fixes clown car runtime

* Fixes clown car runtime

Co-authored-by: nemvar <47324920+nemvar@users.noreply.github.com>
2020-08-17 14:51:34 +02:00
49f7becb88 [MIRROR] Personalized combat messages part 2 (#334)
* Personalized combat messages part 2 (#52890)

Adds more "personalized" combat messages for all participants in a fight: the attacker, the victim and the spectators

* Personalized combat messages part 2

* Update misc.dm

Co-authored-by: kingofkosmos <riki.sundberg@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2020-08-14 23:29:15 +02:00
8932e4cdbe [MIRROR] Fixes tesla coil hell contraptions (#333)
* Fixes tesla coil hell contraptions (#52889)

Removes the ability for tesla coils to generate power with more then 85% efficiency.
Cleans up the remainder of my zap_act refactor, making the proc better fit its usecase and removing some unneeded code.
Adds a check in the tesla coil zap() proc that makes sure we're not trying to use power that's not there.
Removes some seemingly complex math from said proc, replaces it with a static 20% draw * the efficiency.

* Fixes tesla coil hell contraptions

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2020-08-13 22:38:29 +02:00
62676e72a8 Force LF line endings with gitattributes and convert repo (#52266)
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2020-07-16 03:02:40 +03:00
ShizCalev c9b87df67e Fixes inducers not working on some stuff due to missing get_cell() checks 2020-07-03 01:13:07 -04:00
Jordan BrownandGitHub c89d7b188d Fix Docker Build (#51781)
* Change BYOND version to 513.1526

* Remove BSQL from docker image

* Add a docker publish action

* Add a docker test action

* Cleanup runtime icons

* Cleanup runtime sounds

* Correct docker workflow names

* Add Dockerfile as an appveyor cache dependency

* Fix build issues

* Copy all dlls

* No need for .dlls in docker

* Minor cleanups
2020-06-22 16:49:07 +02:00
nemvarandGitHub b87f65d95e Converts ALL typepaths to lowercase (#51642)
* Case of lower

* More changes

* Ruins the nice 420 diff, brainfart when doing the second batch of conversions

* More changes

* Next batch. I think

* Converts even more paths

* Restarts bots

* Capital Free Zone

* Come on travis, do something

* Renames areas

* Bots, please stop dying

* Updates CONTRIBUTING.md and updates a few paths I missed.

* APC recgarftzfvas
/obj/item/computer_hardware/recharger/apc to /obj/item/computer_hardware/recharger/apc_recharger
2020-06-17 20:47:57 -03:00
Jordan BrownandGitHub 6c09eaf7d2 Merge pull request #51649 from Firecage/clowncar_nerf
Clown cars will no longer be able to float over ice chasms.
2020-06-16 14:21:13 -04:00
Firecage e5b3cb208f Clown cars will no longer be able to float over chasms. 2020-06-15 00:01:16 +02:00