mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Adds sscooters and skateboards [serious pr do not close after AFD] (#24934)
* WORLD WIDE NOISE * Makes it pass CI, tweaks values, glass table hoverboard, and railing grinding * grind on pipes * https://youtu.be/cTiM1MJ1o7c?feature=shared * https://youtu.be/Jc6CHI9f6cM?feature=shared * temporary change for icon conflicts (hopefully) * Apply suggestions from code review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * The rest of the fun loving owl * missed this one * Apply suggestions from code review Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * changes * Apply suggestions from code review Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * Update code/modules/vehicle/tg_vehicles/tg_vehicles.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * I love stealth conflicts! * purge lines * Apply suggestions from code review Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> * Update tg_vehicles.dm * works works works * Update code/modules/vehicle/tg_vehicles/tg_vehicles.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> --------- Signed-off-by: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com> Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,13 @@
|
||||
/mob/proc/is_holding(obj/item/I)
|
||||
return istype(I) && (I == r_hand || I == l_hand)
|
||||
|
||||
//Checks if we're holding an item of type: typepath
|
||||
/mob/proc/is_holding_item_of_type(typepath)
|
||||
. = FALSE
|
||||
if(istype(l_hand, typepath))
|
||||
return l_hand
|
||||
if(istype(r_hand, typepath))
|
||||
return r_hand
|
||||
|
||||
//Returns the thing in our inactive hand
|
||||
/mob/proc/get_inactive_hand()
|
||||
|
||||
@@ -1000,6 +1000,8 @@
|
||||
return FALSE
|
||||
if(incapacitated())
|
||||
return
|
||||
if(SEND_SIGNAL(src, COMSIG_LIVING_TRY_PULL, AM, force) & COMSIG_LIVING_CANCEL_PULL)
|
||||
return FALSE
|
||||
// If we're pulling something then drop what we're currently pulling and pull this instead.
|
||||
AM.add_fingerprint(src)
|
||||
if(pulling)
|
||||
|
||||
@@ -1403,4 +1403,7 @@ GLOBAL_LIST_INIT(holy_areas, typecacheof(list(
|
||||
|
||||
target.mind.kudos_received_from |= ckey
|
||||
|
||||
|
||||
/mob/living/simple_animal/relaymove(mob/living/user, direction)
|
||||
if(user.incapacitated())
|
||||
return
|
||||
return relaydrive(user, direction)
|
||||
|
||||
@@ -513,3 +513,4 @@
|
||||
hud_used.move_intent.icon_state = icon_toggle
|
||||
for(var/atom/movable/screen/mov_intent/selector in hud_used.static_inventory)
|
||||
selector.update_icon()
|
||||
SEND_SIGNAL(src, COMSIG_MOVE_INTENT_TOGGLED)
|
||||
|
||||
Reference in New Issue
Block a user