mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +01:00
resize limits and designer / dna update (#16807)
* resize limits and designer / dna update * . * genes to mobs * . * Update designer.dm * Update designer.dm * species cleanup
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
/* Species-specific sprites, concept stolen from Paradise//vg/.
|
||||
ex:
|
||||
sprite_sheets = list(
|
||||
SPECIES_TAJ = 'icons/cat/are/bad'
|
||||
SPECIES_TAJARAN = 'icons/cat/are/bad'
|
||||
)
|
||||
If index term exists and icon_override is not set, this sprite sheet will be used.
|
||||
*/
|
||||
|
||||
@@ -76,4 +76,4 @@
|
||||
/obj/item/modkit/tajaran
|
||||
name = "tajaran hardsuit modification kit"
|
||||
desc = "A kit containing all the needed tools and parts to modify a hardsuit for another user. This one looks like it's meant for Tajaran."
|
||||
target_species = SPECIES_TAJ
|
||||
target_species = SPECIES_TAJARAN
|
||||
|
||||
@@ -96,14 +96,14 @@
|
||||
active = !active
|
||||
if(active)
|
||||
if(findtext(msg,"grow"))
|
||||
H.resize(min(H.size_multiplier*1.5, 2))
|
||||
H.resize(min(H.size_multiplier*1.5, RESIZE_MAXIMUM))
|
||||
else if(findtext(msg,"shrink"))
|
||||
H.resize(max(H.size_multiplier*0.5, 0.25))
|
||||
H.resize(max(H.size_multiplier*0.5, RESIZE_MINIMUM))
|
||||
else if(findtext(msg, "resize"))
|
||||
var/static/regex/size_mult = new/regex("\\d+")
|
||||
if(size_mult.Find(msg))
|
||||
var/resizing_value = text2num(size_mult.match)
|
||||
H.resize(CLAMP(resizing_value/100 , 0.25, 2))
|
||||
H.resize(CLAMP(resizing_value/100 , RESIZE_MINIMUM, RESIZE_MAXIMUM))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user