36 Commits

Author SHA1 Message Date
Kashargul 55a61bc38f up ports incorp and proximity handling (#17106)
* up ports inCorp and proximity handling

* anim size

* bullets no longer hit shadekin

* fix throwing and clicking

* use the proc

* and add the proc

* .

* No moving when you can't move

* fixes portal runtime

* No bonk when throwing at incorporeal entities

* MAR

- I coded in picking yourself up years ago and someone broke it (by adding a lying check). This unbreaks it. Additionally, picking yourself up was made immediate instead of a 0.5 delay since before hitting the U key was slow and doing it this way was quicker. That's not the case anymore.

- Makes attack_hand not happen if the person is incorporeal
- Makes you not  contract touch spread viruses when you click one someone and don't do an interaction (you will now always do an interaction)
- Makes it so you can't mousedrop items while phased.

* no more spreading viruses while phased  / to phased

* F

---------

Co-authored-by: C.L. <killer65311@gmail.com>
2025-03-01 12:09:35 -05:00
Kashargul 59b9802628 some istype to macros (#16826) 2025-01-06 06:45:02 +10:00
Kashargul 4879a52633 Server maint subsystem (#16518)
* upports server maint subsystem

* fix runtime in admin z narrate

* .

* sorts them verbs

* .

* .

* Update code/controllers/subsystems/statpanel.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

* Update code/controllers/subsystems/server_maint.dm

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>

---------

Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
2024-11-04 11:44:44 +01:00
Kashargul b594520a74 next set of spans (#16434)
* next set of spans

* some more

* next

* next

* next

* .

* text...

* next... rest soon

* .

* .

* ok last set for the night

* .

* .

* .

* .

* some more

* next

* next

* all for now

* .

* some more easy ones

* some more easy ones

* .

* .

* some more bolds

* oups auto complete moment

* add the remaining spans

* this as well

* this as well

* .

* .,

* resync them properly
2024-10-16 23:37:27 +02:00
Kashargul a2c673ab7a refactors most spans 2024-10-02 21:10:31 +02:00
Kashargul e0d694e8ac rid of old span macros 2024-10-01 23:51:48 +02:00
Guti 409aaba802 Remove 2024-09-09 02:36:53 +02:00
Kashargul 2f19f66cc5 default tgui alert input handling (#16241)
* default handling

* do not push that

* fix

* .

* .
2024-09-02 04:27:26 +10:00
Heroman3003 c7b6c3e42b Revert "Revert "Garbage collection, asset delivery, icon2html revolution, and…" (#15816)
This reverts commit f6d0f62622.
2024-04-22 06:29:01 +10:00
Heroman3003 f6d0f62622 Revert "Garbage collection, asset delivery, icon2html revolution, and general…" (#15815)
This reverts commit cc05d51b69.
2024-03-10 20:01:05 +10:00
Cadyn cc05d51b69 Garbage collection, asset delivery, icon2html revolution, and general fixes (515) (#15739)
* Making it compileable

* Adds Tracy & Fixed missing compat in sorting code

* CI workflow using "Stable" beta version

* Tracy define

* Fixes

* Update GC from TGStation

* fixes

* Appease linter

* begone custom_items.txt

* Making it compileable

* Adds Tracy & Fixed missing compat in sorting code

* CI workflow using "Stable" beta version

* Tracy define

* Fixes

* Build dependencies at 514

* Asset delivery/GC/515 megapatch

* fix runtime

* Appease integration tests

* More runtime fixes

* Attempting to resolve runtime

* Update spacemanDMM

* icon2html revolution

* icon2html part 2

* fixes

* Attempt to appease linter

* More fixes

* Final fixes (hopefully)

* operator keyword moment

* minor fixes and additions

* undo extra tgui files

* switch to QDEL_IN_STOPPABLE where necessary

* Pain

* GPS runtime

* dropped(null) fix, + chompedit the fixes just incase.

* Fix chat tags

* Update _build_dependencies.sh

* runtime in orebag, duplicate in computer/ship/proc/look, runtime in zoom

* tweak zoom change

* another registersignal override runtime

* 1

* Revert "1"

This reverts commit 43f619ca6c216c2bc41b8f7a346069f99591261b.

* various qdel ref fixes

* newplayer and observer harddels

* disposalholder logging remove, gargoyle hard del + typo

* retouch atom/movable destroy to be TG-like

* potential edge case ref in manualfollow

* extra following potential ref

* global list refs tweak, new_player undo a thing

* /mob/new_player qdel fixes

* undo some things

* revert atoms/movable/destroy

* revert mind and new_player panel changes

* atoms and atom/movable reversions

* bring back datum/mind and panel fixes

* projectile optimisation

* Reverts useless edits, clothing hood runtime, projectile runtime

I tried a lot of things which do not help, and i reverted a lot of it here.

* a few more reversions of useless changes

* Begin getting rid of CHOMPedit comments

* Nuke remaining chompedit comments

* Revert "undo extra tgui files"

This reverts commit f3bdcde8cb.

* fixing oops

* line ending shenanigans

* More GC cleanup

* Optimisations to test/trace projectile, turrets. Tweaks.

Turrets now only trace when they are absolutely sure they want to shoot. disposalholder, effect master and artefact qdel refs changes.

* bad usage of the check_trajectory proc

check_trajectory returns a list of objects hit along it's path to it's target, not a boolean of the target being hittable. a couple places in code assume this, so here they are fixed.

* puts legacy globals into GLOB datum for debug use

* fix upport oopsie

* fix

* Move recursive listening to component

* Minor fixes and cleanup

* undo my temp solution

* tweaks + a missed thing

* recursive_move sanity checks and safety cases

* Catch null initialisation cases + fix borg creation

VV edit spawns the object in nullspace then directly sets it's loc, which means the movement is unregistered. The spawn(0) delay should hopefully mean that setup_parents happens AFTER any unregistered movement.

* circular inventory check, make checks better

* better handling of safety reset cases

* Add logging to safety checks

---------

Co-authored-by: Selis <selis@xynolabs.com>
Co-authored-by: Selis <sirlionfur@hotmail.de>
Co-authored-by: Raeschen <rycoop29@gmail.com>
2024-03-10 09:39:33 +10:00
Kashargul e4b62dfa35 remove static chat colour tags 2024-01-21 12:34:53 +01:00
Runa Dacino 1200d83cc1 fix/tweak(climbing): fixes natural climber and messages
While reworking things, I originally had climber, natural as a subtype of climber, amateur. with only the cost and desc changed. While I remembered to add the rest necessary, I forgot the var_changes and I did not think to test this beyond "does this show up in setup"

Furthermore, changes custom_emote to visible message for more elegant notifications
2023-06-26 14:13:22 +02:00
Runa Dacino d1f8bdf851 feature(tweak): Modifies Climbing Implementation based on feedback
- Traits reorganized
  - No more 0 pt trait for non-custom species, UNLESS: you are a xenochimera
  - Non-custom, non-xenochim must spend 1 point to be able to climb (climber, amateur) in vein of soft fall
  - Custom/Xenochim can take (climber, natural) for 0 pts in vein of winged flight
  - All species may take (climber, master) for 2 pts to halve their climbing speed
- Adjusted Tajara to be as fast as Vassilians to.
- Implemented Nutrition logic in inspiration of winged flight
  - Climbing up costs twice as much nutrition as climbing down (50 vs 25)
  - Climbing while hungry (less than 200 nutrition) introduces a delay of 1 second
  - Climbing while starving (less than 100 nutrition) introduces 30% fall chance (does not override if higher)
  - Cannot climb if nutrition is lower than 50 for up, 25 if down.
2023-06-21 14:04:06 +02:00
Runa Dacino 11e325cd6f Adds new verb: Climb down wall to IC tab of all mob/living
* Same logic as climbing up for fall chance
* Additional fall chance if trying to climb down a unclimbable wall: min 75%
* Works by checking the turf 1 step in front of the mob if empty,
and places them under that turf if it is possible
* Climbing times are same as climbing up
* Grace period somewhat shorter
* Also added tweaks to logic of climbing up to avoid pointless checks
* Also tweaked the traits (expanded tutorial for climbing down, proper trait exclusion)
2023-06-08 13:23:25 +02:00
Runa Dacino 83f7e90b8e Implements Wall Climbing
* Adds new turf/simulated proc: climb_wall
* * Anyone can attempt this by standing next to wall
* * Untrained have chance to fall
* * Trained dont fall unless interrupted
* * Speed varies wildly depending on gear & skills
* * * Takes lowest climb_delay, multiplies 5 by it
* * * Depending on tresholds, may add 10/5 seconds on top (>1.25, >1.0)
* * Gear can enable even rookies to climb. Simplemobs cant use gear
* * Except scugs. They can specifically use their spears to climb, leaving it behind
* Adds new turf/simulated var: climbable
* * solidrock, /mineral/cave have climbable set to true
* Adds new turf/simulated logic for init, examine() and a yet-unused proc
* * proc toggle_climbability allows turning walls climbable. Useful for GMs!
* * Could also later implement a tool to turn walls climbable when used using it.
* Adds new mob/living vars, can_climb and climbing_delay
* * These are for handling silicons and simple mobs
* Adds new species vars, can_climb and climbing_delay
* * These are for human mobs
* climbing_delay defaults to 1.5
* * Tajara have it at 1.25
* * Vassalian have it at 1
* * Scugs got it at 2.0, reduced to 0.75 when using spear
* New traits: climber; climber, professional; climber, master
* * Cost 0, 1, 2 pts as positive trait respectively
* * Enable safe climbing, reduce delay to 1.25, 1.0 respectively
* moves rock_climber from shoes to items define
* Adds new item var, climbing_delay set at 1
2023-06-08 00:44:27 +02:00
Heroman 0a6b24170d Also fixes an old code typo with prey/pred. How long was that there? 2022-06-26 07:54:31 +10:00
Heroman 12f4377b53 Small dropnom fix 2022-06-26 07:51:05 +10:00
FartMaster69420 b3da886943 Adding Prefs
Adds prefs, changes knocking people over to only trigger on lightweight trait havers, and lets the biggest of guts give a big bounce.
2022-04-15 21:20:05 -04:00
Heroman c78cd5eb17 Adds Soft Falling positive trait 2021-11-04 14:44:10 +10:00
Heroman d2e5b98303 Also adjusts weakens 2021-11-03 06:54:21 +10:00
Heroman 9db5968f3e Adjustments to mob falling mechanics 2021-11-03 06:47:55 +10:00
Aronai Sieyes 831d5dc452 Supposed to be NO MORE SHADOWS 2021-07-29 23:44:15 -04:00
Aronai Sieyes 27b9451181 VS: Kwargs fixes 2021-05-27 12:10:22 -04:00
Novacat f4e98e84d3 Update movement_vr.dm 2021-05-16 14:11:34 -04:00
Verkister b5222d656b Update movement_vr.dm 2021-05-16 19:14:12 +03:00
Verkister c508d25d59 Fixes ghosts breaking dropnoms
yeah
2021-05-16 15:25:34 +03:00
Aronai Sieyes 09074eaabb Alter playsound paradigm 2020-05-18 23:42:15 -04:00
Heroman f6586554b1 Fixes moving items downstairs, virgo edition 2019-04-15 04:19:09 +10:00
Heroman3003 be17090547 (SQ-Merge) Possible fix for drop-nomming (#3331)
* possible drop-nomming fix

* no longer 100% fall cushion on non-aligning prefs

* fixed some checks
2018-03-25 15:32:12 -04:00
Cyantime c2bfa94789 You can no longer fall onto and hit ghosts. 2017-11-28 15:40:48 -05:00
killer653 afa7b21dc9 Fixes permastuns. Prevents doubledamage 2017-11-18 10:37:58 -05:00
killer653 3e2cf7c9b7 Makes stairs function as before
Video: https://i.imgur.com/EvqCQux.gifv
2017-11-12 01:15:33 -05:00
killer653 b1ce51c2b3 Adds in Drop Noms
Information to include in PR
Panel: https://i.imgur.com/Ru0Mb2w.png
Pred falling onto prey: https://i.imgur.com/Y28TaJn.gifv
Prey falling onto pred: https://i.imgur.com/DzZlQbr.gifv
Person falling onto person w/ unaligned prefs:
https://i.imgur.com/DzZlQbr.gifv
Pred falling onto prey does anywhere from 0 to 30 damage to the pred
Prey falling into pred does 0 damage to both.
Unaligned causes the faller to suffer damage & a stun, person being
fallen on gets stunned
Dropping onto someone w/ dropnom: https://i.imgur.com/PywIfAI.png
Dropping onto someone w/ dropnom: https://i.imgur.com/H7o5g9f.png
2017-11-12 00:32:54 -05:00
Cameron Lennox 4f289c84c6 Agh 2017-11-11 19:24:59 -05:00
Cameron Lennox c9ee48b78f WIP 2017-11-11 19:24:35 -05:00