mirror of
				https://github.com/tonytins/dressupzack
				synced 2025-11-03 14:14:43 -05:00 
			
		
		
		
	The character in this dress up game is now a cat and named Nathan. This is because my original style unintentionally made him look like a cat. His name change to Nathan from Zack is because I don't want to cause confusion between people who use to know me as Zack and my first fursona.
		
			
				
	
	
		
			112 lines
		
	
	
	
		
			2.9 KiB
		
	
	
	
		
			GDScript
		
	
	
	
	
	
			
		
		
	
	
			112 lines
		
	
	
	
		
			2.9 KiB
		
	
	
	
		
			GDScript
		
	
	
	
	
	
# Anthony Wilcox licenses this file to you under the GPL license.
 | 
						|
# See the LICENSE file in the project root for more information.
 | 
						|
extends Node
 | 
						|
 | 
						|
# Default clothing
 | 
						|
onready var bottoms = load("res://assets/bottoms_placeholder.png")
 | 
						|
onready var tops = load("res://assets/tops_placeholder.png")
 | 
						|
onready var accessory = load("res://assets/tops_placeholder.png")
 | 
						|
# ZC's Dress Up was stylized to be cute, not adult.
 | 
						|
# Underwear cam be suggestive but never lewd. 
 | 
						|
onready var undies = load("res://assets/briefs.png")
 | 
						|
 | 
						|
func change_bottoms(new_bottom):
 | 
						|
	bottoms = new_bottom
 | 
						|
	
 | 
						|
	if new_bottom == null:
 | 
						|
		$Body/Bottom.texture = bottoms
 | 
						|
		
 | 
						|
	if undies == load("res://assets/owo_censor.png"):
 | 
						|
		change_undies(null)
 | 
						|
		
 | 
						|
	$Body/Bottom.texture = bottoms
 | 
						|
	
 | 
						|
func change_undies(new_undies):
 | 
						|
	undies = new_undies
 | 
						|
	$Body/Undies.texture = undies
 | 
						|
 | 
						|
func change_tops(new_top):
 | 
						|
	tops = new_top
 | 
						|
	
 | 
						|
	if new_top == null:
 | 
						|
		$Body/Top.texture = tops
 | 
						|
	
 | 
						|
	$Body/Top.texture = tops
 | 
						|
	
 | 
						|
func change_accessoires(new_accessory):
 | 
						|
	accessory = new_accessory
 | 
						|
	
 | 
						|
	if new_accessory == null:
 | 
						|
		$Body/Top.texture = accessory
 | 
						|
	
 | 
						|
	$Body/Accessory.texture = accessory
 | 
						|
 | 
						|
func _on_Remove_Shirt_pressed():
 | 
						|
	change_tops(null)
 | 
						|
 | 
						|
func _on_Remove_Pants_pressed():
 | 
						|
	change_bottoms(null)
 | 
						|
 | 
						|
func _on_Remove_Accessory_pressed():
 | 
						|
	change_accessoires(null)
 | 
						|
 | 
						|
func _on_DJ_Shorts_pressed():
 | 
						|
	change_bottoms(load("res://assets/dj_shorts.png"))
 | 
						|
 | 
						|
func _on_ZBriefs_pressed():
 | 
						|
	change_undies(load("res://assets/z_briefs.png"))
 | 
						|
 | 
						|
func _on_Briefs_pressed():
 | 
						|
	change_undies(load("res://assets/briefs.png"))
 | 
						|
 | 
						|
func _on_Jeans_pressed():
 | 
						|
	change_bottoms(load("res://assets/jeans.png"))
 | 
						|
	
 | 
						|
func _on_OwO_Censor_pressed():
 | 
						|
	change_bottoms(null)
 | 
						|
	change_undies(load("res://assets/owo_censor.png"))
 | 
						|
 | 
						|
func _on_Sweats_pressed():
 | 
						|
	change_bottoms(load("res://assets/sweat_pants.png"))
 | 
						|
 | 
						|
func _on_Sweatshirt_pressed():
 | 
						|
	change_tops(load("res://assets/old_sweatshirt.png"))
 | 
						|
 | 
						|
func _on_DJ_Shirt_pressed():
 | 
						|
	change_tops(load("res://assets/dj_shirt.png"))
 | 
						|
 | 
						|
func _on_Raw_pressed():
 | 
						|
	change_tops(load("res://assets/raw_shirt.png"))
 | 
						|
 | 
						|
func _on_Atomic_pressed():
 | 
						|
	change_tops(load("res://assets/atomic_shirt.png"))
 | 
						|
	
 | 
						|
func _on_Korm_Shirt_pressed():
 | 
						|
	change_tops(load("res://assets/korm_shirt.png"))
 | 
						|
 | 
						|
func _on_Z_Shirt_pressed():
 | 
						|
	change_tops(load("res://assets/z_shirt.png"))
 | 
						|
 | 
						|
func _on_Biker_Jacket_pressed():
 | 
						|
	change_tops(load("res://assets/biker_jacket.png"))
 | 
						|
	
 | 
						|
func _on_Train_Hoodie_pressed():
 | 
						|
	change_tops(load("res://assets/train_hoodie.png"))
 | 
						|
 | 
						|
func _on_Beat_Up_Jeans_pressed():
 | 
						|
	change_bottoms(load("res://assets/beat_up_jeans.png"))
 | 
						|
 | 
						|
func _on_NL_Jacket_pressed():
 | 
						|
	change_tops(load("res://assets/nl_jacket.png"))
 | 
						|
	
 | 
						|
func _on_Blue_Camo_Jeans_pressed():
 | 
						|
	change_bottoms(load("res://assets/blue_camo_jeans.png"))
 | 
						|
 | 
						|
func _on_Whats_New_Shirt_pressed():
 | 
						|
	change_tops(load("res://assets/whatsnew_shirt.png"))
 | 
						|
 | 
						|
func _on_Fundosi_pressed():
 | 
						|
	change_undies(load("res://assets/fundosi.png"))
 | 
						|
 | 
						|
func _on_Camera_pressed():
 | 
						|
	change_accessoires(load("res://assets/camera.png"))
 |