mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Tail Wagging System
This commit is contained in:
@@ -82,6 +82,23 @@
|
||||
if (!species.name == "Machine")
|
||||
return
|
||||
|
||||
if("wag")
|
||||
if(species.bodyflags & TAIL_WAGGING)
|
||||
if(!wear_suit || !(wear_suit.flags_inv & HIDETAIL) && !istype(wear_suit, /obj/item/clothing/suit/space))
|
||||
message = "<B>[src]</B> starts wagging \his tail."
|
||||
src.start_tail_wagging(1)
|
||||
else
|
||||
return
|
||||
else
|
||||
return
|
||||
|
||||
if("swag")
|
||||
if(species.bodyflags & TAIL_WAGGING)
|
||||
message = "<B>[src]</B> stops wagging \his tail."
|
||||
src.stop_tail_wagging(1)
|
||||
else
|
||||
return
|
||||
|
||||
if ("airguitar")
|
||||
if (!src.restrained())
|
||||
message = "<B>[src]</B> is strumming the air and headbanging like a safari chimp."
|
||||
|
||||
@@ -999,6 +999,30 @@ proc/get_damage_icon_part(damage_state, body_part)
|
||||
update_icons()
|
||||
|
||||
|
||||
/mob/living/carbon/human/proc/start_tail_wagging(var/update_icons=1)
|
||||
overlays_standing[TAIL_LAYER] = null
|
||||
|
||||
if(species.tail && species.bodyflags & HAS_TAIL)
|
||||
var/icon/tailw_s = new/icon("icon" = 'icons/effects/species.dmi', "icon_state" = "[species.tail]w_s")
|
||||
tailw_s.Blend(rgb(r_skin, g_skin, b_skin), ICON_ADD)
|
||||
|
||||
overlays_standing[TAIL_LAYER] = image(tailw_s)
|
||||
|
||||
if(update_icons)
|
||||
update_icons()
|
||||
|
||||
/mob/living/carbon/human/proc/stop_tail_wagging(var/update_icons=1)
|
||||
overlays_standing[TAIL_LAYER] = null
|
||||
|
||||
if(species.tail && species.bodyflags & HAS_TAIL)
|
||||
var/icon/tail_s = new/icon("icon" = 'icons/effects/species.dmi', "icon_state" = "[species.tail]_s")
|
||||
tail_s.Blend(rgb(r_skin, g_skin, b_skin), ICON_ADD)
|
||||
|
||||
overlays_standing[TAIL_LAYER] = image(tail_s)
|
||||
|
||||
if(update_icons)
|
||||
update_icons()
|
||||
|
||||
//Adds a collar overlay above the helmet layer if the suit has one
|
||||
// Suit needs an identically named sprite in icons/mob/collar.dmi
|
||||
/mob/living/carbon/human/proc/update_collar(var/update_icons=1)
|
||||
|
||||
@@ -321,7 +321,7 @@
|
||||
primitive = /mob/living/carbon/monkey/tajara
|
||||
|
||||
flags = HAS_LIPS | HAS_UNDERWEAR | CAN_BE_FAT
|
||||
bodyflags = FEET_PADDED | HAS_TAIL | HAS_SKIN_COLOR
|
||||
bodyflags = FEET_PADDED | HAS_TAIL | HAS_SKIN_COLOR | TAIL_WAGGING
|
||||
|
||||
flesh_color = "#AFA59E"
|
||||
base_color = "#333333"
|
||||
|
||||
+3
-2
@@ -735,7 +735,7 @@ var/list/TAGGERLOCATIONS = list("Disposals",
|
||||
#define BE_CULTIST 256
|
||||
#define BE_NINJA 512
|
||||
#define BE_RAIDER 1024
|
||||
#define BE_VAMPIRE 2048
|
||||
#define BE_VAMPIRE 2048
|
||||
#define BE_MUTINEER 4096
|
||||
#define BE_BLOB 8192
|
||||
|
||||
@@ -807,7 +807,7 @@ var/list/restricted_camera_networks = list( //Those networks can only be accesse
|
||||
"NukeOps",
|
||||
"Thunderdome",
|
||||
"UO45",
|
||||
"UO45R",
|
||||
"UO45R",
|
||||
"Xeno"
|
||||
)
|
||||
|
||||
@@ -840,6 +840,7 @@ var/list/restricted_camera_networks = list( //Those networks can only be accesse
|
||||
#define HAS_TAIL 8
|
||||
#define HAS_SKIN_TONE 16
|
||||
#define HAS_SKIN_COLOR 32
|
||||
#define TAIL_WAGGING 64
|
||||
|
||||
|
||||
//Language flags.
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 21 KiB |
Reference in New Issue
Block a user