mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
Remove remaining arbitrary restrictions on has_fine_manip
This commit removes all (most) of the remaining code limiting xenomorphs that have has_fine_manipulation on an entirely arbitrary basis. Xenomorphs with has_fine_manipulation may now interact with NanoUI, and will only break computers on non-help intent. The can also tear down walls, since walls used an ishuman check in place of an isAdvancedToolUser check as they should have. Minor refactor to machinery.dm as well; Instead of the slightly (completely) insane attack_hand restriction to humans and silicons (it was a multi-line IF, why), it now checks user.IsAdvancedToolUser(); This means restrictions on monkies will actually function properly now.
This commit is contained in:
@@ -102,3 +102,10 @@
|
||||
. = min(., shared_living_nano_distance(src_object))
|
||||
if(. == STATUS_UPDATE && (TK in mutations)) // If we have telekinesis and remain close enough, allow interaction.
|
||||
return STATUS_INTERACTIVE
|
||||
|
||||
/mob/living/carbon/alien/default_can_use_topic(var/src_object)
|
||||
. = shared_nano_interaction(src_object)
|
||||
if(. != STATUS_CLOSE)
|
||||
. = min(., shared_living_nano_distance(src_object))
|
||||
if(!IsAdvancedToolUser())
|
||||
. = STATUS_UPDATE
|
||||
Reference in New Issue
Block a user