Commit Graph

798 Commits

Author SHA1 Message Date
Cerebulon
c2f4d10b8b Mech and Locker Sounds 2022-01-17 13:22:33 +00:00
Atermonera
4d8c43f106 What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning

* Basic tools set tool quality

* Toolspeed is replaced by tool quality checks

* Addresses assorted results from live test

* Extra cleanup
2022-01-16 15:52:55 -08:00
Atermonera
0232be9531 Repaths obj/effect/effect, datum/effect/effect [MDB_IGNORE] (#8312)
* Repaths obj/effect/effect, datum/effect/effect

* linter fixes

* No new

Co-authored-by: Atermonera <forslandm@gmail.com>
2022-01-16 00:14:39 -08:00
MistakeNot4892
2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
Verkister
2394a762c9 Fixes runtime in mech equipment deletion (#8308)
* Fixes runtime in mech equipment deletion

No need to detach from anything when you're already loose.

* Update mecha_equipment.dm
2021-09-29 17:33:00 -08:00
MistakeNot4892
7392991016 Merge pull request #8269 from Mechoid/MechaProcessing
Mecha Bugfixes
2021-09-17 10:31:24 +10:00
Mechoid
6928abdfc5 Fixes dumbassery. 2021-09-14 20:10:52 -07:00
Mechoid
3bafbd57a5 My god I'm an idiot. Does the thing but intelligently. 2021-09-08 19:56:36 -07:00
Mechoid
9ea507cf4f Turf shenanigannery 2021-09-08 19:45:30 -07:00
Mechoid
63d6652dd0 phase() is now a separate proc from movement, and is asynchronous.
Able to return True or False for Phased or Not, in the event it's ever used in a sequence.
2021-09-02 22:06:37 -07:00
lbnesquik
c501391a22 Adds a base matter cost to mech weapons and equipment. (#8265)
* Adds a base matter cost to mech weapons and equipment.

* Matter not materials
2021-09-03 11:53:25 +10:00
Mechoid
d36a66887f Phasing. 2021-09-01 18:20:46 -07:00
Mechoid
c2c0fe3530 Mechas actually process.
Switch a damage manager.
2021-09-01 18:16:23 -07:00
Atermonera
959511918c Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable (#8156)
* Replaces DEFAULT_WALL_MATERIAL with MAT_STEEL, where applicable

* floorbot compiles
2021-06-29 20:28:16 -07:00
MarinaGryphon
593246b595 Linter diagnostics + bans non-var relative pathing (#8150)
* Linter diagnostics + bans non-var relative pathing

* Enable DreamChecker Annotations

* make it executable

* update hashFiles

* oops

* tries to fix it... again

* trying again

* path

* repath

* fix perms

* fixes weird capitalisation issue
2021-06-20 13:14:29 -09:00
MarinaGryphon
f9613f24bc Removes Global Iterators (#8146)
* Removes global iterators

* fix dme?

* removes useless var, TRUE/FALSE for state/equip_ready
2021-06-18 09:06:17 -09:00
Hatterhat
ce7baa0946 in this thread, i disguise a buff as qol again 2021-06-06 05:57:01 -05:00
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
Novacat
55533c05d9 Mecha Balance and Fighter Fixes (#8081)
* Mecha Balance and Fighter Fixes

- Shields are no longer buildable by Robotics
- Fighters are now equipped with components that enable them to go fast
- Fighter step cost is now zero

* Mecha are now repairable

* Code Correction

* Mrowl
2021-05-17 21:52:49 -09:00
MistakeNot4892
92c6bead11 Added recon and cargo platforms. 2021-03-13 13:24:28 +11:00
MistakeNot4892
b22a0568a3 Sideports a couple of init unit tests from Neb. (#7893)
* Sideports a couple of init unit tests from Neb.

* Trying to unfuck initialize logic.

* Removing del()s.

* Adjusting return values to Initialize().

* Moving some dangerous object logic from obj onto the two types that use it.

* Rolling back some init changes and commenting out initialized atom unit test.

* this comment formatting is a minor war crime

* Removed sleep() from signaler circuit Initialize().

* Additional Init fixes post-rebase.

* Uncomments subsystem test since that's passing.
2021-02-21 12:03:34 -09:00
Mechoid
1de8bc1c40 Industrial Expansion (#7811)
* Begins work on the Industrial expansion, ft hidden Lore

* Removed Painite, Quartz, and Void Opal from generation pending their eventual uses. Recipes modified to use them have been reverted of this use.

Fix Fix.

* Reset map to master.

* Add copper to Robotics, R&D, Engineering, and EVA.
2021-01-27 19:28:13 -09:00
Mechoid
95ea4f6f2d Mech Appearance Update (#7818)
* Mechs are now properly scaled. Also fixes the FUCKING taur sprites.

* What
2021-01-24 10:18:05 -09:00
Hatterhat
1e91b20592 running board (#7787)
Co-authored-by: Hatterhat <Hatterhat@users.noreply.github.com>
2020-12-23 00:49:17 -08:00
Mechoid
2018d76cae Department and Round Goals (#7369)
* Baseline work for Department Goals. Implements round-end stats, based in 3 categories of roughly-more-interesting to less interesting.

* Active Goal Separation.

* Map.

* Actually does the second half of this in this PR instead of a different one.
2020-12-11 15:16:47 -09:00
Atermonera
812a3b1cd9 Merge pull request #7630 from Mechoid/ExoEncumberence
Exo Encumberence
2020-09-23 22:55:33 -07:00
ShadowLarkens
927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
Atermonera
106ac35467 Merge pull request #7597 from Rykka-Stormheart/shep-dev-airlock-sound-prefs
Adds Toggles to Revert to Legacy Door Sounds and Enable Department Doors
2020-09-16 16:39:09 -07:00
Kates
26804bc7af Allow mechs to butcher things with their drill. (#7493)
* Allow mechs to butcher things with their drill.
- Vague copy of a TG feature, made difficult by their different code. Still, it works.

* Add changelog
2020-09-06 11:18:05 -07:00
Mechoid
394e787796 Tweaken 2020-09-05 18:11:05 -07:00
Mechoid
9074e80c11 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into ExoEncumberence
# Fix Conflicts:
#	code/game/mecha/mecha.dm
2020-09-05 08:28:24 -07:00
Kates
1e6de9d8b5 Revert strafing speed nerf. (#7618)
A 1.5x modifier was added to strafing speed without much of any info. This is not something that should had been added without at least clearly saying it in the PR that introduced it.

Maybe it could comeback for shitty actuators, but seeing as we only have a single actuator variant at the moment, this has to go.
2020-09-05 07:44:39 -07:00
Cyantime
dbeb294ee1 Fix mech weapons breaking on self-deleting mobs (#7615) 2020-09-05 07:26:18 -07:00
Kates
f7295ff801 Mech file typo. Mostly capitals. (#7619) 2020-09-05 07:17:09 -07:00
Mechoid
0ddefbbadc Exosuits 3: It came from Robotics 2020-09-05 07:15:46 -07:00
Rykka
734d863aff Adds Toggles to Revert to Legacy Door Sounds and Enable Department Doors
Self-explanatory.

Adds toggle to go back to the old-school SS13 legacy airlock sounds, including the glass windoor airlock sounds, and a toggle to disable the per-department door sounds, which some found jarring/unrealistic.

If Per-Department sounds are disabled, the department doors will use the default sounds except for open/close except for glass airlocks, which use cmd3o/c, and maintenance, which uses hall1o/c, following maintainer-requested behavior for these doors.
PR with changes from staff: https://github.com/PolarisSS13/Polaris/pull/7595

This also relocates the following sounds to be inside machines/door for more consistency:
- airlock.ogg
- airlockclose.ogg
- airlockforced.ogg
- airlock_creaking.ogg
- boltsup.ogg
- boltsdown.ogg
- blastdoorclose.ogg
- blastdooropen.ogg
- windowdoor.ogg 

Demonstration Here (recorded before the change to make department doors use maintainer-chosen audio if department was disabled): https://giant.gfycat.com/WhichUniformBrahmancow.webm
2020-08-29 03:17:31 -04:00
Atermonera
7595e09d2b Merge pull request #7474 from lbnesquik/Kot-Mecha-missile-tweak
Improvements to mech missiles.
2020-08-25 16:15:12 -07:00
Atermonera
e68d9e8b91 Merge pull request #7494 from lbnesquik/Kot-drill-zeven-tweak
Delete some duplication in the mech drill
2020-08-20 19:17:47 -07:00
Mechoid
3c30670b9c Exosuit Upkeep (#7473)
* Exosuit upkeep, lower slowdown of Durand and Gygax components, guns now slow far less.

* Time time time.

* Seeds survive. For now.
2020-08-17 15:19:20 -07:00
lbnesquik
e8c11b92d7 za 2020-08-16 17:35:41 +02:00
lbnesquik
bc2c10adb2 Delete some duplication in the mech drill. 2020-08-14 01:02:21 +02:00
lbnesquik
1cd6351900 Improves mecha strafing
- You can now toggle strafing by alt+clicking your mech, which should be much easier to control mid combat than trying to use the action button.

Ported from TG.
2020-08-13 20:56:41 +02:00
lbnesquik
3a62665553 Improvements to mech missiles.
- Moved the missiles into a proper projectile file.
- Made it so the missile launcher actually FIRES things instead of throwing them and priming the missile.
- Copy things from TG for how the explosions are handled. Just use a regular explosion, that's weaker if it hits people.
- Updated the missile to an animated version from Teegee and stole a couple of their sprites too.
2020-08-13 01:09:56 +02:00
Atermonera
1fc6477d5e Merge pull request #7393 from Rykka-Stormheart/shep-dev-tg-alerts-updoot
Port lots of things that had to wait on alerts (Replaces Arokha's PR)
2020-08-06 11:38:16 -07:00
Mechoid
282b42dbc1 Exosuit Modular Internals, The Squeakening (#7329)
* Begins work on internal exosuit components, similar to Borgs.

* Large volume of work on exosuit components, Durand is tweaked to be higher cost in time and resources, since it requires AP to damage, without ions or explosives.

* Component Sprites

* Actually implement component repair, I knew I missed something.

* Magic numbers, properly typed lists, and indentations oh my

* Changeling
2020-08-05 16:20:46 -07:00
Kates
f9d330a080 Attempt to fix mech and fighter movement issues within space. (#7376)
* Attempt to fix mech and fighter movement issues within space.

Here is the issue in question: https://github.com/VOREStation/VOREStation/issues/8438

* Update Mecha.dm to fix #7376 request
2020-07-31 22:14:37 -07:00
Rykka
28a7698b9e Port lots of things that had to wait on alerts
Adds a HUD for observers
Adds a HUD for rigs and mechs
Adds up/down buttons for AI hud
Add more tg style alerts
Fix some bugs with the tg alerts
Improve icon_states usage by caching it
Redo how respawning works, add a button to ghost hud for it
2020-07-30 16:23:32 -04:00
Atermonera
55b2c8d6ef Merge pull request #7354 from Neerti/status_indicators
Implements Status Indicators
2020-07-30 12:29:46 -07:00
Atermonera
55d60d08cf Merge pull request #7350 from lbnesquik/Kot-Extra-Mech-branch
Relatively small changes to how damage affects mechs.
2020-07-30 11:44:40 -07:00
Kates
91e4c18c08 Allow you to only select mech weapons when cycling. (#7343)
If you desire.
2020-07-22 03:01:28 -07:00