mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-06 05:44:48 -04:00
- Renamed "[name]_placeholder" sprites to "bank_[name]" - Remove pants and shirt functions - Created bases for bottoms and tops - Brought back most, if not all, pants and skirts
14 lines
432 B
GDScript
14 lines
432 B
GDScript
extends TabContainer
|
|
|
|
onready var character = preload("res://resources/character.tres")
|
|
onready var blank_top = preload("res://sprites/clothes/blank_top.png")
|
|
onready var blank_bottom = preload("res://sprites/clothes/blank_bottom.png")
|
|
|
|
func _on_removeAccessory_pressed():
|
|
character.accessory = blank_top
|
|
|
|
func _on_removePants_pressed():
|
|
character.bottom = blank_bottom
|
|
|
|
func _on_removeShirt_pressed():
|
|
character.top = blank_top
|