Commit Graph

425 Commits

Author SHA1 Message Date
MistakeNot4892
c390425f30 Resprited tranq weapons. 2023-12-28 12:32:57 +11:00
MistakeNot4892
1cafe9ee21 Unifying MMI creation on robot subtypes. 2023-09-02 22:11:14 +10:00
MistakeNot4892
faad7bbe1a Fixing erroneous find and replace TASTE_DATA. 2023-08-30 20:49:06 +10:00
MistakeNot4892
c29c31f0a0 Converting some direct reagent data stuff to work with the new taste system. 2023-08-30 20:45:57 +10:00
Frenjo
10e11ae4c9 Tweaks energy weapons (part I?)
Adjusts the fire delays, charge levels and recharge speeds of many energy weapons.

Adjusts the damage of several types of energy beams.

Renames the "burst laser" to the "burst energy gun". Also updates the cargo ordering console's entry to match.

Converts a few weapon-related booleans to use TRUE/FALSE.

Fixes formatting of some weapon fire modes.
2023-07-24 00:51:19 +01:00
Ava
c0ac86888f Assorted bugfixes ahead of the merc event 2023-03-28 01:04:04 -04:00
Mechoid
a9fe81de92 Energy Gun maint, Electromag damage type. (#9017)
* Energy gun icons moved to their own DMI.

Electromag damage type added, allowing objects to deal EMP damage.
EMP beamtypes added as proof of concept for above, and future use.

* Sort unused icons from used.
Remove duplicates from gun2.

* lasersmg sprite returned

* E X A M P L E
2023-03-22 17:35:28 -08:00
Mechoid
2b4deb2282 Phoron Bore Adjustment Take 2 (#9015)
* Phoron Bore Fire Delay
Phoron bores have a windup of one second.

* Phoron bore default range dropped to 3.
2023-03-08 19:37:31 -08:00
MistakeNot4892
959658a970 Implementing tranquilizer rifle and pistols. 2023-03-08 09:43:17 +11:00
Mechoid
9aa0e10bc2 Phoron Bore adjustment from Staff Meeting. 2023-02-20 09:41:56 -08:00
Mechoid
29f3be1872 Maintenance on Hydro code, specifically vines and bees. (#8851)
* Maintenance on Hydro code, specifically vines and bees.

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/spreading/spreading_growth.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/spreading/spreading_growth.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Mutation update.

Sporing, and Temperature Adjustment, can now mutate.

* Ignore me.
Sporing can mutate.

* Flamethrowers can now burn plants in Righteous Fire.

* Update code/modules/projectiles/projectile/bullets.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

* Update code/modules/hydroponics/beekeeping/beehive.dm

Co-authored-by: Spookerton <spkrtn@pm.me>

Co-authored-by: Spookerton <spkrtn@pm.me>
2023-01-02 15:47:32 -08: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
Cerebulon
72e731c9b9 Complete gun sprite overhaul + additions 2022-10-12 23:16:52 +01:00
MistakeNot4892
dcbf10e28a Added grafadreka.
More work on drakes.

Added grafadreka den site.

Working on refining drake AI.

Fixing drake languages.
2022-08-14 01:26:09 +10:00
spookerton
c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
atermonera
091c04efc8 Readds SA_ANIMAL vulnerability to phase projectiles 2022-04-19 22:30:22 -08: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
Rykka
3fd5296682 TGMC Ammo HUD Port
Ports over TGMC's Ammo HUD and all relevant code, adapted to work for Polaris's guns. This took me several days, but hey, I learned a bunch. <:
Time to port Aim Mode + Mentorhelp. :3c 
- All guns now have an ammo HUD sprite. If one lacks one, it will be ??? or blank, at which point, make an issue report, as all guns should be working by now.
- Guns will display how many rounds they have left until ammunition runs dry.
- Ammo will only count the casings that CURRENTLY have a projectile in them. This is slightly unrealistic, yes, but it is better and more intuitive for the player. This also enables guns like the revolver to work, given they recycle casings.
- Up to 4 ammo HUDs can be displayed at once, but given we lack TGMC's attachments and guncode, you'll only ever usually see 2. TBD on porting over TGMC guncode. <:
- Ammunition for multiple guns has different colors in the HUD based on what you currently have loaded.
- If you're looking at this later on to add new things. DON'T USE _FLASH IN THE HUD_STATE_EMPTY. THE _FLASH IS ADDED ON BY CODE.
- Grenades have a hud_state, pending us ever porting over a grenade launcher. Rockets ALSO have a hud_state.


Example of Laser/Energy Weapons:
https://i.imgur.com/MGvqGxh.mp4
Captain's Gun:
https://i.imgur.com/Wd0SS3C.gif

Full Test of all weapons:
https://streamable.com/usp4dy

Upstream port of https://github.com/CHOMPStation2/CHOMPStation2/pull/4033
2022-04-07 01:00:23 -06:00
Mechoid
4780b1efe5 Planetary Meteors (#8422)
* Begins work on Planetary meteors

* Work, clean meteor code.

* Continues work. Meteors now handle their own movement and launching.

* New meteor types, some added to waves. Large meteor type fully implemented.

* Fix and adjust for comments.
2022-04-02 17:25:27 -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
7e65d9f8a0 added unique sounds 2022-02-07 21:52:54 +00:00
Cerebulon
b6c390f0d9 deguns bugs 2022-02-03 20:22:55 +00:00
Cerebulon
7dd4e0503c Intentionally Introduces Massive Bugs 2022-02-03 19:50:14 +00:00
atermonera
ef87801641 Adds caseless BB rounds for common gun types 2022-01-26 20:13:48 -08:00
Cerebulon
c2f4d10b8b Mech and Locker Sounds 2022-01-17 13:22:33 +00: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
Atermonera
5daf7b41ce Merge pull request #8344 from Verkister/patch-80
Fixes rocket launcher
2021-11-21 00:03:35 -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
169f086206 Update explosive.dm 2021-11-11 22:14:42 +02:00
Verkister
53c39bd1ad Fixes rocket launcher
The launcher type guns use throw_at instead of the fancy bullet projectile features, so the fancy bullet projectile mechanics were unable to make things go boom by having several dead-end returns happen before the projectiles could even reach the on_hit, which already bonks into a return in the ..()'d parent proc anyway.
2021-11-11 21:58:05 +02:00
Ghost Actual
12b1a29efe Donk-Soft! (#8305)
* Initial port

* Various fixes

* Doomguy Costume Addition

Halloween just around the corner, I wanted to add a costume that uses the new toy guns.

* Merge conflict, fixes
2021-10-04 22:14:46 -08: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
Hatterhat
37bc8cd741 phoron bore buff but squashed 2021-05-19 00:41:50 -05:00
Unknown
51ce96e2a5 Practice/Lasertag weapons no longer excavate 2021-04-16 12:20:34 -04:00
atermonera
e6eba2cb0c Hybridizes PDC systems, Bay turrets deal damage to meteors 2021-02-22 17:54:35 -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
Mechoid
8fa749fbe5 Adds Point Defense turrets. 2020-11-24 03:36:59 -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
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
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
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
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
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
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
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