Magicka wells don't provide blessing

Report any errors in the SHotN public files here
Post Reply
User avatar
Texafornian
PT Modder
Posts: 22
Joined: Thu Sep 15, 2016 9:16 pm

Magicka wells don't provide blessing

Post by Texafornian » Mon May 22, 2017 6:45 pm

The magicka wells (Sky_iRe_DH_scampmesa07_mwell) currently let you know if you don't have enough gold for a donation, but they don't do anything if you do have the required amount.

Suggested fixes:
- The spell "Sky_iRe_DH_scampmesa07_bless" has to be changed from Self to Touch.
- One of the new scripts below:

Script Option #1: Keep the donation requirement

Code: Select all

begin Sky_iRe_DH_scampmesa07_shrine

short button
short State

if ( MenuMode )
	return
endif

if ( OnActivate )
	if ( Player->GetItemCount Gold_001 < 35 )
		MessageBox "You do not have enough gold to make a donation." "OK"
		return
	elseif ( Player->GetItemCount Gold_001 >= 35 )
		MessageBox "Would you like to make a donation of 35 and receive a blessing?" "Yes" "No"
		set State to 10
	endif
endif

if ( State == 10 )
	set button to GetButtonPressed
	if ( button == -1 )
		return
	endif
	if ( button == 0 )
		Cast "Sky_iRe_DH_scampmesa07_bless" Player
		Player->RemoveItem Gold_001 35
	endif
	set State to 0
endif

end
Script Option #2: No donation requirement, but limit the well to being used only once a day

Code: Select all

begin Sky_iRe_DH_scampmesa07_shrine

short button
short State
short currentDay

if ( MenuMode )
	return
endif

if ( OnActivate )
	if ( currentDay == Day )
		MessageBox "The well needs to replenish before it can be used again."
		return
	elseif ( currentDay != Day )
		MessageBox "Would you like to tap into the well?" "Yes" "No"
		set State to 10
	endif
endif

if ( State == 10 )
	set button to GetButtonPressed
	if ( button == -1 )
		return
	endif
	if ( button == 0 )
		Cast "Sky_iRe_DH_scampmesa07_bless" Player
		set currentDay to Day
		set State to 0
	endif
endif

end
Quest Developer | PT, TR
CharGen Revamped: Expanded Lands | Alternate starts in PC, SHOTN, TR, and Solstheim

Post Reply

Return to “SHotN Playtesting & Error Reporting”

Who is online

Users browsing this forum: No registered users and 1 guest