mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-06 06:38:56 +00:00
improves clarification on having martial arts as a non carbon (#21189)
* improves clarification on having martial arts as a non carbon * worked in testing * xenomicrobes
This commit is contained in:
@@ -269,6 +269,7 @@
|
||||
|
||||
#define isAutoAnnouncer(A) (istype((A), /mob/living/automatedannouncer))
|
||||
|
||||
#define iscameramob(A) (istype((A), /mob/camera))
|
||||
#define isAIEye(A) (istype((A), /mob/camera/aiEye))
|
||||
#define isovermind(A) (istype((A), /mob/camera/blob))
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
break
|
||||
if(isobserver(M))
|
||||
continue
|
||||
if(istype(M, /mob/living/simple_animal/bot/mulebot) || istype(M, /mob/camera))
|
||||
if(istype(M, /mob/living/simple_animal/bot/mulebot) || iscameramob(M))
|
||||
continue
|
||||
if(M.buckled || M.anchored || M.has_buckled_mobs())
|
||||
continue
|
||||
|
||||
@@ -167,10 +167,21 @@
|
||||
set desc = "Gives information about the martial arts you know."
|
||||
set category = "Martial Arts"
|
||||
var/mob/living/carbon/human/H = usr
|
||||
if(!istype(H))
|
||||
if(istype(H))
|
||||
H.mind.martial_art.give_explaination(H)
|
||||
return
|
||||
if(isobserver(H) || iscameramob(H))
|
||||
to_chat(usr, "<span class='warning'>You shouldn't have access to this verb. Report this as a bug to the github please.</span>")
|
||||
return
|
||||
H.mind.martial_art.give_explaination(H)
|
||||
if(isanimal(H))
|
||||
to_chat(usr, "<span class='notice'>Your beastial form isn't compatible with any martial arts you know.</span>")
|
||||
return
|
||||
if(issilicon(H))
|
||||
to_chat(usr, "<span class='notice'>Your malformed steel body can barely perform basic tasks, let alone complex martial arts.</span>")
|
||||
return
|
||||
if(isalien(H))
|
||||
to_chat(usr, "<span class='notice'>The hivemind's fighting style has been blessed upon you, you have no need for this useless style.</span>")
|
||||
return
|
||||
|
||||
/datum/martial_art/proc/give_explaination(user = usr)
|
||||
explaination_header(user)
|
||||
|
||||
Reference in New Issue
Block a user