Commit Graph

811 Commits

Author SHA1 Message Date
atermonera
12a52e4605 Blobs do damage to mechs 2023-01-02 15:36:34 -08:00
atermonera
894f044496 Remove tie-ins 2022-10-23 18:15:56 -08:00
atermonera
dca3418ba3 Nerfs mech armor 2022-10-23 18:04:16 -08:00
spookerton
ffba11e5ab rename a bunch of atom flags 2022-10-18 09:36:41 +01:00
spookerton
3abdbbaa1c replaces atom.initialized with ATOM_INITIALIZED
refactors atom/var/flags to atom_flags and area_flags
moves NOBLOODY, NOBLUDGEON, and PHORONGUARD to item_flags instead of atom_flags
corrects various misapplied flags
2022-10-18 09:36:36 +01:00
MistakeNot4892
49d08aa294 Removes eject from the mecha radial. 2022-08-08 01:50:08 +10:00
spookerton
1f3ffc2433 non-flagged, non-complex overlay -> ssoverlays 2022-04-24 07:51:12 +01:00
spookerton
1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera
9d71839ac6 Removes devices 2022-04-17 19:14:43 -08:00
atermonera
7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
Spookerton
6651fd8bfd Merge pull request #8480 from Serithi/master
Gives mech autocannon projectiles their own entry with unique sprite and lighting
2022-04-01 18:31:36 +01:00
atermonera
c7f1880394 Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"
This reverts commit 4d8c43f106.
2022-03-29 16:01:32 -08:00
Serithi
069adff1a3 Gives mech autocannon projectiles their own entry with unique sprite and lighting, also makes it a bit louder. 2022-03-26 21:31:51 -07:00
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