Commit Graph

1390 Commits

Author SHA1 Message Date
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
Aronai Sieyes
1fd1d84deb Runechat (#8121)
* Message piece combiner returns a list

* Emote formatter returns a list

* Port Runechat

* Various onamonapoea

* Suggested changes, small opts

* Fix chat message on different size mobs

* Couple more runefixes

* Enable encoding chat emphasis in runechat

* Remove extra asterisks from rune audible messages

* Fix runedefines
2021-06-13 22:18:43 -09: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
Atermonera
7b67601705 Merge pull request #8075 from Atermonera/revert_copper_recipes
Reverts recipe changes from Industrial Expansion
2021-05-23 12:39:50 -07:00
Hatterhat
37bc8cd741 phoron bore buff but squashed 2021-05-19 00:41:50 -05:00
atermonera
1a236e79f0 Reverts recipe changes from Industrial Expansion 2021-05-10 22:39:28 -09:00
ShadowLarkens
0198ff3fbf Personal Crafting & Dependencies 2021-05-02 18:05:54 -07:00
Unknown
51ce96e2a5 Practice/Lasertag weapons no longer excavate 2021-04-16 12:20:34 -04:00
MistakeNot4892
92c6bead11 Added recon and cargo platforms. 2021-03-13 13:24:28 +11:00
Schnayy
031f8a7392 Merge pull request #7919 from Atermonera/point_defense_targeting
Hybridizes Point Defense Turrets with Bay's System
2021-02-26 09:04:43 -06:00
atermonera
e6eba2cb0c Hybridizes PDC systems, Bay turrets deal damage to meteors 2021-02-22 17:54:35 -09: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
bd9f63a97a Gadgets & Gizmos (#7786)
* Adds various objects for explorers / antagonists.

* T A G S

* Mend
2021-01-14 21:53:39 -09:00
Atermonera
997b440093 Merge pull request #7765 from Mechoid/PointDefense
Adds Point Defense turrets.
2020-12-07 16:03:31 -09:00
Mechoid
8fa749fbe5 Adds Point Defense turrets. 2020-11-24 03:36:59 -08:00
Mechoid
1fb1cda70b Makes the arm-laser distinguishable from the laser carbine in name and mobstate. The arm-laser also has reduced one-handed penalty, given it is literally your arm, and you can probably point at something with your fore-arm. 2020-11-21 03:51:14 -08:00
Cyantime
9898fa373e Phoron bore utility improvements (#7680)
* More phoron bore utility

* Path update

* Fix concerns

* Update bore.dm
2020-10-11 20:59:14 -07:00
atermonera
380978ecdb Fixes compile error in code\modules\projectiles\broken.dm:42
error: mat.use_name: undefined type: mat.use_name
2020-09-20 15:23:50 -07:00
Kates
2c63372a49 Improve gun animations to be more modular. (#7645)
* Improve gun animations to be more modular.
- This is a port of TGCM pull/4807. Credit to SplinterGP for helping me set things up.
- It essentially allows people to not need a '-pump' for their animation, but instead to just use whatever they please. They just need to write it down at the relevant intervals.

* Improve further.

* Update shotgun.dm
2020-09-20 03:49:03 -07:00
ShadowLarkens
927c41c7a3 Convert /material to it's correct absolute path /datum/material (#7637) 2020-09-20 02:00:09 -07:00
cadyn
7cfe8982ab Fixes broken guns (#7635)
Broken guns now reveal names of parts needed instead of paths
2020-09-11 00:12:56 -07:00
Kates
b49ad5a806 Bring shotgun slugs AP potential to 20% (#7621) 2020-09-05 08:11:13 -07:00
Mechoid
730a389186 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into ProjectileUpkeep 2020-08-27 19:43:07 -07:00
Rykka
324cb1f12d Replace "Sleeping Agent" with Nitrous Oxide
This makes it identical to it's real-life counterpart, and brings some actual sprite improvements upstream from Virgo.

Earlyport of https://github.com/VOREStation/VOREStation/pull/8812 with an actual rename of the gas, ID, and sprite used.
2020-08-27 21:45:19 -04:00
Atermonera
4bf64e6b2a Merge pull request #7459 from Rykka-Stormheart/shep-dev-sound-overhaul
Massive Ambience and Sound Overhaul + Addition
2020-08-27 16:23:38 -07:00
lbnesquik
286500969e Remove stale code. 2020-08-25 22:58:15 +02:00
Mechoid
9ef79ebdcf Projectile Upkeep, Add Magic 2020-08-24 16:14:59 -07:00
Rykka
0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04: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
ForFoxSake
daba9587e3 Adds tg-style fast(ish) magazine restocking. (#7391)
* Allows magazines to be reloaded automatically from piles of bullets.

* Fixes usr, adds changelog.
2020-08-06 11:22:51 -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
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
Cerebulon
4474f3f713 Flavour Enhancement: Guns (#7333)
* Flavour Lore: Guns

* New guns/sprites, crates, etc.

* couple o oversights fixed

* couple o oversights fixed

* final tweekz
2020-07-13 20:04:59 -07:00
Mechoid
9670de91dc Fix, AGAIN, the runtime in projectile.dm, 664. Stunrounds actually poof when needing to. 2020-07-06 23:38:48 -07:00
Mechoid
4ecdc08f35 Fix timing error that allowed processing to reference a nulled list. 2020-06-26 18:30:09 -07:00
Mechoid
d6cde302db Fixes bullets double-jeopardying people who are prone, if they are penetrating projectiles. 2020-06-07 05:59:03 -07:00
Aronai Sieyes
e32762fee9 Merge branch 'master' into Arokha/offtherails 2020-05-30 16:27:44 -04:00
Aronai Sieyes
24b0e3f3c4 Tweak railguns, add flechette pistol 2020-05-28 16:49:14 -04:00
Aronai Sieyes
ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai Sieyes
a8f3a0a7a0 Refactor move/click code 2020-05-15 10:49:27 -04:00
Aronai Sieyes
eff72a9850 Merge branch 'master' into pol-moved 2020-05-12 11:22:43 -04:00
Mechoid
15631b226c Update broken.dm 2020-05-02 18:46:11 -07:00
Mechoid
590652510c Fix Broken Gun Examining 2020-05-02 17:38:52 -07:00
Mechoid
aafd4b4fa6 Explorer Expansion: New Horizons (#6960)
* Large amount of work; Animal taming, shearing. Random animal spawns on sif grass/forest turfs. New PoIs, thermal poncho.

* Combat drone DMI moved to drones folder. Mining Drone subtype added. "Tameable" with ores, will collect and store ores when not in active combat.
2020-05-01 11:19:21 -07:00
Atermonera
61c4929d61 Merge pull request #7045 from Neerti/let_them_eat_all_the_cake
Removes limits on eating, centralizes nutrition changing.
2020-04-29 14:14:11 -07:00
Aronai Sieyes
6c6644f86c Rewrite examine() to pass a list around (#7038) 2020-04-29 13:42:16 -07:00
Aronai Sieyes
bc1fa7bd05 Refactor Move() code 2020-04-27 10:08:55 -04:00
Neerti
2dee403370 Removes limits on eating, centralizes nutrition changing. 2020-04-26 05:30:32 -04:00