TRAIT_TABLE_LEAP Checks Added To under_siege Judo (#23905)

* Create reagent vomicilin

* Update vomicilin

* Update code/modules/reagents/chemistry/reagents/medicine.dm

Updating as suggested.

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Revert vomicilin

* Revert vomicilin

* Revert vomicilin

* Add the ability to create droppers from glass

* Add TRAIT_TABLE_LEAP checks to under_siege judo

* Finalize requested changes

* Update code/__HELPERS/trait_helpers.dm

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Varelion
2024-01-30 14:44:25 +00:00
committed by GitHub
co-authored by DGamerL
parent ee762cb06c
commit 769d07dbf2
4 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -77,7 +77,7 @@
if(!isturf(loc))
return FALSE
if(HAS_TRAIT(user, TRAIT_TABLE_LEAP))
if(HAS_MIND_TRAIT(user, TRAIT_TABLE_LEAP))
user.visible_message("<span class='warning'>[user] gets ready to vault up onto [src]!</span>")
if(!do_after(user, 0.5 SECONDS, target = src))
return FALSE
@@ -91,7 +91,7 @@
user.forceMove(get_turf(src))
if(get_turf(user) == get_turf(src))
if(HAS_TRAIT(user, TRAIT_TABLE_LEAP))
if(HAS_MIND_TRAIT(user, TRAIT_TABLE_LEAP))
user.visible_message("<span class='warning'>[user] leaps up onto [src]!</span>")
else
user.visible_message("<span class='warning'>[user] climbs onto [src]!</span>")