Commit Graph

1015 Commits

Author SHA1 Message Date
Alberyk
03cf84880c Adds weaponry permission access and a bit more (#4665)
-adds weaponry permission access, that is used by the securitron to check if the person can use a weapon, added to all security roles, the head of personnel and the captain
-added a firing pin that checks for access
-fixed the ert id having access to things they should not
2018-05-09 10:22:51 +02:00
Lohikar
da3af646d6 Bolt-action refactor (#4667)
Makes bolt-action rifles a child of pump-action shotguns again to remove some shared code.
2018-05-02 21:24:32 +03:00
Ron
d1c1d84bde Refactors gravity checking (#4591)
Removes a lot of duplicated or redundant code from areas when checking gravity.
2018-04-12 20:31:05 +03:00
skull132
25ef886bf9 Merge branch 'master' into development 2018-04-06 21:53:02 +03:00
Ron
aedcaab802 Bug Fixes (#4527)
Fixes part of #4490
Fixes #4462
Fixes #4457
Fixes #3685
Closes #4331
Fixes #4254
Fixes #4258
Fixes #4209
Fixes #4030
Fixes #4525
Fixes #4461
Fixes #4524
2018-04-06 17:48:31 +03:00
LordFowl
64e386785c Abling Disability (#4485)
This PR implements a system for manipulating a client's color safely and also ports a prioritization system for sorting client color from /tg/. Currently this PR also implements client coloration in the form of color blindness, namely:
Monochromacy
Deuteranopia
Tritanopia
Protanopia

DTP are mild brain traumas, whereas monocrhomacy is a severe brain trauma.
Furthermore, this PR removes the Needs Glasses prompt in character creation, and replaces it with a disability selector, allowing people to more closely refine their special little snowflakes.
Current disabilities available:
Nervousness
Nearsightedness
Deuteranopia
Tritanopia
Protanopia
Deafness
Muteness
2018-04-05 21:57:50 +03:00
Alberyk
c07ba5f6f3 The fist of the plasma star (#4339)
This pr adds martial arts, ported from paradise and tg station, which replace your regular unarmed attacks such as grabs, disarms or punches. They also have special moves with combos and etc.

Spessmen can learn them via scrolls/books. Traitors can get some of those scrolls via uplink for now.
2018-03-22 13:04:47 +01:00
Alberyk
1d603e40d2 Gun update 2018 version (#4397)
-laser should now produce light
-added a wielded sprite for the lmg
-added a new lwap in hand sprite
2018-03-21 07:13:16 +02:00
Edward Lemon
319a848e13 Fixes #4447 (#4448) 2018-03-21 07:02:30 +02:00
Alberyk
12f3bb080f Fixes cardox recipe (#4417)
-fixes #4415
-fixes gun offhand having pins
-fixes cloth having the same hardness as steel
2018-03-15 12:43:52 +02:00
kevinz000
c000070a5b Pixel Projectiles (#4105)
Projectile hitscan effects moved to /effects/projectiles folder.
Most of projectile firing code and some of impact code refactored, and projectile hitscan effects refactored with ported TGcode (which is mostly TGcode I wrote anyways 😎)
Projectiles can now be fired at any angle, instead of just at the center of turfs!
Projectiles are now [in theory] 100% accurate down to 0.001 of a pixel.
2018-03-10 17:13:24 +02:00
Lohikar
a86398d0d2 Code Cleanup: (Bump(), Bumped()) -> (Collide(), CollidedWith()) (#4349)
This PR rips out the old Bump() and Bumped() procs and replaces them with Collide() and CollidedWith() respectively. Behavior should be the same, but Bump() should no longer be double-called, and no longer relies on spawns.

Other changes:

LAssailant is now a weakref.
Some direct loc setting are now forceMove().
2018-03-08 09:39:53 +02:00
skull132
bfced36a28 Merge branch 'master' into development
# Conflicts:
#	html/changelogs/sdtwbaj-skrellmoney.yml
2018-02-24 21:09:27 +02:00
Alberyk
16d4f04771 Balances shotguns slugs and revolvers (#4309)
Shotgun slugs and revolvers were pretty much stong, by instagibbing people ignoring armor, due to having a maim bonus. This pr will remove this, those weapons can still maim and gib limbs, but without any magical force that is able to ignore armor. Plasma cutter and heavy sniper bullets still keep this feature for obvious reasons.
2018-02-24 12:51:20 +01:00
Alberyk
8506fb41ea Buffs mecha weapons and more (#4269)
-separates the mecha weapons dmi in three different dmis for each type of weapon
-buffs the ion cannon, by having its ion being 5x more effective than the regular ion gun
-buffs the damage from the mecha smg
-adds new weapons such as the gatling laser, gatling xray, mounted tesla cannon, mounted anti-material rifle, mounted gyrojet autocannon, mounted anti-material cannon and possible more
-increases the equipment slot for mechas to 4 from 3
-adds some of the new weapons design to the mech fabricator
-changes the weapons names to be more generic
2018-02-21 21:11:03 +01:00
Alberyk
2df76f8590 Fixes shotgun bullets and missing facial hair (#4292)
-fixes #4296
-fixes the missing walrus facial hair sprite
-fixes the empty carbine and mosing rifle having the wrong on armor sprite
-fixes prank guns having firing pins
2018-02-19 00:17:52 +01:00
Erki
20fc059ca7 Bugfix/runtime cleanup (#4249)
Some RTs.

Fixes #4091
Fixes #4092
Fixes #4077
2018-02-08 11:59:11 +02:00
LordFowl
03a02e48c0 Fixes bayonet oversight (#4256)
Much like modular guns cap projectile damage to 60, modular guns will now cap melee damage to 40, no matter how many bayonets you tape on.
2018-02-08 11:58:57 +02:00
Alberyk
83d0e161ba More modular guns tweaks and fixes (#4221)
-fixes #4217
-lowers some of the component techs to make possible to get them
-fixes the phoron capacitor design having the wrong id
-modulator will now change the firing sound of the weapon, to avoid things like tasers and non lethals modules sounding like lasers
-fixes a bug with the random voidsuit picking the wrong helmet for the captain voidsuit
2018-01-31 19:51:01 +02:00
LordFowl
453b039dfe Fixes More Devbugs (#4214)
Fixes #4195
Fixes #4199
Fixes #4162
Fixes #4194
2018-01-30 07:50:30 +02:00
Alberyk
c0425a867c More bugfixes for the january update (#4200)
-fixes #4172
-fixes #4193
-fixes #4192
-fixes #4189
-fixes #4179
-fixes #4170
-fixes #4197
-fixes #4201
-changes the access of the security checkpoint, so all heads of staff can use it
-fixes the hop being unable to access the account's computer
-fixes being able to feed holodeck penguins
-fixes modular laser weapons not interacting with firing pins
-fixes more guns not interacting with pins and remove the need for pins from certain guns, like crossbow, alien weapons and etc
-fixes unstable matter's portals and the elixir of life
-nerfs liquid fire a bit
2018-01-29 22:54:01 +02:00
Alberyk
d5a1e597d2 Fixes the relation between rd guns and firing pins (#4159)
Fixes a lot of guns having no pings and just makes guns created by rd having no pin by default instead.
2018-01-27 22:32:33 +02:00
Pacmandevil
b22cb0e59d [Ready for review until the inevitable map conflicts] Firing pins (#3375)
I'm going full steam ahead with this.

Adds firing pins/ Authentication mechanisms. these are needed to fire any specific weapon.

Weapons generally spawn with firing pins in them. or at least should. The exception to this is anything made in R&D - which needs to secure a firing pin from somewhere.

There's currently the following firing pins:

One that checks for a specific implant, EG a loyalty implant one.

One that always fails, and can replace other pins. (this one would likely be admin only. it's clown themed)

The Laser tag code got refactored to the pins. so each gun has a different pin. if you somehow got this pin, you could make it so you could only shoot a gun while wearing a laser tag vest, for example.

A Testing range pin, which only allows firing in specific areas - of which are mapped in currently.

A DNA locked one. and a subtype which will explode if someone else tries to use it.

the system's designed to be easy enough to add on to.

Feedback fourm is here:
2018-01-27 20:59:00 +02:00
LordFowl
ad00601b81 Ports /tg/ Brain Trauma (#3979) 2018-01-27 12:13:19 -06:00
LordFowl
6dd5c2dbfd Unapologetic Scientist Buffs (#3957)
Implements the long-promised modular RnD energy weapon system I embarked upon in the ancient days of August 2016. Currently just a basic framework based heavily on Printer's recent work.

Relevant thread: https://forums.aurorastation.org/viewtopic.php?f=18&t=9755
2018-01-20 23:39:14 +02:00
Matt Atlas
58cf265cdd Makes the mateba great again (#4107)
Adds a new firing sound, new caliber (.454), new description all at the cost of one clumsily made PR!
2018-01-16 15:19:11 +02:00
Lohikar
90d5ff9f2a Bullet blood splatter effects (#4002)
Adds a blood splatter effect for when a mob is hit by a ballistic (brute) projectile. Ported from TG.
2018-01-06 12:01:41 +02:00
skull132
9faccd5e61 Merge branch 'master' into development
# Conflicts:
#	html/changelogs/.all_changelog.yml
2017-12-23 21:37:36 +02:00
chaoko99
c0ee47579d Adds a preference to have an intent check for guns (#3653)
what title says
2017-12-17 11:37:16 +02:00
Alberyk
1d7cd87ebd Fix the hos' tranquilizer rifle and some issues with gifts (#3982)
-fixes #3747 by making so that the tranq bullets inject the target with some sleeping toxin
-fixes things like random plushie and animals getting stuck into the person's contents when you open a gift
2017-12-17 11:20:30 +02:00
Werner
1cac4cc775 Its a drill, not a gun (#3937) 2017-12-08 14:55:55 +01:00
chaoko99
adf21c24e8 Implements Maim / Maiming projectiles. (#3750) 2017-11-25 18:24:16 -06:00
Lohikar
58519daeba Recharger QoL Tweaks (#3826)
changes:

Rechargers now briefly show a progress bar showing the current charge level of the device currently charging.
Examining a recharger will now specify what is in the charger.
Atoms can now mark themselves as requiring an icon update on initialize instead of overriding Initialize() just to call update_icon().
Charger code is now slightly more modular, using proc/get_cell() to get a ref to the power cell instead of hard-coded if-else chains for each supported type.
2017-11-18 18:46:14 +02:00
Ron
60e81a3647 Misc code removals/changes (#3813)
* ?

* merge dev

* pasue

* anti-pasue

* f

* done

* revert

* miscounted

* changes

* revert
2017-11-18 18:44:00 +02:00
WrongEnd
73a10d20e2 Adds pranks, jukes, and anal retentive bolt action rifles (#3664) 2017-11-10 23:53:01 -06:00
Ron
0d0117dcff Fixes some runtimes (#3727) 2017-10-22 02:37:44 +03:00
Erki
6c47fb889a Revert #3241 (#3670) 2017-10-17 20:39:50 -05:00
Alberyk
12597e9849 Hardsuit fixes and grenade launcher restrictions (#3536) 2017-10-07 00:45:07 -05:00
OneOneThreeEight
f202bb673a Adds a dispersion effect to the thermal drill (#3527) 2017-10-07 00:40:59 -05:00
Ron
37b3c0049a Replaces unused span classes (#3539)
Replaces span class userdanger and sinister with things that exist. Also removes an unused proc.
2017-10-04 19:23:20 +02:00
OneOneThreeEight
7096dd908c Retuning lasers a bit. (#3484)
REBALANCES LASERS.
2017-09-24 00:13:31 +03:00
TheGreatJorge
0732abb600 New turret icons & turret code tweaks (#3416)
Adds flooring to the turret with "decorative" conduits.

Adds darkening and brightening animation when turret opens/closes to indicate the turret rising up or down.

Made new construction phase depicting nearly all steps visually (Apart from adding the prox sensor.)

Made sure almost every gun that can be turreted has a relevant sprite. These are based on gun sprites. Changing those might cause turrets to not reflect the gun look.

Some guns share sprites, some were made unturretable.

Added new set of vars on the /gun/energy level, since the /gun level had few essential vars missing and I am not really looking for any other code rewrites regarding this right now. Should not be hard to move them step up, if ever needed.

Turrets that have only one shooting mode have now the changing mode option greyed out.

Also removed leftover references to two energy carbine subtypes and removed one global list.
2017-09-22 23:11:41 +03:00
Alberyk
0cc8b99a8e Adds more sounds effects (#3474)
Adds new sounds effects to the following;
-nar'sie summoning
-turning on and off a welder
-using a megaphone
-new flashbang and being hit by a flashbang sounds
-cutting wood
-chain of command attack sound
-opening/closing curtains
-rocket launcher sound
-opening/closing a light submachine gun
2017-09-20 13:23:47 -06:00
Alberyk
62f142e215 Gun update; new icons, more guns and better code organization (#3434)
-ports some gun and gun mechanics from polaris and bay such as the Lemant revolver, capguns sprites
-collapses svd.dm and scout_sniper.dm into sniper.dm
-renames boltaction.dm to rifle.dm
2017-09-18 22:22:09 +03:00
Lohikar
e28c29a551 Port Integrated Electronics from Polaris (#3371)
Ports Polaris' integrated electronics system, whichallows for Roboticists & Electricians/Engineers to build custom devices and machines for a variety of purposes.
2017-09-12 21:41:39 -05:00
Lohikar
8f4b4effae Kill processing_objects (#3398) 2017-09-09 15:22:58 -05:00
skull132
16d33365c2 Merge branch 'master' into development
# Conflicts:
#	code/modules/client/preference_setup/loadout/loadout_xeno.dm
#	code/modules/customitems/item_defines.dm
2017-09-09 21:38:02 +03:00
Erki
320c0154f7 Fix lawgivers by Ezuo/Toaster (#3423)
PLAGIARIZED AND REBASE VERSION OF #3409 BECAUSE FUCK GIT

The old Lawgiver code didn't work as intended, with different modes using different charge values and having different recoil. This PR fixes that code, so the lawgiver is now somewhat balanced (No more HE spam yay). Current ammo amounts, from full charge, are:

Stun and Singleshot = 40
Burst = 13ish, just shoots 3 Singleshot in a row
AP = 15
Hotshot and Pellets = 8
Highex = 5 (Original charge cost placed it at 6.6 recurring, brought it down to 5)
2017-09-09 19:01:49 +03:00
Alberyk
0d8fe2e6a4 Adds more in hand sprites for certain items (#3392)
Adds a lot of more in hands and back sprites, wielded shotgun sprites, guns, bags and things like mining satchels and bee nets.
2017-09-08 13:14:52 -05:00
Lohikar
b9a4ecd173 DEvent, Mk II (#3241)
Redesign of PR #2209, now with sane unregistration + a new event.
2017-09-06 18:08:44 +02:00