Commit Graph

11 Commits

Author SHA1 Message Date
SkyratBot
d79a997673 [MIRROR] Traits given by Elements now have element trait as their source. [MDB IGNORE] (#9110)
* Traits given by Elements now have element trait as their source. (#62134)

Hopefully the code is more organized and consistent this way.

* Traits given by Elements now have element trait as their source.

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2021-10-28 18:23:44 -04:00
SkyratBot
5ad507f0bc [MIRROR] railings can now be vaulted/climbed over from both sides. (#7441)
* railings can now be vaulted/climbed over from both sides. (#60110)

Quality of life; it spares us from having to walk all the way around or destroy them with either a wirecutter (faster) or any impromptu weapon (slower, as they currently have 300 maximum integrity, despite taking only three iron rods - one more than grilles - to make) in certain occasions, and it's already a thing on other codebases that have railing objects.

* railings can now be vaulted/climbed over from both sides.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-08-06 23:25:11 +01:00
SkyratBot
6be1440ec1 [MIRROR] Jaunting no longer allows you to end up inside a wall (#6573)
* Jaunting no longer allows you to end up inside a wall (#59520)

Jaunting now keeps track of the last five non-blocked tiles you moved across while in the jaunt. Upon exit, it will attempt to deposit you into the last unblocked tile. Should it run out of tiles to try, you will be returned to your starting location. As such, jaunting mobs can no longer end up inside walls or dense objects. Tables, and anything else with the climbable element, are still allowed.

Added support to /turf/proc/is_blocked_turf() to allow ignoring climbable atoms.

Added the TRAIT_CLIMBABLE trait, applied by the climbable element, to accomplish the above.

* Jaunting no longer allows you to end up inside a wall

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
2021-06-29 16:45:30 +01:00
Useroth
873144d8ef Adds a setter for density (#59529) (#6437)
Adds set_density()
Fixes one instance of a duplicate density assignment on an object.
Comments two hacky usages of density which will have to forgo using the setter for now.

Lets us append code to the event of density changing.
Pretty sure this is leading up to some multitile object thing -Lemon

Co-authored-by: Rohesie <rohesie@gmail.com>
2021-06-22 01:24:59 +01:00
SkyratBot
7d1d0e1fad [MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs

* AA

* a

* AAAAAAAAAAAAAAAAAAAAAA

* Update species.dm

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-06-16 00:24:49 +01:00
SkyratBot
b178b1c0b1 [MIRROR] Teensy tiny improvements for freerunning (#4916)
* Teensy tiny improvements for freerunning (#58187)

Since climb_time is multiplied by 0.8, climb_stun should also be. Not much point in taking it if whoever is chasing you can still arrive with you stunned on the table and simply pull you off it. If this is too much taken off in total, in my opinion, the stun time should be adjusted, rather than the climb time.
Also reduces the ZImpactDamage knockdown multiplier. Right now both with freerunning and without you get knocked down the same amount, now with it you're actually better at catching yourself on those z level falls and so suffer less of a knockdown.

* Teensy tiny improvements for freerunning

Co-authored-by: Seris02 <49109742+Seris02@users.noreply.github.com>
2021-04-15 16:21:56 +01:00
SkyratBot
f5478b7dce [MIRROR] Allows the connect_loc element to have a listener different from the tracked object (#4818)
* Allows the connect_loc element to have a listener different from the tracked object (#58276)

* Allows the connect_loc element to have a listener different from the tracked object

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
2021-04-11 03:51:14 +01:00
SkyratBot
3b85cf1430 [MIRROR] Addiction rework (#3445)
* Addiction rework

* a

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-17 14:26:44 +00:00
SkyratBot
085716f609 [MIRROR] Adds a punctuation and removes an egregious blind message in climbable element (#3209)
* Adds a punctuation and removes an egregious blind message in climbable element (#56744)

Adds a punctuation on the examine message for climbable things

Removes a really bad blind message

* Adds a punctuation and removes an egregious blind message in climbable element

Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
2021-02-08 23:48:19 +00:00
SkyratBot
7f9a09f403 [MIRROR] Fixes a runtime in crate code due to the climbable element (#3013)
* Fixes up the crate climbing element being incorrectly removed when opened (#56518)

* Fixes a runtime in crate code due to the climbable element

Co-authored-by: necromanceranne <40847847+necromanceranne@users.noreply.github.com>
2021-02-01 22:42:47 +00:00
SkyratBot
38ac7c5e4d [MIRROR] refactors climbing into an element (#2865)
* refactors climbing into an element (#55978)

Co-authored-by: Fikou <piotrbryla@ onet.pl>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Jared-Fogle@ users.noreply.github.com>

* refactors climbing into an element

* Update trash_pile.dm

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Fikou <piotrbryla@ onet.pl>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Jared-Fogle@ users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-01-25 16:19:02 +00:00