mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Double hats UI (except dyes)
This commit is contained in:
@@ -206,7 +206,6 @@ class Player < Trainer
|
|||||||
refreshPlayerOutfit()
|
refreshPlayerOutfit()
|
||||||
end
|
end
|
||||||
|
|
||||||
#todo change to set_hat_color(value,is_secondary)
|
|
||||||
def set_hat_color(value, is_secondary=false)
|
def set_hat_color(value, is_secondary=false)
|
||||||
if is_secondary
|
if is_secondary
|
||||||
@hat2_color=value
|
@hat2_color=value
|
||||||
@@ -218,6 +217,8 @@ class Player < Trainer
|
|||||||
$Trainer.dyed_hats[worn_hat] = value if value
|
$Trainer.dyed_hats[worn_hat] = value if value
|
||||||
refreshPlayerOutfit()
|
refreshPlayerOutfit()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def hat_color=(value)
|
def hat_color=(value)
|
||||||
@hat_color=value
|
@hat_color=value
|
||||||
$Trainer.dyed_hats= {} if !$Trainer.dyed_hats
|
$Trainer.dyed_hats= {} if !$Trainer.dyed_hats
|
||||||
|
|||||||
Reference in New Issue
Block a user