Merge pull request #4252 from RKF45/ears

Tiny objects on ears
This commit is contained in:
Mloc
2014-01-10 13:47:10 -08:00
3 changed files with 8 additions and 4 deletions

View File

@@ -316,6 +316,8 @@
return 0
if( (slot_flags & SLOT_TWOEARS) && H.r_ear )
return 0
if( w_class < 2 )
return 1
return 1
if(slot_r_ear)
if(H.r_ear)
@@ -324,6 +326,8 @@
return 0
if( (slot_flags & SLOT_TWOEARS) && H.l_ear )
return 0
if( w_class < 2 )
return 1
return 1
if(slot_w_uniform)
if(H.w_uniform)
@@ -349,7 +353,7 @@
H << "\red You need a jumpsuit before you can attach this [name]."
return 0
if(slot_flags & SLOT_DENYPOCKET)
return
return 0
if( w_class <= 2 || (slot_flags & SLOT_POCKET) )
return 1
if(slot_r_store)

View File

@@ -28,7 +28,7 @@
return ..()
//Ears: currently only used for headsets and earmuffs
//Ears: headsets, earmuffs and tiny objects
/obj/item/clothing/ears
name = "ears"
w_class = 1.0

View File

@@ -344,7 +344,7 @@ var/list/slot_equipment_priority = list( \
usr << "\blue <B>You must be dead to use this!</B>"
return
if (ticker.mode.name == "meteor" || ticker.mode.name == "epidemic") //BS12 EDIT
usr << "\blue Respawn is disabled."
usr << "\blue Respawn is disabled for this roundtype."
return
else
var/deathtime = world.time - src.timeofdeath
@@ -362,7 +362,7 @@ var/list/slot_equipment_priority = list( \
pluralcheck = " [deathtimeminutes] minutes and"
var/deathtimeseconds = round((deathtime - deathtimeminutes * 600) / 10,1)
usr << "You have been dead for[pluralcheck] [deathtimeseconds] seconds."
if (deathtime < 18000)
usr << "You must wait 30 minutes to respawn!"
return