mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-05 21:34:49 -04:00
- Due to resize issues with the grid container, TextureButton is now the root for all wardrobe items - Brought back underwear, with the exception of the owo censor (for now) - Remove clothing buttons are tied to wardrobe - Game scene now properly references the wardrobe again
14 lines
456 B
GDScript
14 lines
456 B
GDScript
# Anthony Wilcox licenses this file to you under the MPL license.
|
|
# See the LICENSE file in the project root for more information.
|
|
extends Node2D
|
|
|
|
onready var character = preload("res://resources/character.tres")
|
|
onready var accessory = $Accessory
|
|
onready var underwear = $Undies
|
|
|
|
func _process(delta):
|
|
if character.accessory != null:
|
|
accessory.texture = character.accessory
|
|
|
|
if character.underwear != null:
|
|
underwear.texture = character.underwear
|