Commit Graph

724 Commits

Author SHA1 Message Date
Spookerton 978f4511a5 examine signature changed to include distance
- distance is INFINITE, 0, or a positive integer based on get_dist() between
the examiner and examinee's turfs when they are on the same Z. When the
examiner is dead or a ghost, distance is always 0.
- also updates /examine( implementations to use it!
- adds w_class_to_name proc for reusing "It is a X item." examine behavior.
2024-01-31 13:49:52 +00:00
MistakeNot4892 c390425f30 Resprited tranq weapons. 2023-12-28 12:32:57 +11:00
MistakeNot4892 47c7c5bdb7 Updating xenofauna equipment; adding gear and tracking implants. 2023-12-28 00:46:03 +11:00
Atermonera a9c738c061 Merge pull request #9172 from Frenjo/energy-weapon-rebalance
Weapon Rebalance Part I: Energy Weapons
2023-08-05 11:49:20 -08: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
Doctress 47eba30d8b Changes Phoron Borer SFX
No more confusing it for a Skath jumping on you.

Non-Copyright Edition

Sound effect covered under CC0
(But I'm attributing anyway https://freesound.org/people/BigDino1995/sounds/659007/ )
2023-07-15 09:44:22 +09:30
klorpa f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08: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
Cerebulon 2a64424caa Tiny grammar tweaks 2023-01-29 00:14:08 +00:00
spookerton cd25cb4b3a correct mixed case QDEL_NULL/qdel_null + behavior 2022-11-03 12:38:03 +00:00
Cerebulon 72e731c9b9 Complete gun sprite overhaul + additions 2022-10-12 23:16:52 +01:00
Cerebulon 3ffa493575 couple of requested general sprite fixes + grenade sprites 2022-09-26 05:23:33 +01:00
MistakeNot4892 994f58e3c5 Playable vox oh no. [MDB IGNORE] (#8674)
* Allowing vox to join as survivalists.

* Adding a crash survivor alt title for survivalist.

* Sideporting vox icons from Bay.

* Updating some vox gear and adjusting vox code for planet spawns.

* Attempting to fix up join checking on latejoin links.

* Crash survivor now loads a pod if it can't find one.

* Nerfs vox cold resistance, they now sit between Tesh and humans.
2022-08-06 23:16:23 -08:00
Mechoid e072e147a4 Archery Tweaks (#8670)
* Add proper custom arrows. (cross)Bows "render" proper arrows over themselves in inventory and on ground. Hardlight bow no longer deletes other arrows on removal.

* Fix subtyping issue.
Add Chitin arrow type.

* Remember to hit save, kids.

* Fixfix. Add true Unga arrow utilizing the Ancient Art of Sharp Rocks.
2022-07-31 22:09:53 -08:00
Doctress 0cbbca8e6a Adds Sjorgen Inertial Shotgun (by H-H)
Semi-automatic, 5 round, tube magazine fed
Lootable, or buyable from both cargo and tator uplinks.
Balancing intended to lie between combat shotgun and not!AA-12
100 TC each (between combat shotgun and fuel rod cannon)
100 Req Points for a box of two (same price as a burst laser pair)
2022-04-30 05:51:01 +09:30
spookerton c6dfdeaae2 remove unused sources in code/* 2022-04-26 21:17:59 +01:00
Atermonera 21bd8477c7 Merge pull request #8531 from Spookerton/spkrtn/sys/global-agenda
updates all bare globals to use /global/ semantics, and all shared members to /static/
2022-04-24 19:56:07 -08:00
spookerton ee67e174fb use static for shared member vars 2022-04-24 07:52:32 +01:00
spookerton 1f3ffc2433 non-flagged, non-complex overlay -> ssoverlays 2022-04-24 07:51:12 +01:00
atermonera fec412daaa Rebase issues 2022-04-17 19:18:15 -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
atermonera 101740a7d3 Updates icon paths 2022-04-17 19:14:07 -08:00
Greenjoe12345 2cc01d685a Merge branch 'master' of https://github.com/Greenjoe12345/Polaris into swordsandbow 2022-04-14 19:55:27 +01:00
Greenjoe12345 3bdc40cdf6 fixing issues 2022-04-14 19:22:14 +01: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
Greenjoe12345 1cf1e48416 some balance and mechanic adjustments 2022-04-04 02:37:16 +01:00
Greenjoe12345 bb24579a29 weapons 2022-04-03 02:27:16 +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
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
atermonera 9ffd2b9169 Rocket launchers make the projectile when they consume the rocket 2021-10-06 22:58:15 -08: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
klaasjared 2d70018ecb Base Commit 2021-08-16 10:22:59 -04:00
klaasjared f15e1c42cf Commit 2021-08-06 01:47:58 -04:00
klaasjared a7f6460766 Base Commit 2021-08-06 01:47:24 -04: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
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
Hatterhat 37bc8cd741 phoron bore buff but squashed 2021-05-19 00:41:50 -05:00
ShadowLarkens 0198ff3fbf Personal Crafting & Dependencies 2021-05-02 18:05:54 -07:00
MistakeNot4892 92c6bead11 Added recon and cargo platforms. 2021-03-13 13:24:28 +11: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