Ricordi
Member
- Jun 3, 2021
 
- 145
 
- 436
 
- 186
 
Ruby experts, please advise on how to modify a corresponding JSON file  (specifically 400_WoundMThigh.json) using a script 
	
	
		
	
	
 to update its parameters. The goal is to replace the wound sprites "pose1_subposeX_WoundMThighX.png" on Lona's leg during the final stage of pregnancy with "pose1_subposeX_WoundMThighXpreg8.png" without overlaying them. This would help eliminate the "artifacts" shown in the following image:
	
		
			
		
		
	
	
		
			
		
		
	
Currently, when I place this script in the 'Modscripts' folder and launch the game, I encounter the following error:
	
		
			
		
		
	
	
		
			
		
		
	
Apparently, I have written this script incorrectly or there is another issue. Can you please advise if there is a way to implement a script that accomplishes what I have described?
Below, I have attached the folder containing the files I used. ↓↓↓
	
		
			
		
		
	
								You don't have permission to view the spoiler content. 
		
			Log in or register now.
		
	
		Currently, when I place this script in the 'Modscripts' folder and launch the game, I encounter the following error:
Apparently, I have written this script incorrectly or there is another issue. Can you please advise if there is a way to implement a script that accomplishes what I have described?
Below, I have attached the folder containing the files I used. ↓↓↓