1418 Commits

Author SHA1 Message Date
Spookerton ebbf0e33fb between() -> clamp() & swaps args 1 and 2 in uses 2024-02-05 15:47:07 +00:00
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
Spookerton 6d865d9859 remove usages of /tmp/ 2024-01-18 07:33:14 +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
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
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
Atermonera a751398cd4 Merge pull request #9161 from Mechoid/VariousFixJuly17
Bloodpump and Highvel casing Fix
2023-07-23 15:17:40 -08:00
Mechoid eb0655d6c6 Corpse Bloodpump properly functions
Highvel rounds now actually have Highvel bullets.
2023-07-17 17:53:59 -07: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
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
MistakeNot4892 db1a97868d Implementing movement system flags, fixing simplemob movement delays. 2023-03-12 01:22:03 +11: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
Frenjo 20cdc4b676 Converts move intents to /decl/move_intent (#8993)
* Converts move intents to /decl/move_intent

Adds /decl/move_intent/walk and /decl/move_intent/run.

Switches all move intent checks to use the new IS_RUNNING and IS_WALKING macros.

Renames and refactors /mob/living/proc/set_m_intent() to /mob/living/proc/set_move_intent(decl/move_intent/intent).

Removes the unnecessary /mob/var/m_int and associated code.

Updates all move intent setters to use set_move_intent().

* Swaps incorrect config values

Swaps incorrect move delays since I got them backwards somehow, oopsies.

* Adds suggested ?. operator

Compactifies two if statements using the ?. operator instead.
2023-03-04 14:28:10 -08:00
Mechoid 900abc921e Projectiles properly set starting on themselves, instead of only in the fire proc. 2023-02-25 20:14:44 -08: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
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 cd25cb4b3a correct mixed case QDEL_NULL/qdel_null + behavior 2022-11-03 12:38:03 +00: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
Cerebulon 3ffa493575 couple of requested general sprite fixes + grenade sprites 2022-09-26 05:23:33 +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
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
MistakeNot4892 8b8e1ecdf4 Added survivalist job, wilderness spawn and checkpoint spawn to Cynosure. 2022-06-15 21:44:02 +10: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 091c04efc8 Readds SA_ANIMAL vulnerability to phase projectiles 2022-04-19 22:30:22 -08: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
Sypsoti dcc661ffea Merge pull request #8552 from Doctress/BBMagazines
Adds BB Magazines
2022-04-17 22:02:11 -05:00
Doctress b20f7baefa Changes as requested by Sypsoti 2022-04-18 11:19:02 +09:30
Doctress 52d6a0b73b Teaches Doctress basic-ass Git skills
Addresses errors noted in https://github.com/PolarisSS13/Polaris/pull/8545
2022-04-17 05:40:35 +09:30
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 a19ddfce0e Merge branch 'master' into swordsandbow 2022-04-03 21:00:59 +01:00