Commit Graph

36 Commits

Author SHA1 Message Date
Will 3a78e9db95 office chairs spin with you when emoting (#18211) 2025-08-09 14:29:33 +02:00
Will 6f6ab0f281 Dizzy and jittery components (#18054)
* dizzy and jitter component

* no need for set_jittery

* minimize proc differences

* not needed

* jitter

* match old behavior

* jitter medical issue fix
2025-07-31 01:07:57 +02:00
Guti a5a3bd953c Swarm Component + Pixel shift attack animation (#17179)
* Swarm!!

* carp dmi

* swarm

* Proper swarming

* Swarmers

* Update

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2025-03-09 15:09:32 -04:00
Kashargul 59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Nadyr 21be7feb0c has_gravity() rename + fixes 2024-10-03 18:35:00 -04:00
ShadowLarkens e9ee57df18 Revert "Revert "/tg/ preference datums part 1: take two"" 2024-09-07 23:58:49 -07:00
ShadowLarkens 02410abcf3 Revert "/tg/ preference datums part 1: take two" 2024-09-07 23:17:16 -07:00
ShadowLarkens f9052dbb60 Revert "Merge pull request #16240 from ShadowLarkens/revert"
This reverts commit 885171f985, reversing
changes made to 3e314f8064.
2024-09-07 14:11:15 -07:00
ShadowLarkens 3c09f52c6a Revert "/tg/ pref datums (part 1) (#16219)"
This reverts commit faac97e352.
2024-08-31 12:04:15 -07:00
ShadowLarkens faac97e352 /tg/ pref datums (part 1) (#16219)
* TG Prefs (Step 1: JSON savefiles)

* TG Prefs (Step 2: Preference Datum Code)

* TG Prefs (Step 3: Convert /datum/client_preferences)

* TG Prefs (Step 4: Clean up and finishing touches)

* Fix some weird compile errors from the rebase
2024-08-31 07:09:05 +10:00
Heroman 312b5e2a28 Adds sanity check to spin() 2023-08-15 17:40:56 +10:00
Aronai Sieyes 34982728cb Add 'as anything' to various for loops 2021-07-20 12:39:59 -04:00
Atermonera 2df5e9fe0e Merges AI Branch into Master 2018-12-01 00:06:38 -05:00
Leshana b5cf8383f6 Merge branch 'master' of https://github.com/PolarisSS13/Polaris into vplk-sync-2018-04-14
# Conflicts:
#	code/game/machinery/jukebox.dm
#	code/modules/economy/lorenews.dm
#	code/modules/mob/living/carbon/human/update_icons.dm
2018-04-15 14:19:36 -04:00
Anewbe 8c23ec4844 Merge pull request #5153 from Neerti/4/5/2018_tile_attacking
Adds Tile-based Attacks
2018-04-09 19:16:58 -05:00
Neerti 4ac6d34235 Adds Tile-based Attacks
Adds ability to attack mobs by clicking their tile.
When someone clicks a tile with a weapon while off help intent, and if a mob is occupying that tile, the mob will be attacked as if they were clicked directly.
If more than one mob is on a tile, one is chosen randomly.
You cannot hit yourself by clicking your own tile.
Weapons with cleaving abilities will attempt a cleave on the tile clicked on, making it very easy to hit (simple) mobs with those weapons if near you.

Other changes.
Cleave proc can accept any atom now and not just a mob.
Also cleans up weapons deciding how they can cleave somewhat.
2018-04-05 13:28:05 -04:00
Mechoid 57ab0e715b Constructs 2.0 - Living Stone (#5040)
* Construct Overhaul + Related Fixes/Tweaks
2018-04-04 23:45:00 -07:00
Arokha Sieyes f6321228a0 POLARIS: Adds an animation thing, uses it on ventcrawls 2018-03-25 17:42:48 -04:00
Arokha Sieyes 298ba7ea4b Improve two image cleanups 2018-03-21 14:22:26 -04:00
Arokha Sieyes bb4d4634f9 POLARIS: Adds an animation thing, uses it on ventcrawls 2018-03-15 23:50:14 -04:00
Arokha Sieyes d9dc7c557d Improve two image cleanups 2018-02-21 23:23:02 -05:00
Aronai Sieyes 78d7ef1d72 Port Bay-style attack animations (#4827)
* POLARIS: Attack animations

* POLARIS: Overlay flick system

You can't do this in Byond, unfortunately, so here's some code from /tg/

* Make attack anims a preference
2018-02-15 22:02:04 -06:00
Arokha Sieyes a88dfd0d20 Make attack anims a preference 2018-02-15 17:44:21 -06:00
Arokha Sieyes b61723aa3b POLARIS: Attack icons for things
Uses the in-hand item when attacking to draw the icon, or for anything else (simple animals, etc) you can specify an icon to use (all SA default to a 'slashing' animation)
2018-02-14 21:59:42 -06:00
killer653 3a2093ef40 Polaris sync 2017-12-21 04:01:07 -05:00
Neerti acb208dd3f Works on New Blob 2017-11-29 22:35:01 -05:00
killer653 42c8d39def Fixes issues 2017-11-03 18:23:20 -04:00
killer653 954d254f11 Makes the var on /mob, making it easier to porrt. 2017-10-31 19:08:45 -04:00
killer653 e9585bfc6d Allows flight with wings. 2017-10-28 19:51:14 -04:00
Arokha Sieyes 49797b8dc3 Revert to old_x and old_y after attack animations (#85)
Does not use initial(pixel_x) and initial(pixel_y) for 'finishing' attack animations, so that mobs can have old_x and old_y updated to reflect a natural pixel offset (e.g. for mobs that are longer/taller than 32x32 and are nudged to fit into a tile).

For example, we have a 32x64 cyborg module which sets pixel_x, pixel_y, old_x, and old_y when selected, however attacking with it resets it to 0 as this doesn't respect old_x and old_y like all other mob anims do (see floating, etc).

Also why define this on atom and then literally never use it on anything other than a mob, in the... mob/animations.dm file?

_Sorry to keep making QOL PRs. I promise I'll send something cool eventually._
2016-05-16 19:16:54 -04:00
Arokha Sieyes 15fbac6ef1 Revert to old_x and old_y after attack animations
Does not use initial(pixel_x) and initial(pixel_y) for 'finishing' attack animations, so that mobs can have old_x and old_y updated to reflect a natural pixel offset (e.g. for mobs that are longer/taller than 32x32 and are nudged to fit into a tile).

For example, we have a 32x64 cyborg module which sets pixel_x, pixel_y, old_x, and old_y when selected, however attacking with it resets it to 0 as this doesn't respect old_x and old_y like all other mob anims do (see floating, etc).

Also why define this on atom and then literally never use it on anything other than a mob, in the... mob/animations.dm file?

_Sorry to keep making QOL PRs. I promise I'll send something cool eventually._
2016-05-16 17:02:12 -04:00
Zuhayr e0cfd8fdbd Merge pull request #10420 from Kearel/sbike
[Feature] Space Bikes!
2015-09-07 13:58:25 +09:30
Kearel 10359889e7 Fixes
Slight change to airflow/animations interaction when buckled
2015-08-04 13:41:27 -05:00
RavingManiac aeea42ded9 Refactors floating and magboot checks. Fixes #10256 2015-08-03 23:19:04 +10:00
mwerezak 01e8246e64 Clean up world print 2015-05-20 00:35:26 -04:00
mwerezak 9ae57e95e1 Moves mob animations to a new source file, adds attack animation 2015-05-16 12:44:49 -04:00