mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
No longer is possible to open several teleportation windows.
Adding and removing access now works for airlock electronics. No slowdown from anything while in space. Custom hairstyles probabilities for random look generator. No longer is possible to add anything except beaker into the grenade assembly. Bucket no longer fits into a pocket. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@679 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -121,16 +121,18 @@
|
||||
|
||||
if(src.reagents.has_reagent("hyperzine")) return -1
|
||||
|
||||
if (istype(src.loc, /turf/space)) return -1 // It's hard to be slowed down in space by... anything
|
||||
|
||||
var/health_deficiency = (100 - src.health)
|
||||
if(health_deficiency >= 40) tally += (health_deficiency / 25)
|
||||
|
||||
var/hungry = (500 - src.nutrition)/5 // So overeat would be 100 and default level would be 80
|
||||
if (hungry >= 70) tally += hungry/50
|
||||
|
||||
if(src.wear_suit && !istype(src.loc, /turf/space))
|
||||
if(src.wear_suit)
|
||||
tally += src.wear_suit.slowdown
|
||||
|
||||
if (istype(src.shoes, /obj/item/clothing/shoes))
|
||||
if(src.shoes)
|
||||
tally += src.shoes.slowdown
|
||||
|
||||
if(src.mutations & 32)
|
||||
|
||||
@@ -644,7 +644,11 @@ datum/preferences
|
||||
if (link_tags["h_style"])
|
||||
switch(link_tags["h_style"])
|
||||
if ("random")
|
||||
src.h_style = pick ("Cut Hair", "Short Hair", "Long Hair", "Mohawk", "Balding", "Fag", "Bedhead", "Dreadlocks", "Bald")
|
||||
if (src.gender == FEMALE)
|
||||
src.h_style = pickweight ( list ("Cut Hair" = 5, "Short Hair" = 5, "Long Hair" = 5, "Mohawk" = 5, "Balding" = 1, "Fag" = 5, "Bedhead" = 5, "Dreadlocks" = 5, "Bald" = 5))
|
||||
else
|
||||
src.h_style = pickweight ( list ("Cut Hair" = 5, "Short Hair" = 5, "Long Hair" = 5, "Mohawk" = 5, "Balding" = 5, "Fag" = 5, "Bedhead" = 5, "Dreadlocks" = 5, "Bald" = 5))
|
||||
|
||||
if("input")
|
||||
var/new_style = input(user, "Please select hair style", "Character Generation") as null|anything in list( "Cut Hair", "Short Hair", "Long Hair", "Mohawk", "Balding", "Fag", "Bedhead", "Dreadlocks", "Bald" )
|
||||
if (new_style)
|
||||
|
||||
Reference in New Issue
Block a user